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.6
Filename, size File type Python version Upload date Hashes
Filename, size powercmd-0.3.6-py3-none-any.whl (17.4 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size powercmd-0.3.6.tar.gz (13.1 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page