Skip to main content

Argument parser for humans

This library implements simple argument parser, based on function signature and docstring messages

Usage

Usage example:

>>> from consoleargs import command
>>> @command
>>> def main(destination, name=None, verbose=0):
>>>   """
>>>    :param destination: Where to look
>>>    :param name: Whot to search
>>>    :param verbose: How much to talk
>>>   """
>>>   print destination, name, verbose

Release files for consoleargs 0.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for consoleargs 0.4
File Size Uploaded
consoleargs-0.4.tar.gz 2.6 kB Details

Release files / consoleargs-0.4.tar.gz

Download URL consoleargs-0.4.tar.gz
Size 2.6 kB
Tags Source
SHA-256 checksum
How to use checksums
6341a357f7f7a14ae2209ffdab4a935b7fcbff31714451df6ad870f15347409b
BLAKE2b-256 checksum
How to use checksums
502ccb9de29ffa68403aef79ab32b362a1f0c174ad93abfc2597bf058f7e34f6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.4 This release

1 release file

0.3

1 release file

0.2

1 release file

0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page