Skip to main content
Python Software Foundation 20th Year Anniversary Fundraiser  Donate today!

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

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page