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.6.tar.gz
(13.1 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
powercmd-0.3.6-py3-none-any.whl
(17.4 kB
view details)
File details
Details for the file powercmd-0.3.6.tar.gz.
File metadata
- Download URL: powercmd-0.3.6.tar.gz
- Upload date:
- Size: 13.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8e77826f3073c7e555b93970db86ef156cf665eab3d1011f8602cd7990c27509
|
|
| MD5 |
e8499474426cfeaa125aabcddd03265a
|
|
| BLAKE2b-256 |
8e18ceb2869167681af89b11b922ddfbb0f327422350b09525143f598bf642be
|
File details
Details for the file powercmd-0.3.6-py3-none-any.whl.
File metadata
- Download URL: powercmd-0.3.6-py3-none-any.whl
- Upload date:
- Size: 17.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
da61dd0a7142ea7db12e5fcfe42f56c699ecaa1f676b0b869ea64f9dd04e6275
|
|
| MD5 |
2d530233607f8e32f6aeb63255370bd4
|
|
| BLAKE2b-256 |
749dd1ecf040749973ef00a065734363d8caeb0bb6aae297c5c11a1d3829d440
|