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.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

inputimeout-1.0.3-py3-none-any.whl (5.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page