pyodide/docs/usage/api/python-api.md

588 B

Python API

Backward compatibility of the API is not guaranteed at this point.

Javascript Modules

By default there are two Javascript modules. More can be added with {any}pyodide.registerJsModule. You can import these modules using the Python import statement in the normal way.

.. list-table::

   *  - ``js``
      - The global Javascript scope.
   *  - :js:mod:`pyodide_js <pyodide>`
      - The Javascript Pyodide module.
.. currentmodule:: pyodide

.. automodule:: pyodide
   :members:
   :autosummary:
   :autosummary-no-nesting: