Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/imyizhang/streaminput
Extension of Python built-in input() with timeout
https://github.com/imyizhang/streaminput
input timeout
Last synced: about 2 months ago
JSON representation
Extension of Python built-in input() with timeout
- Host: GitHub
- URL: https://github.com/imyizhang/streaminput
- Owner: imyizhang
- License: mit
- Created: 2021-05-26T09:46:23.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-05-26T10:46:14.000Z (over 3 years ago)
- Last Synced: 2024-10-14T07:20:03.423Z (2 months ago)
- Topics: input, timeout
- Language: Python
- Homepage: https://pypi.org/project/StreamInput/
- Size: 1.95 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# StreamInput
StreamInput is
* extension of Python built-in `input()` with timeout
* written in [Python (3.7+) Standard Library](https://docs.python.org/3.7/library/)## Quickstart
```python
from streaminput import streaminputdata = streaminput(prompt='>>> ', timeout=10)
print(data)
```### Install StreamInput
```bash
$ pip install streaminput
```