Reserved package name for future Carbon Ops Guardrails distribution.
Project description
co2e (Carbon Ops Guardrails placeholder)
This repository now publishes a minimal co2e package to reserve the PyPI name for the future Carbon Ops Guardrails distribution. The placeholder release ships lightweight scaffolding only; real functionality will arrive in later versions.
What you can expect
- Signed telemetry ledger – every emission estimate will be ed25519 signed and anchored via Merkle proofs.
- Energy-to-carbon estimation – ingestion jobs will convert runtime metrics into kWh and CO₂e using grid intensity APIs.
- Evidence exports – repeatable audit packages with inclusion proofs and configuration snapshots.
Repository layout
carbon-ops/
├── README.md
├── pyproject.toml
├── src/
│ └── carbon_ops/
│ ├── __init__.py
│ ├── config.py
│ ├── ledger.py
│ └── pipeline.py
└── tests/
└── test_placeholder.py
Quick start
- Create and activate a Python 3.11 virtual environment.
- Install the package in editable mode:
pip install -e ".[dev]". - Run the placeholder tests:
pytest.
Next steps
- Implement telemetry ingestion adapters for Vertex AI job logs.
- Flesh out the ledger module with ed25519 signing and Merkle tree anchoring.
- Integrate grid intensity providers (e.g., WattTime) and unit tests around estimation logic.
Licensing
Choose an open-source license before publishing a production-ready release (MIT, Apache-2.0, or BUSL-1.1 are all viable depending on release strategy).
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
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
File details
Details for the file co2e-0.0.1.tar.gz.
File metadata
- Download URL: co2e-0.0.1.tar.gz
- Upload date:
- Size: 4.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6ec506217bfd4ef6c464f4aee09395e7105705f6437256ac2a3f18c8db3f7d51
|
|
| MD5 |
b061f690d70cae9bf1b573ed41c75ad9
|
|
| BLAKE2b-256 |
b5fc08d4025fcb9d860907f819e09a1eae942520fbdfd4d068695d168f5a3aa1
|
File details
Details for the file co2e-0.0.1-py3-none-any.whl.
File metadata
- Download URL: co2e-0.0.1-py3-none-any.whl
- Upload date:
- Size: 5.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a9e1e5b3b9d3c364f8021c3881c08cb59a2d8487659708594a15972ddec998f8
|
|
| MD5 |
74ebcebcddb42776f42e1a0880e76154
|
|
| BLAKE2b-256 |
6a913938cd88e8853a9247f8a8b5ff0ce798dcf5cca95b4b39b7ec7fe94e9cb6
|