Skip to main content

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 --help documentation
  • 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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

arc_cli-8.7.1.tar.gz (68.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

arc_cli-8.7.1-py3-none-any.whl (91.9 kB view details)

Uploaded Python 3

File details

Details for the file arc_cli-8.7.1.tar.gz.

File metadata

  • Download URL: arc_cli-8.7.1.tar.gz
  • Upload date:
  • Size: 68.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.12.2 Darwin/24.4.0

File hashes

Hashes for arc_cli-8.7.1.tar.gz
Algorithm Hash digest
SHA256 43cd9561794b261db6bc41e5eaa93fdb534035f6d248499c3375181c17cb7dfb
MD5 0fb4b320c9539e95d5471cf168626ada
BLAKE2b-256 4f7b0c9e2a65ff1857287e0767107c32f26a9ba0cb329f8db3fba4316286b5a5

See more details on using hashes here.

File details

Details for the file arc_cli-8.7.1-py3-none-any.whl.

File metadata

  • Download URL: arc_cli-8.7.1-py3-none-any.whl
  • Upload date:
  • Size: 91.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.12.2 Darwin/24.4.0

File hashes

Hashes for arc_cli-8.7.1-py3-none-any.whl
Algorithm Hash digest
SHA256 05a91d55d2e381e7753b6e10d4df93bce6bdf654aa7d9318a87d4b374a09a7f6
MD5 80a578187ca12ad3ac46ebb6517a0760
BLAKE2b-256 79506eb05196f109a80c24816eb74c4dca0b21dec28328aa9691bb0c1ff5b386

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

8.7.1 This release

2 files

8.7.0

2 files

8.6.3

2 files

8.6.2

2 files

8.6.1

2 files

8.6.0

2 files

8.5.0

2 files

8.4.2

2 files

8.4.1

2 files

8.4.0

2 files

8.3.0

2 files

8.2.0

2 files

8.1.5

2 files

8.1.3

2 files

8.1.2

2 files

8.1.1

2 files

8.1.0

2 files

8.0.0

2 files

7.0.3

2 files

7.0.2

2 files

7.0.1

2 files

7.0.0

2 files

6.4.0

2 files

6.3.0

2 files

6.2.2

2 files

6.2.1

2 files

6.2.0

2 files

6.1.0

2 files

6.0.1

2 files

6.0.0

2 files

5.0.0

2 files

5.0.0b1

2 files

4.0.0

2 files

3.3.0

2 files

3.2.0

2 files

3.1.0

2 files

3.0.1

2 files

3.0.0

2 files

2.4.1

2 files

2.4.0

1 file

2.3.0

1 file

2.2.1

1 file

2.1.0

1 file

2.0.2

1 file

2.0.1

1 file

2.0

1 file

1.2.1

1 file

1.2

1 file

1.1

1 file

1.0.1

1 file

1.0

1 file

0.9

1 file

0.8.1

1 file

0.8

1 file

0.6

1 file

0.5.1

1 file

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page