CMD + K

stopit

Community

Raise asynchronous exceptions in other thread, control the timeout of blocks or callables with a context manager or a decorator

Installation

To install this package, run one of the following:

Conda
$conda install conda-forge::stopit

Usage Tracking

1.1.2
1.1.1
2 / 8 versions selected
Downloads (Last 6 months): 0

Description

This module provides: - a function that raises an exception in another thread, including the main thread. - two context managers that may stop its inner block activity on timeout. - two decorators that may stop its decorated callables on timeout.

About

Summary

Raise asynchronous exceptions in other thread, control the timeout of blocks or callables with a context manager or a decorator

Last Updated

Feb 10, 2018 at 00:46

License

MIT

Total Downloads

3.1M

Supported Platforms

noarch