Skip to main content

A lightweight argument manager for Python CLI tools

Project description

ArgMan

A lightweight, zero-dependency argument parser for Python CLI tools — simple, testable, and intuitive.

ArgMan example code

Features

  • Short (-v) and long (--verbose) flags
  • Type-safe parsing: int, float, str, bool, list
  • Default values and boolean toggles
  • Repeated arguments with arg_list
  • Positional arguments
  • Automatic --no-flag for booleans
  • --arg=value and -- terminator support
  • Clean help and error messages

Documentation

Usage examples and API reference: docs/


Installation

You can install ArgMan directly from PyPi:

pip install argman

Running Tests

python -m unittest discover tests

Roadmap

v0.1 — Core Functionality

  • Complete

v0.2 — Extended Features

  • arg_list, --no-flag, --arg=value, -- support
  • Custom error messages, config files, subcommands

v0.3 — Docs & Publish

  • Docs ready
  • Publish to PyPI

v0.4 — Validation & Customization

  • Validators, formatters, dependencies, custom handlers

License

LGPL-3.0 © 2025

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

argman-0.2.1.tar.gz (13.7 kB view details)

Uploaded Source

Built Distribution

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

argman-0.2.1-py3-none-any.whl (10.7 kB view details)

Uploaded Python 3

File details

Details for the file argman-0.2.1.tar.gz.

File metadata

  • Download URL: argman-0.2.1.tar.gz
  • Upload date:
  • Size: 13.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for argman-0.2.1.tar.gz
Algorithm Hash digest
SHA256 50ddeb2f3429301121bfca78ae4fec312c0b54766ec96385e55ba50bbb6a20c9
MD5 211c98ffadbb2d440003e381bf6bcdd3
BLAKE2b-256 412235f02d86857a813ef08392c24de661af9ce610c29f9d65389af39e57b9be

See more details on using hashes here.

File details

Details for the file argman-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: argman-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 10.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for argman-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 7b317e07e593ab79adc4e1fa5779ecb1e333ed08003e94db001931c69bc6cf3c
MD5 992d9a077014d96752382d1d2d236def
BLAKE2b-256 efef936e7676700b41b7bec79d03eeb6bc371c49f452ce66e240559a90621cde

See more details on using hashes here.

Supported by

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