Marc Abramowitz
9402c8bd08
Add html5lib
2019-03-20 23:41:47 -07:00
Michael Droettboom
c9c47523b9
Merge pull request #339 from msabramo/pygments
...
Add pygments package
2019-03-18 08:45:19 -04:00
Michael Droettboom
8dd5c599f6
Merge pull request #341 from msabramo/beautifulsoup4
...
Add beautifulsoup4 (w/ soupsieve)
2019-03-18 08:44:55 -04:00
Michael Droettboom
29b1420601
Merge pull request #342 from msabramo/docutils
...
Add docutils
2019-03-18 08:44:43 -04:00
Marc Abramowitz
c4e1a4140a
Add beautifulsoup4 (w/ soupsieve)
...
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>]
```
2019-03-15 14:49:58 -07:00
Marc Abramowitz
ea09d5004e
Add pygments package
2019-03-15 10:10:59 -07:00
Marc Abramowitz
d14eee1161
Add docutils
...
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>
```
2019-03-15 08:14:58 -07:00
Marc Abramowitz
e92ba1c901
Add bleach
...
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.
```
2019-03-15 00:44:51 -07:00
Michael Droettboom
4e4162fbf4
Fix #327 : Add sympy support
2019-02-28 18:38:49 -05:00
Michael Droettboom
2f3a727eab
Add test for wasm_backend. Fix PDF test.
2019-02-21 18:26:42 -05:00
Michael Droettboom
68de9439cd
Fix matplotlib wasm backend after undefined attribute behavior changed
2019-02-21 18:09:16 -05:00
Madhur Tandon
48880c1631
Align the Figure and Buttons Toolbar to the center.
...
- Made the ``matplotlib figure`` align to the center of the body of the text.
- The buttons toolbar is now aligned to the center of the plot.
2019-02-02 15:49:45 +05:30
Madhur Tandon
a704d5a04b
Implement the ABI number functionality.
...
Modified ``Makefile`` and ``packages/Makefile`` to get ``PYODIDE_PACKAGE_ABI`` from ``Makefile.envs``
Made ``checkABI`` as a public API function.
Modified ``file_packager.py`` to check for the compatible ABI number.
Defined ABI number with which pyodide is built in Makefile.envs
Accepted ABI number in ``file_packager.py`` as an argument.
Modified ``buildpkg.py`` and ``buildall.py`` to account for the new argument.
Added the corresponding ``test_different_ABI`` test.
2019-01-23 00:07:39 +05:30
Madhur Tandon
8bcb07b0f9
Stylize the matplotlib widgets toolbar
...
Add style to matplotlib widgets
Add Color Change on Hover Functionality
Apply System Fonts to buttons with text
2019-01-16 22:43:19 +05:30
Madhur Tandon
0eb7592179
Add ``Humor Sans`` font for ``xkcd`` plots.
2019-01-06 23:43:10 +05:30
Michael Droettboom
768f1268a3
Add matplotlib and numpy as dependencies
2018-12-20 12:42:56 -05:00
Roman Yurchak
7bcb3dacc2
Merge pull request #271 from darthtrevino/feature/add_networkx_package
...
Add NetworkX Package
2018-12-10 22:22:45 +01:00
Roman Yurchak
7710c2a321
Merge pull request #251 from mdboom/matplotlib-reduce-imports
...
Reduce the number of mandatory imports in matplotlib
2018-12-07 09:01:19 +01:00
Chris Trevino
e6fe702205
Add test.imports to decorator's meta.yaml
2018-12-06 14:19:09 -08:00
Chris Trevino
3cfcd33c32
Remove testing imports from networkx
2018-12-06 14:06:27 -08:00
Chris Trevino
980f97469b
Update networkx meta.yaml test.imports
2018-12-06 13:55:40 -08:00
Chris Trevino
cfd73d5a81
Add networkx
2018-12-06 11:24:31 -08:00
Roman Yurchak
15c0228abc
Update to scikit-learn 0.20.1
2018-12-04 20:37:15 +01:00
Roman Yurchak
edda6eefcd
More fixes for joblib
2018-12-04 20:37:15 +01:00
Roman Yurchak
b93fcc47b8
Increment version numbers
2018-12-04 20:37:15 +01:00
Roman Yurchak
ef993da92f
Package scikit-learn
2018-12-04 20:37:15 +01:00
Roman Yurchak
66fe5feb2c
Better refactoring
2018-11-15 13:24:27 +01:00
Roman Yurchak
d6bc94ef53
Refactor scipy tests
2018-11-15 13:24:27 +01:00
Roman Yurchak
ead14ef33e
More fixes
2018-11-15 13:22:36 +01:00
Roman Yurchak
ccdadc6e93
Move CLAPACK_WA to the root folder
2018-11-15 13:22:36 +01:00
Roman Yurchak
3747c6dbeb
Patch mmap
2018-11-15 13:22:36 +01:00
Roman Yurchak
7358049baa
Skip scipy.optimize._cobyla missing import
2018-11-15 13:22:36 +01:00
Roman Yurchak
3e1d6348a7
Statically link BLAS/LAPACK
2018-11-15 13:22:36 +01:00
Roman Yurchak
9482984268
More patches for ellip_harm_2.pyx that uses ctypes
2018-11-15 13:22:36 +01:00
Roman Yurchak
862f257423
Use dummy threading + re-enable C++ files that failed due to a gloabl
...
namespace
2018-11-15 13:22:36 +01:00
Roman Yurchak
858e6e0a6e
Re-enable scipy.interpolate._interpolate
2018-11-15 13:22:36 +01:00
Roman Yurchak
56e8a1767a
Increase FuncCastEmulation NUM_PARAMS further
2018-11-15 13:22:36 +01:00
Roman Yurchak
27319bc675
Fix build in Docker
2018-11-15 13:22:36 +01:00
Roman Yurchak
3b906e4b68
More patches
2018-11-15 13:22:36 +01:00
Roman Yurchak
ad94658e68
Force malloc
2018-11-15 13:22:36 +01:00
Roman Yurchak
40605620f8
Use scipy 0.17.1
2018-11-15 13:22:36 +01:00
Michael Droettboom
b071d37e1a
Initial steps toward Scipy support
2018-11-15 13:22:36 +01:00
Michael Droettboom
f0ff58e799
Back out sys.implementation.cache_tag = None
2018-11-09 08:06:39 -05:00
Michael Droettboom
d7a85907cd
Fix typo
2018-11-08 17:21:45 -05:00
Michael Droettboom
7620c226cc
Reduce the number of mandatory imports
2018-11-08 16:45:14 -05:00
Michael Droettboom
d2067f705b
Fix handling of bytecode files
2018-11-08 15:03:30 -05:00
Roman Yurchak
d9b590f518
Define build/skip_host meta.yaml option
2018-10-29 12:52:13 +01:00
Roman Yurchak
53cd70c35c
Package joblib
2018-10-23 12:19:40 +02:00
Michael Droettboom
97829d86b5
Add another subpackage to matplotlib
2018-10-10 14:16:02 -04:00
Roman Yurchak
3b429e61f3
Address review comments
2018-09-21 18:10:48 +02:00
Roman Yurchak
da6bbb3b20
Set PYTHONPATH in Makefile.envs to avoiding installing pyodide_build
2018-09-21 12:02:13 +02:00
Roman Yurchak
72293058b9
Converting tools scripts to a python package
2018-09-20 18:44:30 +02:00
Roman Yurchak
1a3166f0ab
Merge pull request #149 from mdboom/matplotlib-2.2.3
...
Update to Matplotlib 2.2.3
2018-09-11 09:56:56 +02:00
Roman Yurchak
88194ab2c7
Merge pull request #150 from mdboom/pandas-0.23.4
...
Update to pandas 0.23.4
2018-09-10 21:38:11 +02:00
Michael Droettboom
1d82388fb9
Update to pandas 0.23.4
2018-09-10 13:05:41 -04:00
Michael Droettboom
2adcc8cee9
Update to matplotlib 2.2.3
2018-09-10 13:03:40 -04:00
Michael Droettboom
01b27b37b9
Update to Numpy 1.15.1
2018-09-10 12:55:37 -04:00
Michael Droettboom
56562257ef
Fix #71 : Upgrade to Python 3.7
2018-09-06 10:56:33 -04:00
Roman Yurchak
c9bc2f4473
Remove os.dup2 calls altogether
2018-09-03 14:20:31 +02:00
Roman Yurchak
4404274eef
Package nose
2018-09-03 10:29:36 +02:00
Roman Yurchak
56597e2d5a
Use NamedTemporaryFile in pytest
2018-09-03 10:29:36 +02:00
Roman Yurchak
5761705326
Remove six
2018-09-03 10:29:36 +02:00
Roman Yurchak
c512d8237d
Package setuptools
2018-09-03 10:29:36 +02:00
Roman Yurchak
42bdef2306
Package pytest dependencies
2018-09-03 10:29:36 +02:00
Roman Yurchak
58f73c3d79
Package pytest
2018-09-03 10:29:36 +02:00
Michael Droettboom
30e82a2d86
Add patch
2018-08-23 12:06:14 -04:00
Michael Droettboom
b66d698414
Install to a directory, and use that, instead of just the build/lib...
2018-08-23 11:59:33 -04:00
Michael Droettboom
14f5e9b39d
Fix #115 : Forcibly use the local copy of blas and lapack
2018-08-20 22:44:26 -04:00
Roman Yurchak
076e9bb083
Address review comments
2018-08-07 08:24:22 +03:00
Roman Yurchak
f38e01e475
Mechanism for testing imports
2018-08-07 08:24:22 +03:00
Roman Yurchak
a24a7fe5f8
Add support for sha256 checksum
2018-08-06 18:03:51 +03:00
Roman Yurchak
4bd4cc3255
Avoid rm */build
2018-07-24 10:04:15 -07:00
Michael Droettboom
d837883fbb
Fix relative path
2018-06-22 16:52:55 -04:00
Michael Droettboom
cb93956279
Use PYODIDE_ROOT instead of a relative path
2018-06-22 11:08:00 -04:00
Michael Droettboom
222c0248a1
Add documentation to new build tools.
...
Clean up argument parsing.
2018-06-22 10:22:00 -04:00
Michael Droettboom
17e1562ded
MVP of a proper packaging system
2018-06-20 14:54:47 -04:00