Skip to main content

"The command line interface for the Pyodide project"

Project description

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 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

pyodide_cli-0.3.0.tar.gz (11.7 kB view details)

Uploaded Source

Built Distribution

pyodide_cli-0.3.0-py3-none-any.whl (11.6 kB view details)

Uploaded Python 3

File details

Details for the file pyodide_cli-0.3.0.tar.gz.

File metadata

  • Download URL: pyodide_cli-0.3.0.tar.gz
  • Upload date:
  • Size: 11.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for pyodide_cli-0.3.0.tar.gz
Algorithm Hash digest
SHA256 247a7408f358326dd586477b5fe6eeb146edbed5f058923d258730e743457dd0
MD5 427f7a52b85dea04ff9c1b4b914b0b3a
BLAKE2b-256 50800dd7b828031d08efcdc2be6d69b3b0aa502fb1dcf05eb0397369966329f8

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyodide_cli-0.3.0.tar.gz:

Publisher: release.yml on pyodide/pyodide-cli

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pyodide_cli-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: pyodide_cli-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 11.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for pyodide_cli-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9d2736e04ddb380fd7eac664e5e4ba23d2c1dd29ed38a98b6246ec529ffc834a
MD5 318892a07afc74bca08e7b592cb1c600
BLAKE2b-256 b493b9815f6f4ef30dd8490bea2a82aa664e5aa9162fa38986b35a0898522d22

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyodide_cli-0.3.0-py3-none-any.whl:

Publisher: release.yml on pyodide/pyodide-cli

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page