Skip to main content

Minimal command-line interface plugin for minimal-pba-cli

This is a minimal example of a plugin that can be discovered, installed, and used in a command-line interface using a plugin-based architecture.

Key moving parts

The main components of a working plugin are:

  • The distribution name: Plugins must have a distribution name with a known prefix (in the case of this project, minimal-pba-cli-plugin-).
  • [project.entry-points.minimal_pba_cli]: This section must exist in pyproject.toml and must contain one key-value pair, where the key is the "proper" name of the plugin (without the distribution name prefix) and the value is the dotted module path of the plugin's main entry point
  • The plugin entry point: This module must contain either or both of groups and commands. Each of these is a dictionary whose keys are the name of the command or command group that the plugin will provide to the core CLI, and whose values are the Typer command group objects or command objects, respectively, to execute.

Metadata

Release files for minimal-pba-cli-plugin-example 0.0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for minimal-pba-cli-plugin-example 0.0.3
File Size Uploaded Provenance
minimal_pba_cli_plugin_example-0.0.3.tar.gz 2.4 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for minimal-pba-cli-plugin-example 0.0.3
File Interpreter ABI Platform
minimal_pba_cli_plugin_example-0.0.3-py3-none-any.whl Python 3 none any Details

Total release size: 5.3 kB

Release files / minimal_pba_cli_plugin_example-0.0.3.tar.gz

Download URL minimal_pba_cli_plugin_example-0.0.3.tar.gz
Size 2.4 kB
Tags Source
SHA-256 checksum
How to use checksums
a56c00620cc98f1417cf021680842dc0d5af369431d539c52e08e6d25293fe4a
BLAKE2b-256 checksum
How to use checksums
cda60bdd3315044c11d70e6df8cedf9a348c9b1b1512a052688793f738a61b7f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

Release files / minimal_pba_cli_plugin_example-0.0.3-py3-none-any.whl

Download URL minimal_pba_cli_plugin_example-0.0.3-py3-none-any.whl
Size 2.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2b969f547cf14e25463d962c60d7d202234802b3cf1f1cf9e278efb7d371796d
BLAKE2b-256 checksum
How to use checksums
65d86bb66b91e9b4b80e5cd26af8abb438a9d9572cdef83d9da212fe9b74664d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

Security for minimal-pba-cli-plugin-example 0.0.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Release history Release notifications | RSS feed

This release

0.0.3 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page