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

Uploaded Source

Built Distribution

pyodide_cli-0.4.0-py3-none-any.whl (12.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pyodide_cli-0.4.0.tar.gz
  • Upload date:
  • Size: 12.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.4.0.tar.gz
Algorithm Hash digest
SHA256 828e0b73cbd810414a61253cf0f0746a2efc8434567c57fbb03308b6d955e958
MD5 e8d52c976052b534b0d6f6777c5f76a7
BLAKE2b-256 7d2cdae71066d7b9fac85f848e17e73c34cc6aca7ed6c6d79a3c3b231509c725

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: pyodide_cli-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 12.9 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.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2897bf7eb00b760e0db1a2fa8dc237ac2ea793d90e0ac5244ad3f5a55d0bb417
MD5 0560719632be1c6613fc234d95d760aa
BLAKE2b-256 3015f2db8891a579d8ed2b732be44a17ae93b51e8d2e097f004efc52713384c8

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyodide_cli-0.4.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