Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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 streaminput

data = streaminput(prompt='>>> ', timeout=10)
print(data)
```

### Install StreamInput

```bash
$ pip install streaminput
```