"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
File details
Details for the file pyodide_cli-0.2.4.tar.gz
.
File metadata
- Download URL: pyodide_cli-0.2.4.tar.gz
- Upload date:
- Size: 10.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8cebc6831bfd234b6413d9a73178b93800bd1f6dfa1567514cbfda5768f5095b |
|
MD5 | 17aaaf690c108b1e45b4e97aec7f90a1 |
|
BLAKE2b-256 | 6db899b0f6e11d505348dde9b45106944156ad5415299ba9ae5a670fad73b2b0 |
File details
Details for the file pyodide_cli-0.2.4-py3-none-any.whl
.
File metadata
- Download URL: pyodide_cli-0.2.4-py3-none-any.whl
- Upload date:
- Size: 11.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 286585276c7e5c7e7967c317e0432a75271e00c653bc76f836dace3034b2d2bc |
|
MD5 | 9fecc6af23271c3e89e4cb30c79b1a5d |
|
BLAKE2b-256 | 9ab0f6e406edb166a0996b85bab5e6b9764791768f2a8a3c2ab235943def55e3 |