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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: eia-0.2.0.tar.gz
  • Upload date:
  • Size: 6.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.0.tar.gz
Algorithm Hash digest
SHA256 23feef225fd2bdc3b2889e7531d3bf33d7d8810e096b8dc2c40cd9a0134281e6
MD5 8f5a1dcf797a669567169a29ff706ba3
BLAKE2b-256 f6ac60ccc92e74a12db3fef60b643821763c06615bae30b334384880e62b05a6

See more details on using hashes here.

File details

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

File metadata

  • Download URL: eia-0.2.0-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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e78e50ff8b53199411ff9de4356440f6ab6a264fbb97a8266308896c8515bd55
MD5 138515eb9b9dd3e2db00f884dd431bdd
BLAKE2b-256 7765d7f5d641b7c989c7aa873b180db438643a312ab15ddab88f7e3ce6bd4ac0

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