A Python client for the U.S. Energy Information Administration (EIA) API v2
Project description
Python EIA Client
A minimalist Python client for the U.S. Energy Information Administration (EIA) API v2.
Installation
pip install python-eia
API Key
You must request an API key from the EIA website.
Set your API key in one of two ways:
- Add it to a
.envfile asEIA_API_KEY=your_token - Or pass it directly as a parameter:
EIAClient(api_key="your_token")
Usage Example
See examples/1_Generic/steps/1_Download.ipynb for usage instructions and examples.
License
MIT License
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file python_eia-0.1.0.tar.gz.
File metadata
- Download URL: python_eia-0.1.0.tar.gz
- Upload date:
- Size: 184.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
56bb7a0ac2f68c0bf70e0c8e3a2608844c77514855a2c2e67f5d4ae7953dc9e6
|
|
| MD5 |
abcff8980427de55556f7f3be3fe1e08
|
|
| BLAKE2b-256 |
269307e50a79813e0ae87a23d63a017cd22a407d77baea622be0f8003f627b24
|
File details
Details for the file python_eia-0.1.0-py3-none-any.whl.
File metadata
- Download URL: python_eia-0.1.0-py3-none-any.whl
- Upload date:
- Size: 10.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a2e277c01f63e0bc18bed0690a4e165c68d98d6ef0805987bf3d6e30d9f0c4fa
|
|
| MD5 |
239c954b19c89a69fc1618fb09be4415
|
|
| BLAKE2b-256 |
627865874e017c183c69f67795898dec4dec6ace57a34bbed74425c20825dc6b
|