Skip to main content

Climux

GitHub Workflow Status PyPI PyPI - Python Version GitHub

Library for writing command-line interfaces

Installation

pip install climux

Usage

from climux import Cli, Command

def hello(name="stranger"):
    """Say hello."""
    return f"Hello, {name}!"

cli = Cli("hello", description="Hello world app.")
cli.add(Command(hello))
cli.run()

See examples.

Features

  • Subcommands
  • Generate CLI help and options from function signature and docstring
  • Automatic dispatch to command handling functions

License

MIT.

Metadata

Release files for climux 0.1.1

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

Source distribution (sdist)

Source distribution for climux 0.1.1
File Size Uploaded Provenance Actions
climux-0.1.1.tar.gz 10.2 kB Without provenance Details for climux-0.1.1.tar.gz

Built distribution (wheel)

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

Total release size: 26.1 kB

Release files / climux-0.1.1.tar.gz

Download URL climux-0.1.1.tar.gz
Size 10.2 kB
Tags Source
SHA-256 checksum
How to use checksums
2ada620866055c2c92c183d7ccd4541a3aed30fb1196e3d40d433b49016401af
BLAKE2b-256 checksum
How to use checksums
1c20655aa43507b22e4e0d97e53083a876f857198337782dfee69a1bb1ba7704
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4

Release files / climux-0.1.1-py3-none-any.whl

Download URL climux-0.1.1-py3-none-any.whl
Size 15.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fe0ea551f721195e9486c156cdf5753cfeb75fff42e922614decb248747fe150
BLAKE2b-256 checksum
How to use checksums
bf169c1daf83dcf6cde015c92b6febaba2b7e2af01acca65f6bb2900e5031808
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4

Security for climux 0.1.1

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.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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