Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python.announce > #325 > unrolled thread
| Started by | Kyle Alan Hale <dev@kylealanhale.com> |
|---|---|
| First post | 2011-09-13 22:49 -0700 |
| Last post | 2011-09-13 22:49 -0700 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.lang.python.announce
New project | quicli: write command line interfaces quickly Kyle Alan Hale <dev@kylealanhale.com> - 2011-09-13 22:49 -0700
| From | Kyle Alan Hale <dev@kylealanhale.com> |
|---|---|
| Date | 2011-09-13 22:49 -0700 |
| Subject | New project | quicli: write command line interfaces quickly |
| Message-ID | <mailman.1120.1316012679.27778.python-announce-list@python.org> |
Quicli is a wrapper around Python's built in argparse module. While argparse focuses on a comprehensive set of features, quicli emphasizes a simple, easy-to-use interface, driven by function metadata and decorators, with integrated data validation. This isn't meant to replace argparse (it depends on it, actually) but to enhance it. Where argparse is strong, quicli reinforces. Where argparse is bulky, quicli is svelte. What quicli lacks, it still allows argparse to provide. For usage and installation instructions, visit <http:// dev.kylealanhale.com/wiki/projects/quicli> Features: * Major argparse features are implemented and accessible via function decorators * Introspects default values for argument names and types, as well as program name, description, and help message * Simple validation of user input * An extended FileType object * The ability to restart a program on error (optionally with different input values than were initially provided) for seamless error recovery * Progress context managers (visual feedback helpers, including a text- based progress bar) * Unit tests for all of the above * Extensive documentation This is my first public python project, so I'm eager for feedback from the community.
Back to top | Article view | comp.lang.python.announce
csiph-web