Skip to main content

A minimalist module to containerize child processes

Project description

Curb

A lightweight and simple hardware virtualisation CLI for resource consumption management.

Use Cases:

  1. 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
  2. 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


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)

Uploaded Source

Built Distribution

curb-0.0.4-py3-none-any.whl (4.1 kB view hashes)

Uploaded Python 3

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