Skip to main content

Pythonic argument parser

Project description

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

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

consoleargs-0.4.tar.gz (2.6 kB view details)

Uploaded Source

File details

Details for the file consoleargs-0.4.tar.gz.

File metadata

  • Download URL: consoleargs-0.4.tar.gz
  • Upload date:
  • Size: 2.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for consoleargs-0.4.tar.gz
Algorithm Hash digest
SHA256 6341a357f7f7a14ae2209ffdab4a935b7fcbff31714451df6ad870f15347409b
MD5 47375d5494188ce1a9dc009f36b86bb5
BLAKE2b-256 502ccb9de29ffa68403aef79ab32b362a1f0c174ad93abfc2597bf058f7e34f6

See more details on using hashes here.

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