promptr is a toolkit for building CLI shells, similar to that found on a Cisco router.
Project description
promptr is a toolkit for building CLI shells, similar to that found on a Cisco router.
The library uses a click and flask style decorator driven interface that allows you to quickly and easily build a shell.
Documentation
promptr’s documentation can be found at https://promptr.readthedocs.io
Installing promptr
promptr can be installed from Pypi using pip:
pip install promptr
Thanks
Thanks to prompt-toolkit for the underlying functionality, and thanks to pallets for the click and flask inspiration.
Contributing
To contribute to promptr, please try to make sure that any new features, or changes to existing functionality include test coverage.
Additionally, please format your code using yapf with facebook style prior to issuing your pull request.
yapf --style=facebook -i -r promptr setup.py
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
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
File details
Details for the file promptr-0.2.0.tar.gz.
File metadata
- Download URL: promptr-0.2.0.tar.gz
- Upload date:
- Size: 8.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.14.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.7.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
44320b97e89aef99cce012f220adf90433a08182f6baf7b9f73d9e9f6f940631
|
|
| MD5 |
c3108c9e51a22b3b317a14a39d188465
|
|
| BLAKE2b-256 |
48015a8e2b82ee8a622518a840f76b8d507290d0be8a591bcd830746681d24fc
|
File details
Details for the file promptr-0.2.0-py2.py3-none-any.whl.
File metadata
- Download URL: promptr-0.2.0-py2.py3-none-any.whl
- Upload date:
- Size: 8.9 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.14.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.7.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
03a15446ea7ba5ed7ce1f7e68fec488178333234b1de073bf411ec936e99456e
|
|
| MD5 |
f4472090f37e19c9af7bf86ddb9ea4e3
|
|
| BLAKE2b-256 |
8ceaf056478a132c36a3df844d2543c17bbfa47e93c7e25c554fc940923d148e
|