Library for quick CLI user prompts, input, and menus.
Introduction
This project provides a Python 3.8+ library that allows the user to quickly create CLI prompts for user input. The main features of Qprompt are:
- Simple multi-entry menus.
- Prompt for typed (integer/float/string) input.
- Optional default values and validity checks.
- Various CLI convenience functions.
- User input can optionally be supplied from script command-line arguments allowing for simple automation.
- Should work on any platform without additional dependencies.
Status
Currently, this project is in the development release stage. While this project is suitable for use, please note that there may be incompatibilities in new releases.
Release notes are maintained in the project changelog.
Requirements
Qprompt should run on any Python 3.8+ interpreter and uses some third-party libraries.
Installation
Qprompt is available on PyPI here and can be installed with pip using the following command: pip install qprompt
Additionally, Qprompt can be installed from source by running: pip install .
Documentation
The full documentation for this project can be found here on Read the Docs.
Roadmap
The following potential updates are under consideration:
- Accept multiple menu choices from user at once; e.g. space separated entries like
1 2 q. - Timeouts for prompt inputs; default value used if timed out.
Contributing
Contributions or feedback is welcome and encouraged!
A list of those who have helped with this project is available in the authors file.
Similar
The following projects are similar and may be worth checking out:
Metadata
Release files for qprompt 0.16.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| qprompt-0.16.4.tar.gz | 10.3 kB | With provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| qprompt-0.16.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 21.2 kB
Release files / qprompt-0.16.4.tar.gz
| Download URL | qprompt-0.16.4.tar.gz |
|---|---|
| Size | 10.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
60353acef34c80557cb3fe7c04fbe0e9ea0b343cb65ecf24b62397a0872a1f31
|
|
BLAKE2b-256 checksum How to use checksums |
e49bb089860309e6c60f4c9d735beee3713b00af8fb58ae2890a4b38cca7772a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 5, 2026.
Transparency logRelease files / qprompt-0.16.4-py3-none-any.whl
| Download URL | qprompt-0.16.4-py3-none-any.whl |
|---|---|
| Size | 10.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c4559ed6872b55609752085b101fee0e1f9e8c19dbff5d693ca385a78c4b3c50
|
|
BLAKE2b-256 checksum How to use checksums |
96286f8749129373c18c515e9e12f3527616c094d22821a1d16ed7d4f7ba1f33
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 5, 2026.
Transparency logSecurity for qprompt 0.16.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for qprompt-0.16.4.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 5, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.