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

28 lines
588 B
Markdown

# 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.
```{eval-rst}
.. list-table::
* - ``js``
- The global Javascript scope.
* - :js:mod:`pyodide_js <pyodide>`
- The Javascript Pyodide module.
```
```{eval-rst}
.. currentmodule:: pyodide
.. automodule:: pyodide
:members:
:autosummary:
:autosummary-no-nesting:
```