/micropip

A lightweight Python package installer for Pyodide

Primary LanguagePythonMozilla Public License 2.0MPL-2.0

micropip

PyPI Latest Release GHA

A lightweight Python package installer for the web

Installation

In Pyodide, you can install micropip,

  • either implicitly by importing it in the REPL
  • or explicitly via pyodide.loadPackage('micropip'). You can also install by URL from PyPI for instance.

Usage

import micropip
await micropip.install(<list-of-packages>)

For more information see the documentation.

License

micropip uses the Mozilla Public License Version 2.0.