prompt 0.2.0
pip install prompt==0.2.0
Newer version available (0.4.1)
Released:
This is a library for prompting input on the command line.
Navigation
Unverified details
These details have not been verified by PyPIProject links
Meta
- License: MIT License (MIT)
- Author: Stefan Fischer
- Tags prompt , input , console , terminal , tty
Classifiers
- Development Status
- Environment
- Intended Audience
- License
- Operating System
- Programming Language
- Topic
Project description
This is a library for prompting input on the command line.
Python 3.2+ and Wheels are supported.
It was initiated by Stefan Fischer and is developed and maintained by
many others.
Questions can be asked via e-mail.
Source code is tracked on GitHub.
Changes between releases are documented.
Bugs can be reported on the issue tracker.
Install
The package is available on PyPI:
$ pip install prompt
Use
The package may be imported directly:
import prompt # modify default prompt integer = prompt.integer(prompt="Please enter a number: ") # allow empty response and return None real = prompt.real(empty=True) # require a two digit number 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 Stefan Fischer
The source code is available under the MIT License.
See
LICENSE
for further details.
Project details
Unverified details
These details have not been verified by PyPIProject links
Meta
- License: MIT License (MIT)
- Author: Stefan Fischer
- Tags prompt , input , console , terminal , tty
Classifiers
- Development Status
- Environment
- Intended Audience
- License
- Operating System
- Programming Language
- Topic
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 prompt-0.2.0.tar.gz
.
File metadata
- Download URL: prompt-0.2.0.tar.gz
- Upload date:
- Size: 4.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
4697d0015217de1833d25b5439ef360ffdeb6f3c46998804d01d057e6b0d8407
|
|
MD5 |
54f82aba9d3f017f380328682acea57b
|
|
BLAKE2b-256 |
475772c35f8fcee278afa4a6f2d016b2eac516a21283049e42c7bb76a9e92929
|
File details
Details for the file prompt-0.2.0-py3-none-any.whl
.
File metadata
- Download URL: prompt-0.2.0-py3-none-any.whl
- Upload date:
- Size: 5.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
38f2d88b2d4c423e2256d71df392775338f5bdfb03c3c500905baae2c6f15588
|
|
MD5 |
9cca20c8e0625643afa192931128f453
|
|
BLAKE2b-256 |
63659b65393f747bbaa9207b2a3d161c56489ca8e3ee4e61bb409b60fcbeef85
|