Skip to main content

"The command line interface for the Pyodide project"

Project description

pyodide-cli

PyPI Latest Release GHA 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).

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.2.3.tar.gz (11.9 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.2.3-py3-none-any.whl (10.4 kB view details)

Uploaded Python 3

File details

Details for the file pyodide-cli-0.2.3.tar.gz.

File metadata

  • Download URL: pyodide-cli-0.2.3.tar.gz
  • Upload date:
  • Size: 11.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.1

File hashes

Hashes for pyodide-cli-0.2.3.tar.gz
Algorithm Hash digest
SHA256 b97c891bcd72bd42232e2e2674005c30ad9ea6ff1a0445820081f004b131173d
MD5 55599914f8bea89b9c1bfd8856d87e73
BLAKE2b-256 c4a84cda9ffc64dc5a0c8c852470b904958b29715900c78b652f85a5c62465c9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyodide_cli-0.2.3-py3-none-any.whl
  • Upload date:
  • Size: 10.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.1

File hashes

Hashes for pyodide_cli-0.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 3a322ab600710c0440299de370ab662323edbebaf2edd1315129bba9fc1bab79
MD5 5c27308bb56a9ad1c27ba86d148d3ddd
BLAKE2b-256 bdd976da0e6383f0ed3d42999174aa8ad0e33dad9225414f9aefa6d481f972ea

See more details on using hashes here.

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