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

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.5.0.tar.gz (12.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyodide_cli-0.5.0-py3-none-any.whl (12.7 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for pyodide_cli-0.5.0.tar.gz
Algorithm Hash digest
SHA256 14df0797e791558b6976d4612f9df9619334f8914bfe3efbdd22e3886f5275b7
MD5 9d88b92c43f83fc18e84579240a80c58
BLAKE2b-256 f144fe74049e3e776bd56fae8bd9370900d6d6dc5e541299ae90cb2330a9a8a4

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyodide_cli-0.5.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.5.0-py3-none-any.whl.

File metadata

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

File hashes

Hashes for pyodide_cli-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 24c02736f1d6c99396f5e9330fd30bd98db88cf49ef059b62b025fa1f5f6e29c
MD5 0e973e9c9addec543f35a2341f3a724c
BLAKE2b-256 4a0776977bbd73c686df55fbc3685c6c336158dc11b2ba155abe3e3a802447b2

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyodide_cli-0.5.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 Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page