- 21 Mar, 2019 2 commits
-
-
Michael Droettboom authored
Add html5lib
-
Marc Abramowitz authored
-
- 19 Mar, 2019 2 commits
-
-
Michael Droettboom authored
Link to @dgym
-
Marc Abramowitz authored
-
- 18 Mar, 2019 3 commits
-
-
Michael Droettboom authored
Add pygments package
-
Michael Droettboom authored
Add beautifulsoup4 (w/ soupsieve)
-
Michael Droettboom authored
Add docutils
-
- 15 Mar, 2019 6 commits
-
-
Marc Abramowitz authored
Example: If you do: ```js languagePluginLoader.then(() => { // pyodide is now ready to use... pyodide.loadPackage('beautifulsoup4').then(() => { pyodide.runPython(` text = """ <div> <!-- These are animals --> <p class="a">Cat</p> <p class="b">Dog</p> <p class="c">Mouse</p> </div> """ from bs4 import BeautifulSoup import soupsieve soup = BeautifulSoup(text, 'html.parser') print(soup.select('p:is(.a, .c)')) `); }); }); ``` then the output is: ``` [<p class="a">Cat</p>, <p class="c">Mouse</p>] ```
-
Marc Abramowitz authored
-
Michael Droettboom authored
Add bleach
-
Marc Abramowitz authored
Example: If you do this: ```js languagePluginLoader.then(() => { // pyodide is now ready to use... pyodide.loadPackage('docutils').then(() => { pyodide.runPython(` import docutils.core print(docutils.core.publish_string("\`Python <http://www.python.org/>\`_ is **cool**!", writer_name='html5', settings_overrides={'embed_stylesheet': False}).decode('utf-8')) `); }); }); ``` then the output is: ``` <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta charset="utf-8"/> <meta name="generator" content="Docutils 0.14: http://docutils.sourceforge.net/" /> <title><string></title> <link rel="stylesheet" href="/lib/python3.7/site-packages/docutils/writers/html5_polyglot/minimal.css" type="text/css" /> <link rel="stylesheet" href="/lib/python3.7/site-packages/docutils/writers/html5_polyglot/plain.css" type="text/css" /> </head> <body> <div class="document"> <p><a class="reference external" href="http://www.python.org/">Python</a> is <strong>cool</strong>!</p> </div> </body> </html> ```
-
Michael Droettboom authored
-
Marc Abramowitz authored
for sanitizing HTML. Example: ```js languagePluginLoader.then(() => { // pyodide is now ready to use... pyodide.loadPackage('bleach').then(() => { pyodide.runPython(` import bleach print(bleach.clean('There is good stuff <script>and bad stuff</script> in here.')) `); }); }); ``` leads to the output: ``` There is good stuff <script>and bad stuff</script> in here. ```
-
- 14 Mar, 2019 3 commits
-
-
Michael Droettboom authored
Automatically rebuild packages if any patches or extra files change
-
Michael Droettboom authored
-
Michael Droettboom authored
Clean up the downloaded file if it's corrupted
-
- 13 Mar, 2019 4 commits
-
-
Michael Droettboom authored
-
Michael Droettboom authored
-
Michael Droettboom authored
Fix #332: Make pyproxy.apply work
-
Michael Droettboom authored
-
- 12 Mar, 2019 3 commits
-
-
Michael Droettboom authored
-
Michael Droettboom authored
-
Roman Yurchak authored
Add a mkpkg tool to make new packages.
-
- 01 Mar, 2019 1 commit
-
-
Michael Droettboom authored
Fix #327: Add sympy support
-
- 28 Feb, 2019 4 commits
-
-
Michael Droettboom authored
-
Michael Droettboom authored
-
Michael Droettboom authored
Build the _decimal C module.
-
Michael Droettboom authored
Fix #316: Add convenience function for converting from nested Arrays
-
- 25 Feb, 2019 2 commits
-
-
Michael Droettboom authored
-
Michael Droettboom authored
-
- 22 Feb, 2019 2 commits
-
-
Michael Droettboom authored
-
Michael Droettboom authored
Fix matplotlib wasm backend after undefined attribute behavior changed
-
- 21 Feb, 2019 6 commits
-
-
Michael Droettboom authored
-
Michael Droettboom authored
-
Michael Droettboom authored
-
Michael Droettboom authored
-
Michael Droettboom authored
Handle numpy scalars in python2js_buffer
-
Michael Droettboom authored
-
- 20 Feb, 2019 2 commits
-
-
Michael Droettboom authored
-
Hamilton Ulmer authored
Fix conversion from jsproxy to dict
-