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.
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-flagfor booleans --arg=valueand--terminator support- Clean help and error messages
Documentation
Usage examples and API reference: docs/
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
Release history Release notifications | RSS feed
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.0.tar.gz
(13.0 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
argman-0.2.0-py3-none-any.whl
(10.1 kB
view details)
File details
Details for the file argman-0.2.0.tar.gz.
File metadata
- Download URL: argman-0.2.0.tar.gz
- Upload date:
- Size: 13.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
30929a6a11d52defb88f351b28d59ab7fb0645629399c95f69e73e62a8762c31
|
|
| MD5 |
f8e08e00c07f5f92ef970198c598992c
|
|
| BLAKE2b-256 |
a7c66d677654405b4d0238d14068a2690927f986b238f0656fd2abc8ac8dba2c
|
File details
Details for the file argman-0.2.0-py3-none-any.whl.
File metadata
- Download URL: argman-0.2.0-py3-none-any.whl
- Upload date:
- Size: 10.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
869d507291540fd88370bb35847a9ac9edf4689566f4b5ee71a9352dbdae2d31
|
|
| MD5 |
d90194a70c897601d321f3b8c8af7248
|
|
| BLAKE2b-256 |
54b2760dacf882927219e68d7f824a67419351439cb0838492487126f723c1fc
|