2019-06-22 22:22:39 +00:00
|
|
|
Pyodide
|
|
|
|
=======
|
|
|
|
|
|
|
|
|
2021-12-13 17:36:35 +00:00
|
|
|
Pyodide is a Python distribution for the browser and Node.js based on WebAssembly.
|
2019-06-22 22:22:39 +00:00
|
|
|
|
2021-12-13 17:36:35 +00:00
|
|
|
What is Pyodide?
|
|
|
|
----------------
|
2019-06-22 22:22:39 +00:00
|
|
|
|
2022-01-04 15:46:00 +00:00
|
|
|
Pyodide is a port of CPython to WebAssembly/`Emscripten <https://emscripten.org/>`_.
|
2019-06-22 22:22:39 +00:00
|
|
|
|
2021-12-13 17:36:35 +00:00
|
|
|
Pyodide makes it possible to install and run Python packages in the browser with
|
2022-01-04 15:46:00 +00:00
|
|
|
`micropip <https://pyodide.org/en/stable/usage/api/micropip-api.html>`_. Any pure
|
|
|
|
Python package with a wheel available on PyPI is supported. Many packages with C
|
2021-12-13 17:36:35 +00:00
|
|
|
extensions have also been ported for use with Pyodide. These include many
|
|
|
|
general-purpose packages such as regex, pyyaml, lxml and scientific Python
|
|
|
|
packages including numpy, pandas, scipy, matplotlib, and scikit-learn.
|
|
|
|
|
|
|
|
Pyodide comes with a robust Javascript ⟺ Python foreign function interface so
|
|
|
|
that you can freely mix these two languages in your code with minimal
|
|
|
|
friction. This includes full support for error handling (throw an error in one
|
|
|
|
language, catch it in the other), async/await, and much more.
|
|
|
|
|
|
|
|
When used inside a browser, Python has full access to the Web APIs.
|
2021-11-15 09:30:59 +00:00
|
|
|
|
2022-01-04 15:46:00 +00:00
|
|
|
Try Pyodide
|
|
|
|
-----------
|
2021-11-15 09:30:59 +00:00
|
|
|
|
|
|
|
Try Pyodide in a
|
|
|
|
`REPL <https://pyodide.org/en/stable/console.html>`_ directly in
|
2022-01-04 15:46:00 +00:00
|
|
|
your browser (no installation needed).
|
2021-11-15 09:30:59 +00:00
|
|
|
|
|
|
|
|
|
|
|
Table of contents
|
|
|
|
-----------------
|
|
|
|
|
2019-06-22 22:22:39 +00:00
|
|
|
Using Pyodide
|
2021-11-15 09:30:59 +00:00
|
|
|
^^^^^^^^^^^^^
|
2019-06-22 22:22:39 +00:00
|
|
|
|
|
|
|
.. toctree::
|
2021-11-15 09:30:59 +00:00
|
|
|
:maxdepth: 1
|
2019-06-22 22:22:39 +00:00
|
|
|
|
2021-01-18 19:56:47 +00:00
|
|
|
usage/quickstart.md
|
2021-08-11 10:00:44 +00:00
|
|
|
usage/downloading-and-deploying.md
|
2021-08-12 09:39:13 +00:00
|
|
|
usage/index.md
|
2021-01-18 19:56:47 +00:00
|
|
|
usage/loading-packages.md
|
|
|
|
usage/type-conversions.md
|
2021-05-02 13:42:28 +00:00
|
|
|
usage/wasm-constraints.md
|
2021-09-26 18:53:46 +00:00
|
|
|
usage/keyboard-interrupts.md
|
2021-01-18 19:56:47 +00:00
|
|
|
usage/api-reference.md
|
|
|
|
usage/faq.md
|
2019-06-22 22:22:39 +00:00
|
|
|
|
2021-04-20 18:26:44 +00:00
|
|
|
Development
|
2021-11-15 09:30:59 +00:00
|
|
|
^^^^^^^^^^^
|
2019-06-22 22:22:39 +00:00
|
|
|
|
|
|
|
The Development section help Pyodide contributors to find information about the
|
2021-11-15 09:30:59 +00:00
|
|
|
development process including making packages to support third party libraries.
|
2019-06-22 22:22:39 +00:00
|
|
|
|
|
|
|
.. toctree::
|
|
|
|
:maxdepth: 1
|
2021-04-20 21:28:33 +00:00
|
|
|
:caption: Development
|
2019-06-22 22:22:39 +00:00
|
|
|
|
2021-01-18 19:56:47 +00:00
|
|
|
development/building-from-sources.md
|
|
|
|
development/new-packages.md
|
|
|
|
development/contributing.md
|
|
|
|
development/testing.md
|
2021-04-13 19:51:32 +00:00
|
|
|
development/debugging.md
|
2019-06-22 22:22:39 +00:00
|
|
|
|
2021-04-20 18:26:44 +00:00
|
|
|
|
|
|
|
Project
|
2021-11-15 09:30:59 +00:00
|
|
|
^^^^^^^
|
2021-04-20 18:26:44 +00:00
|
|
|
|
2021-11-15 09:30:59 +00:00
|
|
|
The Project section gives additional information about the project's
|
|
|
|
organization and latest releases.
|
2021-04-20 18:26:44 +00:00
|
|
|
|
2019-06-22 22:22:39 +00:00
|
|
|
.. toctree::
|
2021-04-21 20:57:45 +00:00
|
|
|
:maxdepth: 1
|
2021-04-20 21:28:33 +00:00
|
|
|
:caption: Project
|
2019-06-22 22:22:39 +00:00
|
|
|
|
2021-01-18 19:56:47 +00:00
|
|
|
project/about.md
|
2021-04-20 18:26:44 +00:00
|
|
|
project/roadmap.md
|
2021-01-18 19:56:47 +00:00
|
|
|
project/code-of-conduct.md
|
2021-03-03 18:09:05 +00:00
|
|
|
project/governance.md
|
2021-01-18 19:56:47 +00:00
|
|
|
project/changelog.md
|
2021-03-02 12:47:31 +00:00
|
|
|
project/related-projects.md
|
2019-06-22 22:22:39 +00:00
|
|
|
|
|
|
|
|
2021-11-15 09:30:59 +00:00
|
|
|
Communication
|
|
|
|
-------------
|
|
|
|
|
|
|
|
- Blog: `blog.pyodide.org <https://blog.pyodide.org/>`_
|
|
|
|
- Mailing list: `mail.python.org/mailman3/lists/pyodide.python.org/ <https://mail.python.org/mailman3/lists/pyodide.python.org/>`_
|
|
|
|
- Gitter: `gitter.im/pyodide/community <https://gitter.im/pyodide/community>`_
|
|
|
|
- Twitter: `twitter.com/pyodide <https://twitter.com/pyodide>`_
|
|
|
|
- Stack Overflow: `stackoverflow.com/questions/tagged/pyodide <https://stackoverflow.com/questions/tagged/pyodide>`_
|