A command-line argument parser that builds itself.
Project description
Introduction
CLAP is the command-line argument parser that builds itself.
It is designed to be easy to use, by building itself based on a function’s signature and documentation.
This project is not intended to be used for simple scripts, but rather command-line tools that have multiple sub-commands and options. (I would like to add support for simple scripts in the future.)
Getting Started
Requires Python 3.8+ and uses NumPy-style docstrings.
Available on PyPI as ndg.clap. Install it with PIP.
python -m pip install -U ndg.clap
For an example project, see fuji.
Room for Improvement
Add support for simple scripts
Add documentation using Sphinx
Add unit tests
Add examples
Write a better README
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
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
File details
Details for the file ndg.clap-0.1.4.tar.gz.
File metadata
- Download URL: ndg.clap-0.1.4.tar.gz
- Upload date:
- Size: 26.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9b5d53b534100399a7db7d874d2fd286388f1b3a0138ed580d59fc66432782ea
|
|
| MD5 |
99249b10d8b7441fb3baeb618397ca0f
|
|
| BLAKE2b-256 |
0db2a9d53c4f00a14a1907aedaadd7b2bd742f9bf07b97d2e4e54e52b4e3ab96
|
File details
Details for the file ndg.clap-0.1.4-py3-none-any.whl.
File metadata
- Download URL: ndg.clap-0.1.4-py3-none-any.whl
- Upload date:
- Size: 33.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
34ed03ac4796e66335967c33000379a6a0932932b52337167f387f772ab1bb74
|
|
| MD5 |
d75e8913a8ef0ce00ba9b69cf6cea6b3
|
|
| BLAKE2b-256 |
a4843d53ca4cc88204d0dedabd90a261165674d423f48970637342847a5996fc
|