CLY 0.9

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

  Add it to your Download Basket!

 Add it to your Watch List!

0/5

Rate it!
send us
an update
LICENSE TYPE:
LGPL (GNU Lesser General Public License) 
USER RATING:
4.3/5 12
DEVELOPED BY:
Alec Thomas
HOMEPAGE:
swapoff.org
CATEGORY:
ROOT \ Terminals
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

#interactive shells #create shell #Python module #interactive #shell #Python #module

Add your review!

SUBMIT