Skip to main content

gridstatus logo

Code Coverage PyPI version

The gridstatus open source library is a Python library maintained by Grid Status that provides a consistent API for accessing raw electricity supply, demand, and pricing data for the major Independent System Operators (ISOs) in the United States and Canada. It currently supports data from CAISO, SPP, ISONE, MISO, ERCOT, NYISO, PJM, IESO, AESO, and the EIA.

GridStatus.io and Hosted API

This library provides minimally-processed data. If you need production-ready data, consider using our hosted API or visit GridStatus.io to see the data in a web interface.

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

Community

Installation

gridstatus supports python 3.11+. Install with uv

uv pip install gridstatus

Upgrade using the following command

uv pip install --upgrade gridstatus

Environment Variables

  • Some parsers require the use of environment variables
  • See .env.template for the required environment variables
  • 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

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.

Metadata

Release files for gridstatus 0.35.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for gridstatus 0.35.0
File Size Uploaded Provenance Actions
gridstatus-0.35.0.tar.gz 3.1 MB With provenance Details for gridstatus-0.35.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for gridstatus 0.35.0
File Interpreter ABI Platform Actions
gridstatus-0.35.0-py3-none-any.whl Python 3 none any Details for gridstatus-0.35.0-py3-none-any.whl

Total release size: 3.7 MB

Release files / gridstatus-0.35.0.tar.gz

Download URL gridstatus-0.35.0.tar.gz
Size 3.1 MB
Tags Source
SHA-256 checksum
How to use checksums
778312143da1c52a9c1159da5ad79a0b19d267478de582cd983bf71274668a56
BLAKE2b-256 checksum
How to use checksums
36542142c23a382f2f7f22fe021deadf835cdceacb1f65ef365092f21b799eb9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Mar 14, 2026.

Transparency log

Release files / gridstatus-0.35.0-py3-none-any.whl

Download URL gridstatus-0.35.0-py3-none-any.whl
Size 528.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5eb4451d94456d2bbf6d55584bb97a6ff6041689c762fec1c842ecada95ec0e2
BLAKE2b-256 checksum
How to use checksums
b41a6d0201c87f946bd33794b399436ae6d13601b56c66a51ce7e43777b1eb1b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Mar 14, 2026.

Transparency log

Security for gridstatus 0.35.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for gridstatus-0.35.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Mar 14, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page