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 the thanks to pallets for the click and flask inspiration.
Contributing
To contribute to promptr, please make sure that any new features or changes to existing functionality include test coverage.
Pull requests that add or change code without coverage will most likely be rejected.
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
File details
Details for the file promptr-0.1.0.tar.gz
.
File metadata
- Download URL: promptr-0.1.0.tar.gz
- Upload date:
- Size: 5.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.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 | 4a421863cead24da1682a5c2d385d37147986ce88da9c8d240256618250c8b89 |
|
MD5 | 539152d0cb1af0fb6361908da4198ccf |
|
BLAKE2b-256 | 19c63b8c26a5505747df7a3911bd626dda3f0bc61154d40e09b5728ea854b3c2 |
File details
Details for the file promptr-0.1.0-py2.py3-none-any.whl
.
File metadata
- Download URL: promptr-0.1.0-py2.py3-none-any.whl
- Upload date:
- Size: 6.9 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.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 | 44e4874f0e343676fc60f666539bc41adbc892c508a97bb0313b2bdca0667e7c |
|
MD5 | 22013d6aa858c148805c7c757460f953 |
|
BLAKE2b-256 | 015692ff82cdd4c15a78171771ae9c35198a3a22a8b6ee9422a551f783b42850 |