Skip to main content

A command-line argument parser that builds itself.

Project description

Introduction

PyPI Version

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

ndg.clap-0.1.4.tar.gz (26.9 kB view hashes)

Uploaded Source

Built Distribution

ndg.clap-0.1.4-py3-none-any.whl (33.2 kB view hashes)

Uploaded Python 3

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