A minimalist module to containerize child processes
Project description
Curb
A lightweight and simple hardware virtualisation CLI for resource consumption management.
Use Cases:
- I'm developing a web app and my staging/prod VM has limits set on CPU/RAM - I want to test my app out locally with the same limits to make sure nothing goes wrong
- I want to run a process, and I don't want it to consume resources past a certain limit on my computer
Usage:
Sample Call
python -m curb --cmd="python scripts/empty.py"
Sample Call With Limits
python -m curb --cmd="python scripts/empty.py" --cpu="100%" --ram="512mb"
More Information
python -m curb --help
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
curb-0.0.4.tar.gz
(3.9 kB
view hashes)
Built Distribution
curb-0.0.4-py3-none-any.whl
(4.1 kB
view hashes)