"The command line interface for the Pyodide project"
Project description
pyodide-cli
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).
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:
-
adding a dependency on
pyodide-cli
-
Adding a
pyodide.cli
entry point. For example, withsetup.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 a function with type annotations that can be converted to a CLI with typer.
License
pyodide-cli uses the Mozilla Public License Version 2.0.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for pyodide_cli-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2ec510e1f3f777093ecdd7c92e83bcb5b1ef4f5a88a1fd8b6e761b4163dcc219 |
|
MD5 | b344316ab716ab44f472711cdba60177 |
|
BLAKE2b-256 | 6c52f45e2524fa2c4e4e2845180c738d7168271a810e4053b8da42669588f231 |