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

Uploaded Source

Built Distribution

eia-0.3.0-py3-none-any.whl (7.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: eia-0.3.0.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.3.0.tar.gz
Algorithm Hash digest
SHA256 77e7403fbc6b31b1e99601517c314633179583ffa82f0ebd22b3d2c77a63c497
MD5 55026a3d55635c25a28eeba088ddc276
BLAKE2b-256 256305ad0baafb39fd8398b2656f13dce2fc9ee15b603dbd41f1a99a6f6689a4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: eia-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 7.6 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.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4032b08844527883a9e9cf453f64d92af11c9544b0c4a21d1f4d4d19bb0753c2
MD5 f006a03c503a430b23db5cab64ca8dd9
BLAKE2b-256 b9b1b4469e6a90f257b6ce7916a7a171722701a9b422e82985c79f4b19b3d0a5

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