Library for prompting input on the command line.
Project description
Python Prompt Package
Prompt and verify user input on the command line.
Python 3.3+ and Wheels are supported.
The project was initiated by Stefan Fischer.
- Documentation is available on PythonHosted.
- Questions can be asked via e-mail.
- Changes between releases are documented.
- Source code is tracked on GitHub.
- Bugs can be reported on the issue tracker.
Use
An extensive documentation is available.
Some simple use cases:
import prompt email = prompt.email() # modify default prompt integer = prompt.integer(prompt="Please enter a number: ") # allow empty response real = prompt.real(empty=True) # require a two digit number using a regular expression regex = prompt.regex("^\d\d$")
Contribute
Write a bug report or send a pull request.
Other
contributors
have done so before.
License
Copyright (c) 2015-2017 Stefan Fischer
The source code is available under the MIT License.
See
LICENSE
for further details.
History
All notable changes to this project will be documented in this file.
This project adheres to Semantic Versioning.
You should Keep a CHANGELOG, too!
0.1.0 - 2015-09-16
Added
- minimum viable product
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Filename, size | File type | Python version | Upload date | Hashes |
---|---|---|---|---|
Filename, size prompt-0.4.1-py3-none-any.whl (7.1 kB) | File type Wheel | Python version py3 | Upload date | Hashes View |
Filename, size prompt-0.4.1.tar.gz (6.5 kB) | File type Source | Python version None | Upload date | Hashes View |