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 details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
curb-0.0.4-py3-none-any.whl
(4.1 kB
view details)
File details
Details for the file curb-0.0.4.tar.gz.
File metadata
- Download URL: curb-0.0.4.tar.gz
- Upload date:
- Size: 3.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
55597e7229147968a9afaa097ee332fcffa4f8d8e25b135a3fc5696529a27e2d
|
|
| MD5 |
d26e4fdf385594c0a8c669e7e84734b1
|
|
| BLAKE2b-256 |
e639bd83972c06afd92c1f56c8966813cb44b18ba6513f05832df7d6da666b62
|
File details
Details for the file curb-0.0.4-py3-none-any.whl.
File metadata
- Download URL: curb-0.0.4-py3-none-any.whl
- Upload date:
- Size: 4.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d50abf4bcd54a79f0364d94da6db38bacfb9ad272e8cb15153dd1c68f1abfdc9
|
|
| MD5 |
7243b833aca3a798ba44e22a7c14b0a7
|
|
| BLAKE2b-256 |
8fa0c931cb6a5ee7f2b1afd7975c6f438ccc69b5db9cd29e8796e042bfbc892f
|