Skip to main content

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.

Files for powercmd, version 0.3.4
Filename, size File type Python version Upload date Hashes
Filename, size powercmd-0.3.4-py3.7.egg (39.1 kB) File type Egg Python version 3.7 Upload date Hashes View
Filename, size powercmd-0.3.4-py3-none-any.whl (17.2 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size powercmd-0.3.4.tar.gz (12.5 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page