Commit Graph

882 Commits

Author SHA1 Message Date
Roman Yurchak a9f7f266fb MAINT Refactor benchmark script (#472)
* Refactor benchmark

* Review comments

* Fix CI

* Make sure numpy is loaded
2019-07-01 08:38:18 -04:00
Michael Droettboom 62fdb183e9
Update docs link to readthedocs (#477) 2019-06-22 18:28:48 -04:00
Carol Willing 9f4dceb812 Adds Sphinx documentation build (#474)
* create proof of concept

* add rtd config file

* edit config

* minor edits in rst files

* update config from proof of concept to prod

* add a bit more explanation to contents page

* Label markdown block as js to prevent Sphinx warning

* correct links warning in Sphinx

* fix typo
2019-06-22 18:22:38 -04:00
Carol Willing 4c81899661 Update the main readme file to be more user-focused (#475)
* Edit README headings and navigation

* Add minor edits and bottom nav

* correct link and typo

* Address review comments and fix another typo

* remove unneeded link from nav
2019-06-21 20:25:44 -04:00
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
Joost van Zwieten 020b7f7783 fix micropip.install packages with dependencies (#454)
The variable `req` in method `_PackageManager.add_requirement` is erroneously
reused for iterating over recursive requirements, if any.  This causes the
remaining statement to fail.  This patch renames the variable used for the
recursive requirements to `recurs_req`.

Fixes: #413
2019-06-04 10:00:55 -04:00
Michael Droettboom 6707647fa7 Update URL 2019-06-03 15:57:17 -04:00
Michael Droettboom 100e81f141
Update URL and document using Pyodide with Iodide (#455)
* Update URL and document using Pyodide with Iodide

* Update docs/using_pyodide_from_iodide.md

Co-Authored-By: Carol Willing <carolcode@willingconsulting.com>

* Update docs/using_pyodide_from_iodide.md

Co-Authored-By: Carol Willing <carolcode@willingconsulting.com>
2019-06-03 15:46:14 -04:00
Michael Droettboom 2fb13ff35b Bump version: 0.12.0 → 0.13.0 2019-05-31 16:04:53 -04:00
Michael Droettboom 88880d1e87 Update CHANGELOG 2019-05-31 16:04:25 -04:00
Michael Droettboom 0ca6505261 Update docs about Netlify. 2019-05-31 16:02:51 -04:00
Michael Droettboom 1799e45525 Go back to tags only 2019-05-31 15:50:59 -04:00
Michael Droettboom d5c7794ea6 Use sudo to deploy 2019-05-31 15:50:35 -04:00
Michael Droettboom 722b8f0f7c Deploy from master 2019-05-31 14:41:15 -04:00
Michael Droettboom 87da2ec033
Automated deployment to Netlify (#451) 2019-05-31 14:39:52 -04:00
Roman Yurchak b9357dcd7f
Merge pull request #432 from mdboom/dont-use-package-name
Fix #427: Don't use "package" -- it's a reserved word
2019-05-18 22:34:29 +03:00
Michael Droettboom 8cf6863e29 Fix #427: Don't use "package" -- it's a reserved word 2019-05-17 15:51:29 -04:00
Michael Droettboom 8f675bf063
Fix #422: Correct loadedPackage -> loadedPackages (#426)
Cc: @PythonLinks
2019-05-16 10:03:34 -04:00
Madhur Tandon 6ca7c116c2 Update Instructions for Building Pyodide (#425)
Add a tip: increase the maximum allowable RAM usage to the docker container if `make` stops without any valid reason.
2019-05-16 10:03:18 -04:00
Michael Droettboom 32aacec222 Bump version: 0.11.0 → 0.12.0 2019-05-03 13:45:55 -04:00
Michael Droettboom 1a9e72b91f Update CHANGELOG 2019-05-03 13:45:50 -04: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
Joseph D. Long 74cf8f1f84 Fixes #402 for Safari support (#409)
* Fixes #402 for Safari support

Falls back to WebAssembly.compile when compileStreaming is undefined

* Formatting tweaks for pyodide.js

* Style edit per @mdboom to pyodide.js
2019-05-03 13:40:57 -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
Bob "Wombat" Hogg 6e561d2b19 README.md: Remove cd /src instruction for Docker (#396) 2019-04-24 11:09:17 -04:00
hexagon6 17dec0920e feature(package): add biopython (#391) 2019-04-24 11:08:47 -04:00
Michael Droettboom 09e1caa6f4 Update CHANGELOG 2019-04-22 14:12:45 -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
Michael Droettboom f1c05058b0 Update CHANGELOG headers 2019-04-22 08:09:51 -04:00
0xflotus 778bae8348 fixed asynchronously in the docs (#384) 2019-04-21 08:38:30 -04:00
Michael Droettboom a39544a071 Bump version: 0.10.0 → 0.11.0 2019-04-11 22:07:55 -04:00
Roman Yurchak 9af9f65ebc
Merge pull request #376 from teonbrooks/patch-1
Update CHANGELOG.md
2019-04-10 11:15:40 +02:00
Teon L Brooks 132ed08ad6
Update CHANGELOG.md
forgot update the changelog with #372.
2019-04-07 19:41:14 -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 b6d9a6353b Add crypt module (#369) 2019-04-04 13:55:15 -04:00
Michael Droettboom 9a75ce63e2 Update CHANGELOG 2019-04-04 08:00:06 -04:00
Michael Droettboom 047b414f3d
Upgrade to emscripten 1.38.30 (#374) 2019-04-04 07:57:47 -04:00
Teon L Brooks befdfe781d [MRG] Include mne (#372)
* Include mne

* Update meta.yaml
2019-04-03 11:58:33 -04:00
Roman Yurchak 462240e38b
Merge pull request #370 from mkly/fix_not_now_typo
Fix typo in docs using from JavaScript
2019-03-29 23:18:14 +01:00
Mike Lay a1095b8624 Fix typo in docs using from JavaScript
* Change *not* to *now*
2019-03-29 12:03:51 -07:00
Michael Droettboom 0f60d6d45d Retroactively add CHANGELOG entry 2019-03-26 15:32:23 -04:00
Marc Abramowitz 1d2edf1051 mkpkg: Grab sdist instead of first URL from PyPI (#356)
The first URL from PyPI is often a platform-specific wheel, so it's
better if we prefer to grab a source distribution that we can build with
emscripten.

Before:

```
$ bin/pyodide mkpkg lxml
$ grep 'url: ' packages/lxml/meta.yaml
  url: 951337aa3d28589eccca765c4e17ce/lxml-4.3.2-cp27-cp27m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl
```

After:

```
$ bin/pyodide mkpkg lxml
$ grep 'url: ' packages/lxml/meta.yaml
  url: d070609b410dbf4233659af53fe0ab/lxml-4.3.2.tar.gz
```

Closes: #363.
2019-03-26 12:10:41 -04:00
Farooq Abdul Rehman 8e90e6d083 ignore .vscode (#361) 2019-03-26 08:49:53 -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 b95b6692f8
Merge pull request #358 from msabramo/patch-3
CHANGELOG.md: soupseive => soupsieve
2019-03-22 12:24:29 -04:00
Marc Abramowitz 7591202dfb
CHANGELOG.md: soupseive => soupsieve 2019-03-21 23:10:57 -07:00