Projects / optcomplete

optcomplete

optcomplete is a Python module that provides programmable shell completion support for Python scripts that use the optparse module. It implements the Bash completion protocol, and a simple common shell function invokes the script to provide the completion suggestions. As an optparse parser already contains most of the useful information to provide completions, only two lines of code are required to provide basic support for completions to an existing script. It also allows the developer to provide per-option completion, etc.

Tags
Licenses
Implementation

RSS Recent releases

  •  29 Jan 2004 10:23

Release Notes: The license was changed from GNU GPL to BSD.

  •  28 Jan 2004 23:50

No changes have been submitted for this release.

Screenshot

Project Spotlight

PHP Mini SQL Admin

A standalone script for accessing MySQL databases.

Screenshot

Project Spotlight

HaTTiP

An HTTP Web services client for the Mac.