skip to navigation
skip to content

Not Logged In

rvlm.entrypoint 0.0.1

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

Latest Version: 0.0.6

Converts function's arguments to getopt-style command line options and arguments. This may definitely help in writing small and clear scripts, with no ugly command line parsing code.

This module can:

  • 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.

 
File Type Py Version Uploaded on Size
rvlm.entrypoint-0.0.1.tar.gz (md5) Source 2014-02-09 4KB
  • Downloads (All Versions):
  • 6 downloads in the last day
  • 104 downloads in the last week
  • 509 downloads in the last month