Skip to main content

promptr is a toolkit for building CLI shells, similar to that found on a Cisco router.

Project description

Compatibility Implementations Format Downloads

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

promptr-0.1.0.tar.gz (5.8 kB view details)

Uploaded Source

Built Distribution

promptr-0.1.0-py2.py3-none-any.whl (6.9 kB view details)

Uploaded Python 2 Python 3

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

Hashes for promptr-0.1.0.tar.gz
Algorithm Hash digest
SHA256 4a421863cead24da1682a5c2d385d37147986ce88da9c8d240256618250c8b89
MD5 539152d0cb1af0fb6361908da4198ccf
BLAKE2b-256 19c63b8c26a5505747df7a3911bd626dda3f0bc61154d40e09b5728ea854b3c2

See more details on using hashes here.

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

Hashes for promptr-0.1.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 44e4874f0e343676fc60f666539bc41adbc892c508a97bb0313b2bdca0667e7c
MD5 22013d6aa858c148805c7c757460f953
BLAKE2b-256 015692ff82cdd4c15a78171771ae9c35198a3a22a8b6ee9422a551f783b42850

See more details on using hashes here.

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