Skip to main content

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

  1. Create and activate a Python 3.11 virtual environment.
  2. Install the package in editable mode: pip install -e ".[dev]".
  3. 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).

Release files for co2e 0.0.1

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

Source distribution (sdist)

Source distribution for co2e 0.0.1
File Size Uploaded
co2e-0.0.1.tar.gz 4.6 kB Details

Built distribution (wheel)

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

Total release size: 9.7 kB

Release files / co2e-0.0.1.tar.gz

Download URL co2e-0.0.1.tar.gz
Size 4.6 kB
Tags Source
SHA-256 checksum
How to use checksums
6ec506217bfd4ef6c464f4aee09395e7105705f6437256ac2a3f18c8db3f7d51
BLAKE2b-256 checksum
How to use checksums
b5fc08d4025fcb9d860907f819e09a1eae942520fbdfd4d068695d168f5a3aa1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.9

Release files / co2e-0.0.1-py3-none-any.whl

Download URL co2e-0.0.1-py3-none-any.whl
Size 5.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a9e1e5b3b9d3c364f8021c3881c08cb59a2d8487659708594a15972ddec998f8
BLAKE2b-256 checksum
How to use checksums
6a913938cd88e8853a9247f8a8b5ff0ce798dcf5cca95b4b39b7ec7fe94e9cb6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.9

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 release files

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