semvec/pypi-packages huggingface dataset:
txsimplegeo.shared 0.9.83
Twisted library for interfacing with SimpleGeo's API
License: MIT License
Keywords: simplegeo

txsimplegeo.shared
==================

Please see our on-line docs for detailed instructions, examples, support forums, etc.:

http://simplegeo.com/docs/clients-code-libraries/python


See also the blocking (non-Twisted) versions of these libraries:

https://github.com/simplegeo/python-simplegeo-shared

http://pypi.python.org/pypi/simplegeo-shared
Cmdopt 0.2.0
pretty good command-line option parser
License: MIT License

Overview
========

Cmdopt.py is command-line option parser for Python.

Example::

    import sys, cmdopt
    ## create parser
    parser = cmdopt.Parser()
    ## define options
    parser.option("-h, --help",       "show help")
    parser.option("-f, --file=FILE",  "read file")
    parser.option("-i, --indent=N",   "indent width")\
          .validation(lambda val: not val.isdigit() and "integer required.")\
          .action(lambda val, opts: setattr(opts, 'indent', int(val)))
    ## parse args
    args = sys.argv[1:]
    opts = parser.parse(args)    # may raise cmdopt.ParseError
    if opts.help:
        print(parser.help())     # or parser.help(width=15, indent="  ")

Features:

* Validator
* Handler
* Help message
* Multiple option

See README_ for details.

.. _README: https://bitbucket.org/kwatch/cmdopt/wiki/Cmdopt.py