Skip to main content

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

Metadata

Release files for curb 0.0.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for curb 0.0.4
File Size Uploaded Provenance
curb-0.0.4.tar.gz 3.9 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for curb 0.0.4
File Interpreter ABI Platform
curb-0.0.4-py3-none-any.whl Python 3 none any Details

Total release size: 8.0 kB

Release files / curb-0.0.4.tar.gz

Download URL curb-0.0.4.tar.gz
Size 3.9 kB
Tags Source
SHA-256 checksum
How to use checksums
55597e7229147968a9afaa097ee332fcffa4f8d8e25b135a3fc5696529a27e2d
BLAKE2b-256 checksum
How to use checksums
e639bd83972c06afd92c1f56c8966813cb44b18ba6513f05832df7d6da666b62
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / curb-0.0.4-py3-none-any.whl

Download URL curb-0.0.4-py3-none-any.whl
Size 4.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d50abf4bcd54a79f0364d94da6db38bacfb9ad272e8cb15153dd1c68f1abfdc9
BLAKE2b-256 checksum
How to use checksums
8fa0c931cb6a5ee7f2b1afd7975c6f438ccc69b5db9cd29e8796e042bfbc892f
Upload date
Uploaded using Trusted Publishing?
What is 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

Security for curb 0.0.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Release history Release notifications | RSS feed

This release

0.0.4 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page