Skip to main content

Client for interacting with the EIA API

Project description

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.

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

eia-0.1.0.tar.gz (6.6 kB view details)

Uploaded Source

Built Distribution

eia-0.1.0-py3-none-any.whl (7.3 kB view details)

Uploaded Python 3

File details

Details for the file eia-0.1.0.tar.gz.

File metadata

  • Download URL: eia-0.1.0.tar.gz
  • Upload date:
  • Size: 6.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.1 CPython/3.11.3

File hashes

Hashes for eia-0.1.0.tar.gz
Algorithm Hash digest
SHA256 42dbe9278c2fd6717029bca5bb2a98b5cadad708d3e0d5bcd8bae56903b5af6c
MD5 99e5e267ceab0af6860e5d20b76625cf
BLAKE2b-256 ceee5845bda4da0b9eb3c32efe09d1d7c3c6ea682fecd1ea0015089c71229eee

See more details on using hashes here.

File details

Details for the file eia-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: eia-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 7.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.1 CPython/3.11.3

File hashes

Hashes for eia-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ff9c8931a4b1e6be6431c7e4e9ee88e57b03638837003f05a40389e6037699d8
MD5 58325b38cc098dcd63455ff7f09324eb
BLAKE2b-256 902f1b9973b8cf50d77c10a7b6f592ae624effd658366f2da98a364913bfd2ab

See more details on using hashes here.

Supported by

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