A generic framework to build typesafe line-oriented command interpreters
Project description
powercmd
An extension of the standard cmd module (https://docs.python.org/3.5/library/cmd.html) that uses type annotations to ensure type-safety of defined commands.
Requires Python 3.5+.
Features
- automatic conversion of user input into types specified in annotations
- intelligent (and customizable!) argument tab-completion
- prefix, snake-case-prefix and fuzzy command matching
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
powercmd-0.3.4.tar.gz
(12.5 kB
view hashes)
Built Distributions
powercmd-0.3.4-py3.7.egg
(39.1 kB
view hashes)
powercmd-0.3.4-py3-none-any.whl
(17.2 kB
view hashes)