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
Release files for promptr 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| promptr-0.2.0.tar.gz | 8.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| promptr-0.2.0-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details |
Total release size: 17.1 kB
Release files / promptr-0.2.0.tar.gz
| Download URL | promptr-0.2.0.tar.gz |
|---|---|
| Size | 8.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
44320b97e89aef99cce012f220adf90433a08182f6baf7b9f73d9e9f6f940631
|
|
BLAKE2b-256 checksum How to use checksums |
48015a8e2b82ee8a622518a840f76b8d507290d0be8a591bcd830746681d24fc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / promptr-0.2.0-py2.py3-none-any.whl
| Download URL | promptr-0.2.0-py2.py3-none-any.whl |
|---|---|
| Size | 8.9 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
03a15446ea7ba5ed7ce1f7e68fec488178333234b1de073bf411ec936e99456e
|
|
BLAKE2b-256 checksum How to use checksums |
8ceaf056478a132c36a3df844d2543c17bbfa47e93c7e25c554fc940923d148e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|