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 ( 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

Release history Release notifications

History Node


This version
History Node


History Node


History Node


History Node


History Node


History Node


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
rvlm.entrypoint-0.0.6.tar.gz (5.5 kB) Copy SHA256 hash SHA256 Source None Feb 12, 2014

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page