CLY 0.9

CLY is a Python module for simplifying the creation of interactive shells. Kind of like the builtin cmd module on steroids.
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

last updated on:
December 30th, 2007, 4:06 GMT
price:
FREE!
homepage:
swapoff.org
license type:
LGPL (GNU Lesser General Public License) 
developed by:
Alec Thomas
category:
ROOT \ Terminals
CLY
Download Button

In a hurry? Add it to your Download Basket!

user rating 12

4.3/5
 

0/5

Rate it!

Add your review!

SUBMIT