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.2.1.tar.gz (7.8 kB view details)

Uploaded Source

Built Distribution

eia-0.2.1-py3-none-any.whl (7.5 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for eia-0.2.1.tar.gz
Algorithm Hash digest
SHA256 8832bc6f567493d93c50c68e2bcb0c7902461e3ecd5990af19b05689609c62ec
MD5 a71ec809e0da0a0c641eaf88a71726cc
BLAKE2b-256 634734cc0f35a05695469afd2900e7c717ed3ff66a8361bc9f9fa35f40078474

See more details on using hashes here.

File details

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

File metadata

  • Download URL: eia-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 7.5 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.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 74c32c0778e0d6771b10e7cfec5fc36ad6a81e0156456f7c7d86996f598d4cdf
MD5 a372e239dbc752e532c90b1f4ce9b7c0
BLAKE2b-256 7709770b928fca2f0d20d34faf0d67a52f8b598b6252ab03d23e07c457c130d0

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