pynisher
A small Python library to limit the resources used by a function by executing it inside a subprocess.
A small Python library to limit the resources used by a function by executing it inside a subprocess.
To install this package, run one of the following:
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.
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
GitHub Repository
https://github.com/automl/pynisherDocumentation
https://github.com/automl/pynisher/blob/main/README.md