Repository navigation
Releases
v0.2.0
Full Changelog: v0.1.4...v0.2.0
v0.1.4
v0.1.3
v0.1.2
v0.1.1
vgi-eia 0.1.0
Python VGI worker for EIA energy data through API v2.
- Eight functions for routes, metadata, frequencies, measures, facets, facet values, observations and legacy-series translation.
- Paginated single-measure observations preserve native periods, source units, dimensions and missing/suppressed markers.
- SQL-secret/environment API credentials, separate HTTP bearer authentication, bounded retries and credential-safe errors.
- Validates metadata, counts, duplicate identities, repeated pages and incomplete facet listings.
Validation: 107 pytest tests; Ruff, strict mypy, pydoclint and 100/100 strict VGI metadata lint; Haybarn stdio/launch/HTTP; 21 stock-DuckDB and 24 authenticated HTTP checks. Wheel/source installs repeat those contracts outside the checkout.
Live validation: six official API discovery checks passed using EIA's public demo key. Its shared quota then returned 429, so the paginated live data checks remain unverified. The worker honored Retry-After. Use an operator-owned EIA_API_KEY to run the complete make smoke-live suite.
Release CI gates the signed wheel and source archive; the wheel has a provenance attestation. See README.md and VERIFICATION.md for tested SQL and deployment guidance.