Skip to main content
https://yourlabs.io/oss/cli2/badges/master/pipeline.svg https://codecov.io/gh/yourlabs/cli2/branch/master/graph/badge.svg https://img.shields.io/pypi/v/cli2.svg

cli2: Python Automation Framework

A Python command line and Ansible Action plugin framework that loves meta programming: do less and get more out of it, perfect for many kinds of DevOps gigs to automate everything.

Batteries included, all of which are useful on their own:

  • beautiful CLI alternative to click, but much less verbose, allowing more creative design patterns without any boilerplate thanks to introspection

  • which comes with a Sphinx extension to extensively document your CLIs

  • magic 12-factor configuration library

  • extremely beautiful structlog configuration for colorful and readable logging

  • httpx client wrapper that handles all kind of retries, data masking…

  • magic ORM for HTTP resources based on that client

  • Ansible Action plugin library with all the beautiful logging and a rich testing library so that you can go straight to the point in pytest

  • a good old fcntl based locking

  • a command line to run any python function over a beautiful CLI

  • AI CLI with prompt2

  • AI coding with code2 (TBA)

Documentation available on RTFD.

Metadata

Release files for cli2 5.2.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 cli2 5.2.3
File Size Uploaded Provenance
cli2-5.2.3.tar.gz 62.9 kB Without provenance Details

Release files / cli2-5.2.3.tar.gz

Download URL cli2-5.2.3.tar.gz
Size 62.9 kB
Tags Source
SHA-256 checksum
How to use checksums
592b8f7753e5a67e19daf0b3f62a82765dc444d8a2447a8f1040b83ac7b522ee
BLAKE2b-256 checksum
How to use checksums
08703e0086f16b8a72ae35a80c3b4d593d3c7014600aca33abe6ee5e5145376b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.2

Security for cli2 5.2.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

5.2.3 This release

1 release file 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