Roman Yurchak
2cf8639973
MAINT Move package tests under packages/ dir ( #471 )
...
* Move package tests under the packages/ folder
* Fix tests
2019-06-19 14:26:08 -04:00
Roman Yurchak
6898c871f3
Add mmap module ( #468 )
2019-06-18 17:55:28 -07:00
Michael Droettboom
04ed55f253
Fix #464 : Display unknown attribute correctly ( #470 )
2019-06-18 17:36:45 -07:00
Michael Droettboom
c3c2f10bc5
Loading wheels from PyPI ( #147 )
...
* Add micropip
* Remove CORS proxy for metadata
* Update docs
* Support loading a mixture of built-in and PyPI packages
2019-05-03 13:43:31 -04:00
Michael Droettboom
619b4df99e
Fix #406 : Correctly convert a raw ArrayBuffer to Python memoryview ( #407 )
2019-05-02 12:23:03 -04:00
Michael Droettboom
c8db5b6433
Fix #401 : Better error message when using "import js" ( #404 )
...
* Fix #401 : Use PEP 562 to make "import js" work
* Add docs
* Fix handling of missing attributes
* Add CHANGELOG
* Fix iodide import
2019-05-01 14:56:30 -04:00
Michael Droettboom
dfbe045895
Fix #382 : Proxies should return the same object ( #394 )
2019-04-22 14:10:09 -04:00
Michael Droettboom
67ae415f09
Fix #388 : Support dir(x) on JsProxies ( #393 )
2019-04-22 14:08:29 -04:00
Marc Abramowitz
875df76b2f
Add Jinja2 and MarkupSafe ( #359 )
...
```javascript
_ = languagePluginLoader.then(() => {
// pyodide is now ready to use...
pyodide.loadPackage('Jinja2').then(() => {
pyodide.runPython(`
import jinja2
template = jinja2.Template('Hello {{ name }}!')
print(template.render(name='Zach'))
`);
});
});
```
2019-04-04 13:56:56 -04:00
Marc Abramowitz
ac76220b59
Enable building sqlite3 into cpython ( #352 )
...
* Enable building sqlite3 into cpython
2019-03-26 08:44:21 -04:00
Michael Droettboom
2f3a727eab
Add test for wasm_backend. Fix PDF test.
2019-02-21 18:26:42 -05:00
Michael Droettboom
45d1449209
Include plt.show() in test
2019-02-21 18:17:24 -05:00
Michael Droettboom
7c097fa4c2
Handle numpy scalars in python2js_buffer
2019-02-21 13:59:45 -05:00
Michael Droettboom
758ef4afbb
Fix conversion from jsproxy to dict
2019-02-15 15:00:43 -05:00
Michael Droettboom
89fcd32a20
Apply suggestions from code review
...
Co-Authored-By: jstafford <jason.stafford@scrycollective.com>
2019-02-07 13:15:40 -08:00
Jason Stafford
052ada4855
fix lint error
2019-02-06 09:28:20 -08:00
Jason Stafford
00ba184861
selenium tests for webworkers
2019-02-06 09:20:34 -08:00
Michael Droettboom
50f630c8ee
Merge pull request #307 from mdboom/faster-js2python-string
...
Faster js2python string conversion
2019-01-28 21:03:08 -05:00
Michael Droettboom
fc7d940440
Merge pull request #306 from mdboom/fix-matplotlib-pdf
...
Fix #305 : Fix PDF export from matplotlib
2019-01-28 16:17:31 -05:00
Michael Droettboom
ec779c706d
Fix content length
2019-01-28 15:06:21 -05:00
Michael Droettboom
46f64b5c7c
See #301 : Speed-up js2python string conversion
2019-01-28 11:39:28 -05:00
Michael Droettboom
0fbaa77192
Fix format svg -> pdf
2019-01-28 11:04:52 -05:00
Michael Droettboom
9be8f39e57
Move cpython core tests to their own module
2019-01-25 10:33:46 -05:00
Michael Droettboom
9c8b6d2db0
Fix #305 : Fix PDF export from matplotlib
2019-01-25 09:33:52 -05:00
Michael Droettboom
02f3b13459
Merge pull request #303 from mdboom/eval-nothing
...
fix iodide-project/iodide#1423 : Don't crash if there is no Python code
2019-01-23 18:08:56 -05:00
Michael Droettboom
9f7f4826ce
fix iodide-project/iodide#1423 : Don't crash if there is no Python code
2019-01-23 16:59:52 -05:00
Michael Droettboom
37b0913563
Fix error handling
2019-01-23 00:07:39 +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
Michael Droettboom
833ce1a59e
Merge pull request #295 from mdboom/load-arbitrary-package
...
Fix #291 : Allow loading of arbitrary packages
2019-01-16 12:05:04 -05:00
Michael Droettboom
4142ac0be0
Fix #291 : Allow loading of arbitrary packages
2019-01-10 14:42:45 -05:00
Michael Droettboom
1f978500a0
Merge pull request #287 from mdboom/numpy-arrays-to-typed-arrays
...
Convert Numpy arrays to TypedArrays when possible
2019-01-10 07:40:55 -05:00
Michael Droettboom
dabc8ecc15
Add comment about expected types
2018-12-28 11:28:31 -05:00
Michael Droettboom
56523cc20c
Use "ones" for a more robust test
2018-12-28 11:28:14 -05:00
Michael Droettboom
d4c92a5d68
Convert Numpy arrays to TypedArrays when possible
2018-12-27 14:22:08 -05:00
Michael Droettboom
b66c160dc8
Merge pull request #284 from mdboom/fix-function-pointers-in-dylib
...
Fix #283 : Handle function pointers in dylib with signatures not in main
2018-12-27 13:11:35 -05:00
Michael Droettboom
fe16f98a70
Fix #283 : Handle function pointers in dylib with signatures not in main
2018-12-20 13:07:54 -05:00
Michael Droettboom
2d4732826a
Add comments in PR
2018-12-19 16:28:39 -05:00
Michael Droettboom
f4400b12f1
Add a proxy to get global objects from Python
2018-12-19 14:22:18 -05:00
Michael Droettboom
3d7b79eda0
Properly handle Numpy scalar types in python2js
2018-12-17 08:30:42 -05:00
Michael Droettboom
81cd031360
Merge pull request #266 from rth/dedent-by-default
...
Handle multi-line Python strings input in JS
2018-12-10 17:25:37 -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
Chris Trevino
90cdd3010b
Remove pytest import
2018-12-06 14:06:42 -08:00
Chris Trevino
0d6cf03eb0
Remove chrome shunt from networkx tests, use standard assertions
2018-12-06 14:03:23 -08:00
Chris Trevino
cfd73d5a81
Add networkx
2018-12-06 11:24:31 -08:00
Roman Yurchak
18ec5bbb26
Also dedent code in find_imports
2018-12-06 15:39:28 +01:00
Roman Yurchak
fc7fe8ca30
Update tests with packaged scipy
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
ef993da92f
Package scikit-learn
2018-12-04 20:37:15 +01:00
Roman Yurchak
30d150386d
Revert change for runPythonAsync
2018-12-04 13:37:36 +01:00
Roman Yurchak
fd6e0bf422
Merge pull request #265 from mdboom/kwargs
...
Fix #261 : Support named arguments when calling a JS function
2018-12-04 12:42:38 +01:00