pyodide-cli 0.5.0


pip install pyodide-cli

  Latest version

Released: Jan 28, 2026


Meta
Author: Pyodide developers
Requires Python: >=3.12

Classifiers

Operating System
  • OS Independent

Programming Language
  • Python :: 3

pyodide-cli

PyPI Latest Release GHA-main GHA-release codecov

The command line interface for the Pyodide project.

In most cases, you do not need to install this package directly, and it would be installed as a dependency of other packages in the ecosystem (e.g., pyodide-build, pyodide-pack, auditwheel-emscripten, etc.)

Installation

pip install pyodide-cli

Usage

To get a list of available CLI commands,

pyodide --help

Developers

You can register a subcommand in the pyodide CLI in your own package by:

  1. adding a dependency on pyodide-cli

  2. Adding a pyodide.cli entry point. For example, with

    setup.cfg

    [options.entry_points]
    pyodide.cli =
     do_something = "<your-package>.cli:main"
    

    or

    pyproject.toml

    [project.entry-points."pyodide.cli"]
    do_something = "<your-package>.cli:main"
    

    where in this example main needs to be either:

    • A click command/group (recommended)
    • A typer app or function (requires typer to be installed)

License

pyodide-cli uses the Mozilla Public License Version 2.0.

Wheel compatibility matrix

Platform Python 3
any

Files in release

Extras:
Dependencies:
click
rich