Skip to main content

EIA

The client exposes a simple interface to the EIA API.

Huge thanks to the EIA for providing this API See https://www.eia.gov/opendata/documentation.php for detailed API documentation

Installation

pip install eia

Examples

Get information on the available "petroleum" datasets.

client.dataset_info("petroleum")

Get information on operational and power data, including generation.

# Series Info includes data series with specific data elements and facets
operational = client.series_info("electricity/electric-power-operational-data")
operational.data

See examples in the example directory.

Note: the client does not manage rate limits. See the EIA API documentation for more information on rate limits.

Metadata

Release files for eia 0.3.0

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

Source distribution (sdist)

Source distribution for eia 0.3.0
File Size Uploaded Provenance
eia-0.3.0.tar.gz 7.8 kB Without provenance Details

Built distribution (wheel)

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

Total release size: 15.4 kB

Release files / eia-0.3.0.tar.gz

Download URL eia-0.3.0.tar.gz
Size 7.8 kB
Tags Source
SHA-256 checksum
How to use checksums
77e7403fbc6b31b1e99601517c314633179583ffa82f0ebd22b3d2c77a63c497
BLAKE2b-256 checksum
How to use checksums
256305ad0baafb39fd8398b2656f13dce2fc9ee15b603dbd41f1a99a6f6689a4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.1 CPython/3.11.3

Release files / eia-0.3.0-py3-none-any.whl

Download URL eia-0.3.0-py3-none-any.whl
Size 7.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4032b08844527883a9e9cf453f64d92af11c9544b0c4a21d1f4d4d19bb0753c2
BLAKE2b-256 checksum
How to use checksums
b9b1b4469e6a90f257b6ce7916a7a171722701a9b422e82985c79f4b19b3d0a5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.1 CPython/3.11.3

Security for eia 0.3.0

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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