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.

Source Distribution

powercmd-0.3.5.tar.gz (12.9 kB view hashes)

Uploaded Source

Built Distributions

powercmd-0.3.5-py3.8.egg (39.4 kB view hashes)

Uploaded Source

powercmd-0.3.5-py3-none-any.whl (17.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page