ARC
A tool for building declarative, and highly extendable CLI systems for Python 3.10+
ARC Features
- Command line arguments based on python type hints
- Arbitrary command nesting
- Automatic
--helpdocumentation - Fully Extensible with custom middlewares, types, validators, parameter configurations, etc...
Links
Quick Start
import arc
@arc.command
def hello(name: str):
"""My first arc program!"""
arc.print(f"Hello {name}!")
hello()
$ python hello.py Sean
Hello, Sean!
$ python hello.py --help
USAGE
hello.py [-h] [--] name
DESCRIPTION
My first arc program!
ARGUMENTS
name
OPTIONS
--help (-h) Displays this help message
Installation
$ pip install arc-cli
Clone for development
$ git clone https://github.com/seanrcollings/arc
$ poetry install
Tests
Tests are written with pytest
$ pytest
Metadata
Release files for arc-cli 8.7.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| arc_cli-8.7.1.tar.gz | 68.3 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| arc_cli-8.7.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 160.2 kB
Release files / arc_cli-8.7.1.tar.gz
| Download URL | arc_cli-8.7.1.tar.gz |
|---|---|
| Size | 68.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
43cd9561794b261db6bc41e5eaa93fdb534035f6d248499c3375181c17cb7dfb
|
|
BLAKE2b-256 checksum How to use checksums |
4f7b0c9e2a65ff1857287e0767107c32f26a9ba0cb329f8db3fba4316286b5a5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.2 CPython/3.12.2 Darwin/24.4.0
|
Release files / arc_cli-8.7.1-py3-none-any.whl
| Download URL | arc_cli-8.7.1-py3-none-any.whl |
|---|---|
| Size | 91.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
05a91d55d2e381e7753b6e10d4df93bce6bdf654aa7d9318a87d4b374a09a7f6
|
|
BLAKE2b-256 checksum How to use checksums |
79506eb05196f109a80c24816eb74c4dca0b21dec28328aa9691bb0c1ff5b386
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.2 CPython/3.12.2 Darwin/24.4.0
|
Security for arc-cli 8.7.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.