Skip to main content

Create argparser automatically from functions

Project description

Overview

A wrapper around argparser to help build CLIs from functions. Uses typehints extensively.

PyPi Version Python Version

Unix Build Status Windows Build Status Coverage Status Scrutinizer Code Quality PyPI Version PyPI License

Setup

Installation

Install it directly into an activated virtual environment:

$ pip install arger

or add it to your Poetry project:

$ poetry add arger

Usage

After installation, the package can imported:

$ python
>>> import arger
>>> arger.__version__

Alternatives

argh

  • has similar goals as to ease up using argparser.
  • doesn't support type hints.
  • No recent releases.

typer

  • if you are using click, I highly recommend you to check this library.
  • it is neat and many features are inspired from this library.
  • doesn't support loading help text for arguments from docstrings.

invoke

  • doesn't support type hints.

cliche

  • has similar goals.
  • doesn't cover much use cases as arger.

This project was generated with cookiecutter using jacebrowning/template-python.

Project details


Download files

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

Source Distribution

arger-0.1.tar.gz (8.5 kB view details)

Uploaded Source

Built Distribution

arger-0.1-py3-none-any.whl (8.6 kB view details)

Uploaded Python 3

File details

Details for the file arger-0.1.tar.gz.

File metadata

  • Download URL: arger-0.1.tar.gz
  • Upload date:
  • Size: 8.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.0.5 CPython/3.8.2 Linux/5.6.2-1-MANJARO

File hashes

Hashes for arger-0.1.tar.gz
Algorithm Hash digest
SHA256 b61e456a0b3b027f27f73e212cd23c10291707f830720a0d9687b2bdf2055435
MD5 d548862f9ca6f06b810381dd07dfa9df
BLAKE2b-256 279b8d961ec327295326df991cbee8fcc2962b796bdeab47d8cdfb5751cacca5

See more details on using hashes here.

File details

Details for the file arger-0.1-py3-none-any.whl.

File metadata

  • Download URL: arger-0.1-py3-none-any.whl
  • Upload date:
  • Size: 8.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.0.5 CPython/3.8.2 Linux/5.6.2-1-MANJARO

File hashes

Hashes for arger-0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a4d8fa2160b097a5e016fe4076e7b44cf1fcb7b06e3f5ffd7e1dc86bafb4f094
MD5 f252a3e48d439faff23ca0af9a2aa06e
BLAKE2b-256 0f6a84c0f293c0e464a72268c459cead67ff569a83bb0be9a1e98edc169f1747

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page