Skip to main content

OakQuant Energy

U.S. electricity intelligence for utilities, policy teams, and households. The V1 design follows the forecast, evidence, and evaluation practices of OakQuant Investments.

The package contains local source adapters, a forecast ledger, the national Census catalog, household and procurement calculations, and the utility review integrations. The prototype runs in a browser with illustrative data. See the testing guide for the distinction between verified component behavior, local runtime tests, and pilot readiness.

The software is licensed under the Apache License, Version 2.0. The bundled geography catalog and map layers use the U.S. Census Bureau's 2024 cartographic boundary files and 2024 American Community Survey five-year geography file.

Durable forecast history

The Timber domain plugin registers energy.issued_forecasts against its injected DB service. EnergyForecastIssue and EnergyForecastSettlement add two tables to Timber's shared metadata; normal startup table creation provisions them. Existing SQLite issuance remains unchanged. ENERGY_LOCAL_LEDGER_PATH still explicitly selects the local reader in development/test and is rejected in production.

The service provides get_as_issued, replay, and bounded history with the same enterprise-scoped read contract as the local reader. A trusted importer calls import_record(enterprise_id=..., issue=..., settlement=...) with complete frozen receipts. The issue and optional label commit atomically. Exact retries are no-ops; conflicting evidence raises RecordConflict. A settlement may arrive later, but can never replace a prior label. Reads never train or issue a model. Synthetic provenance stays in every stored issue and history response.

Run python -m pytest -q tests/persistence for SQLite transaction coverage. CI runs the same tests against an isolated PostgreSQL service through ENERGY_TEST_DATABASE_URL. This test database must be disposable: its two Energy history tables are recreated per test. Never point it at an application database.

Metadata

Release files for oak-domain-energy 0.1.2

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

Source distribution (sdist)

Source distribution for oak-domain-energy 0.1.2
File Size Uploaded Provenance Actions
oak_domain_energy-0.1.2.tar.gz 825.8 kB With provenance Details for oak_domain_energy-0.1.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for oak-domain-energy 0.1.2
File Interpreter ABI Platform Actions
oak_domain_energy-0.1.2-py3-none-any.whl Python 3 none any Details for oak_domain_energy-0.1.2-py3-none-any.whl

Total release size: 1.7 MB

Release files / oak_domain_energy-0.1.2.tar.gz

Download URL oak_domain_energy-0.1.2.tar.gz
Size 825.8 kB
Tags Source
SHA-256 checksum
How to use checksums
6cbf2a9ef0c2baeeaf30646a96b260d10b39f1d89453e61245e41e775294fc5b
BLAKE2b-256 checksum
How to use checksums
e5923388e795d641d29f0f2d25d585307052ccf41a5d0ad7143f941bd161707a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 12, 2026.

Transparency log

Release files / oak_domain_energy-0.1.2-py3-none-any.whl

Download URL oak_domain_energy-0.1.2-py3-none-any.whl
Size 865.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7f5babec40aa31ae66c93208b34928e45072c003643059900e107b1f5c0d9558
BLAKE2b-256 checksum
How to use checksums
108668ebda5966df5c4f202549bab81dbe84c486803b1a2cfab296024afddd3e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 12, 2026.

Transparency log

Security for oak-domain-energy 0.1.2

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for oak_domain_energy-0.1.2.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 12, 2026.

Transparency log

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.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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