Skip to main content

Multi platform standard input with timeout

Project description

https://travis-ci.org/johejo/inputimeout.svg?branch=master https://ci.appveyor.com/api/projects/status/2g1fbnrcoj64g8t9?svg=true https://img.shields.io/pypi/v/inputimeout.svg https://img.shields.io/github/license/mashape/apistatus.svg Maintainability Test Coverage https://codecov.io/gh/johejo/inputimeout/branch/master/graph/badge.svg

Description

Multi platform standard input with timeout

Install

$ pip install inputimeout

Usage

from inputimeout import inputimeout, TimeoutOccurred
try:
    something = inputimeout(prompt='>>', timeout=5)
except TimeoutOccurred:
    something = 'something'
print(something)

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for inputimeout, version 1.0.4
Filename, size File type Python version Upload date Hashes
Filename, size inputimeout-1.0.4-py3-none-any.whl (4.6 kB) File type Wheel Python version py3 Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page