CLY is a powerful Python module that streamlines the development of interactive shells, similar to the builtin cmd module, but with enhanced capabilities.
Creating grammars has never been simpler with CLY's user-friendly function-like syntax, and XML support that enables a data-driven approach. Users can also define their own dynamic commands with full completion and contextual help features, thanks to the tool’s extensible grammar feature.
One of the most important characteristics of this module is its simplicity, allowing users to build grammars from objects conveniently. You can also use CLY's parser, including completion and help enumeration, independently of the readline-based shell. This opens up new possibilities, including web-based shell integration.
It's worth mentioning that CLY provides more than grammar definition; users can take advantage of other fantastic features available. The installation process is easy to follow, with Python package installation procedures required, including build, build_ext-i, test, and install.
Therefore, if you require a reliable Python module for creating interactive shells, you can fully rely on CLY. The only requirement for using all of CLY's features is Python!
Version 0.9: N/A