Skip to main content

Converts function's signature to getopt-style command line options and arguments.

Project description

This module may be helpful in writing small and clear scripts, with no ugly command line parsing code, as it has the following features:

  • Automatically generate argument parsers basing on “main” function signature and docstring.

  • Automatically run the “main” function when a script is called directly, but not when it is included as a module.

Right after this module was written, its author discovered for himself the entrypoint module (https://pypi.python.org/pypi/entrypoint). But it appeared to be that original entrypoint behaves sometimes in a strange way. So, it was decided to continue development, and also to rename this module to rvlm.entrypoint from former rvlm.argmap, becase this name sounds better still doesn’t introduce names conflict by having a prefix.

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

rvlm.entrypoint-0.0.7.tar.gz (5.7 kB view details)

Uploaded Source

File details

Details for the file rvlm.entrypoint-0.0.7.tar.gz.

File metadata

File hashes

Hashes for rvlm.entrypoint-0.0.7.tar.gz
Algorithm Hash digest
SHA256 21520784697b9041408a671f1e76b2836e182bb28eda48669cb99b92c64d56d6
MD5 97a3a1dc256b3ee4400ee19f755344c9
BLAKE2b-256 4d700efa1951e95aadc3668427ec5742c99b3089b782530cb86996d86d268559

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page