CMD + K

pynisher

Community

A small Python library to limit the resources used by a function by executing it inside a subprocess.

Installation

To install this package, run one of the following:

Conda
$conda install sfe1ed40::pynisher

Usage Tracking

0.6.4
1 / 8 versions selected
Downloads (Last 6 months): 0

Description

The pynisher is a little module intended to limit a functions resources. It starts a new process, sets the desired limits, and executes the function inside it. In the end, it returns the function return value. If, for any reason, the function call is not successful, None is returned.

About

Summary

A small Python library to limit the resources used by a function by executing it inside a subprocess.

Last Updated

Jun 25, 2024 at 21:34

License

MIT

Total Downloads

11.2K

Supported Platforms

linux-s390x
linux-aarch64
linux-64
macOS-64
macOS-arm64