ANN: Gastown Command Line Parser V1.0.1

ANN: Gastown Command Line Parser V1.0.1

Post by Ed Vander » Thu, 06 Jul 2006 16:22:01

The Gastown Command Line Parser has been updated to 1.0.1. This release
fixes a couple defects and includes a number of modest improvements.

Gastown allows you to easily and reliably parse parameters that are
passed to your program on the command line. Delphi 5, 6, 7, 8 and 2006
(both Win32 and Delphi .Net) are supported. C# support will be available
soon as a separate product.

The functionality includes:
o automatic handling of single and double quoted strings.
o parameters can be of different types including strings, booleans,
integers and floats.
o integer and float parameters can be limited to a certain range.
o parameters can have default values.
o parameters can be marked as required.
o automatic generation of help messages describing the parameters.
o informative messages if the parameters are incorrect.
o support for short and long parameter names.

For more information or to download a trial version, visit

Ed Vander Hoek
email: ed.vanderhoek at the appropriate domain

1. [ANN] tumblr-0.0.1 - tumblr for the command line

2. [ANN] argparse 0.1 - Command-line parsing library

Announcing argparse 0.1

argparse home:

argparse at PyPI:

argparse module download:

About this release

This release fixes a few minor bugs and adds the 'outfile' type.
Extensive updates to the API documentation make this the most
thoroughly documented release yet:

New in this release

* The 'outfile' type.
* API documentation.

About argparse

The argparse module is an optparse-inspired command line parser that
improves on optparse by:

* handling both optional and positional arguments
* supporting parsers that dispatch to sub-parsers
* producing more informative usage messages
* supporting actions that consume any number of command-line args
* allowing types and actions to be specified with simple callables
instead of hacking class attributes like STORE_ACTIONS or

as well as including a number of other more minor improvements on the
optparse API. To whet your appetite, here's a simple program that sums
its command-line arguments and writes them to a file::

parser = argparse.ArgumentParser()
parser.add_argument('integers', type=int, nargs='+')
parser.add_argument('--log', type='outfile', default=sys.stdout)
args = parser.parse_args()
args.log.write('%s\n' % sum(args.integers))

3. [ANN] main-0.0.1 - command line apps for the truly lazy

4. [ANN] argparse 0.1 - Command-line parsing library

5. [ANN] gettext-2.0.1, gettext_activerecord-2.0.1, gettext_rails-2.0.1

6. ANN: Pyrr 0.1 - Lexer and LR(1)-Parser Generator for Python

7. ANN: Python Computer Graphics Kit v1.0.1

8. [ANN] dev-utils v1.0.1

9. ANN: Syntext Serna V1.0.1 XSL-on-the-fly WYSIWYG XML Editor

10. ANN: pynakotheka v1.0.1

11. ANN: Pyrogine2D API v1.0.1

12. ANN: pynakotheka v1.0.1

13. ANN: Python Computer Graphics Kit v1.0.1

14. [ANN] locale-2.0.1, locale_rails-2.0.1