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.4-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

Details for the file inputimeout-1.0.4-py3-none-any.whl.

File metadata

File hashes

Hashes for inputimeout-1.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 f4e23d27753cfc25268eefc8d52a3edc46280ad831d226617c51882423475a43
MD5 3e6cddbbebd1e17da6fa04a7114e940e
BLAKE2b-256 979c1646ca469bc2dc299ac393c8d31136c6c22a35ca1e373fa462ac01100d37

See more details on using hashes here.

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