Skip to main content

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

  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).

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

co2e-0.0.1.tar.gz (4.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

co2e-0.0.1-py3-none-any.whl (5.1 kB view details)

Uploaded Python 3

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

Hashes for co2e-0.0.1.tar.gz
Algorithm Hash digest
SHA256 6ec506217bfd4ef6c464f4aee09395e7105705f6437256ac2a3f18c8db3f7d51
MD5 b061f690d70cae9bf1b573ed41c75ad9
BLAKE2b-256 b5fc08d4025fcb9d860907f819e09a1eae942520fbdfd4d068695d168f5a3aa1

See more details on using hashes here.

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

Hashes for co2e-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a9e1e5b3b9d3c364f8021c3881c08cb59a2d8487659708594a15972ddec998f8
MD5 74ebcebcddb42776f42e1a0880e76154
BLAKE2b-256 6a913938cd88e8853a9247f8a8b5ff0ce798dcf5cca95b4b39b7ec7fe94e9cb6

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page