Skip to main content

toolcli

toolcli makes it simple to create modular command line interfaces

the main usecase for toolcli is allowing many cli subcommands to be defined across many files in a performant way

toolcli uses argparse under the hood, making it easy to transition from argparse to toolcli when a project is ready to scale to multiple subcommands or multiple files

Features

  • lazy loading of files for fast startup times
  • is agnostic to synchronous functions or async functions
  • uses rich for colorized help output
  • uses argparse under the hood for parsing arguments
  • no user-facing objects, just simple functions
  • built-in support for common subcommands like help, cd, and version
  • can use middleware before and/or after main command execution (e.g. for logging or additional context injection)

Metadata

Release files for toolcli 0.6.16

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

Source distribution (sdist)

Source distribution for toolcli 0.6.16
File Size Uploaded Provenance
toolcli-0.6.16.tar.gz 23.9 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for toolcli 0.6.16
File Interpreter ABI Platform
toolcli-0.6.16-py3-none-any.whl Python 3 none any Details

Total release size: 57.7 kB

Release files / toolcli-0.6.16.tar.gz

Download URL toolcli-0.6.16.tar.gz
Size 23.9 kB
Tags Source
SHA-256 checksum
How to use checksums
018f0657f1216f1e15bc43b858f20ffdee8ef0b1df028d814a3d9b350ffd8fa0
BLAKE2b-256 checksum
How to use checksums
1617320ca2b5c110439d553c07e81252434d9818f6b6f83d6f14df8018968866
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-requests/2.30.0

Release files / toolcli-0.6.16-py3-none-any.whl

Download URL toolcli-0.6.16-py3-none-any.whl
Size 33.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
df57eb78cf6364da2bc2282f4c0a0ab219470dc4cd0c940d839582de4b288606
BLAKE2b-256 checksum
How to use checksums
bc90369281dfbe2d9e8768402043f905bcccfe7dd7e0da9709e85369ef4236c9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-requests/2.30.0

Security for toolcli 0.6.16

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