CLY

  803 downloads
0.9 LGPL (GNU Lesser General Public License)    
4.3/5 12
CLY is a Python module for simplifying the creation of interactive shells. Kind of like the builtin cmd module on steroids.

description

download

specifications

CLY is a Python module for simplifying the creation of interactive shells. Kind of like the builtin cmd module on steroids.

Here are some key features of "CLY":

Tab completion of all commands.
Contextual help.
Extensible grammar - you can define your own commands with full dynamic completion, contextual help, and so on.
Simple. Grammars are constructed from objects using a convenient function-like syntax.
Grammars can also be defined in XML, facilitating a more data-driven approach.
Flexible command grouping and ordering.
Grammar parser, including completion and help enumeration, can be used independently of the readline-based shell. This allows CLY's parser to be used in other environments (think web-based shell ;))
Lots of other cool stuff.

Installation

Normal Python package installation procedures apply:

# python setup.py build
# python setup.py build_ext -i
# python setup.py test
# python setup.py install

This will compile, test and install CLY and the CLY Readline extensions.

Requirements:

Python
READ MORE   
Last updated on December 30th, 2007

0 User reviews so far.

SUBMIT