Packages
Using and installing Python packages.
Default Packages
Many libraries are included by default, here are some examples:
Pandas (https://pandas.pydata.org/)
NumPy (https://numpy.org/)
SciPy (https://scipy.org/)
Default packages can be imported like any other native Python package.
Micropip can be used to install additional Python packages that aren't automatically supported (and their dependencies).
This only works for packages that are either pure Python or for packages with C extensions that are built in Pyodide. If a pure Python package is not found in the Pyodide repository, it will be loaded from PyPI. Learn more about how packages work in Pyodide.
Last updated