Skip to main content

API to access energy data

Project description

gridstatus logo

Code Coverage PyPI version

gridstatus is a Python library that provides a uniform API for accessing electricity supply, demand, and pricing data for the major Independent System Operators (ISOs) in the United States. It currently supports data from CAISO, SPP, ISONE, MISO, ERCOT, NYISO, PJM, IESO, and the EIA.

GridStatus.io and Hosted API

To preview some of the data this library provides access to, visit GridStatus.io.

If you are trying to use our hosted API, you might want to check out the gridstatusio library here.

To learn more about our hosted API visit: https://www.gridstatus.io/api.

Community

Installation

gridstatus supports python 3.9+. Install with pip

python -m pip install gridstatus

Upgrade using the following command

python -m pip install --upgrade gridstatus

Environment Variables

  • Some parsers require the use of environment variables
    • The EIA class
    • The ErcotAPI class
  • Environment variables can be set in the following ways
    • In a .env file in the root of the project
    • In the environment where the code is run
  • See .env.template for the required environment variables and how to register for them

Documentation and Examples

To learn more, visit the documentation and view example notebooks.

Get Help

We'd love to answer any usage or data access questions! Please let us know by posting a GitHub issue.

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

gridstatus-0.28.0.tar.gz (289.8 kB view details)

Uploaded Source

Built Distribution

gridstatus-0.28.0-py3-none-any.whl (312.1 kB view details)

Uploaded Python 3

File details

Details for the file gridstatus-0.28.0.tar.gz.

File metadata

  • Download URL: gridstatus-0.28.0.tar.gz
  • Upload date:
  • Size: 289.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for gridstatus-0.28.0.tar.gz
Algorithm Hash digest
SHA256 c6ab4bc577ffd613dc99ab4608839ff97d91573c73b88be0823affcb32ff10f8
MD5 75442ac316852184689cc920f2e1ce45
BLAKE2b-256 4b72bcb10c68cd9ce2865055b53b807c81f976764599dba343ddeb6346ed2c39

See more details on using hashes here.

File details

Details for the file gridstatus-0.28.0-py3-none-any.whl.

File metadata

  • Download URL: gridstatus-0.28.0-py3-none-any.whl
  • Upload date:
  • Size: 312.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for gridstatus-0.28.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9a1fc5ffc30809909b41c9b0e625ddadc0c913a63a4eff90a375ddb049c14dcb
MD5 345afa24a55f2871993a53f37c8aeb4f
BLAKE2b-256 9509bc0e34fb6c9bfcd92ba3302834121e66c87e9cc6e4b69f3907dc7a03a517

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