Metadata-Version: 2.4
Name: gridstatus
Version: 0.35.0
Summary: API to access energy data
Project-URL: Source Code, https://github.com/gridstatus/gridstatus/
Project-URL: Changes, https://github.com/gridstatus/gridstatus/blob/main/CHANGELOG.md
Project-URL: Issue Tracker, https://github.com/gridstatus/gridstatus/issues
Author-email: Max Kanter <kmax12@gmail.com>, Will Koehrsen <will@gridstatus.com>, Ryan Kladar <ryan@gridstatus.com>
License: Copyright 2022 James Max Kanter
        
        Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
        
        1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
        
        2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
        
        3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
        
        THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
License-File: LICENSE
Keywords: energy,independent system operator
Requires-Python: <3.15,>=3.10
Requires-Dist: beautifulsoup4~=4.13
Requires-Dist: certifi~=2025.1
Requires-Dist: cryptography~=44.0
Requires-Dist: frozendict~=2.4
Requires-Dist: lxml~=5.3
Requires-Dist: openpyxl~=3.1
Requires-Dist: pandas~=2.2
Requires-Dist: pdfplumber~=0.11
Requires-Dist: plotly~=6.0
Requires-Dist: requests~=2.32
Requires-Dist: rpds-py>=0.30.0; python_version >= '3.14'
Requires-Dist: setuptools~=78.1
Requires-Dist: tabulate~=0.9
Requires-Dist: termcolor~=3.0
Requires-Dist: tqdm~=4.67
Requires-Dist: urllib3~=2.4
Requires-Dist: virtualenv~=20.30
Requires-Dist: xlrd~=2.0
Requires-Dist: xmltodict~=0.14
Requires-Dist: zipp~=3.21
Description-Content-Type: text/markdown

<p align="center">
<img width=75% src="./gridstatus-header.png" alt="gridstatus logo" />
</p>

<p align="center">
    <!-- disable until tests more reliable -->
    <!-- <a href="https://github.com/gridstatus/gridstatus/actions?query=branch%3Amain+workflow%3ATests" target="_blank">
        <img src="https://github.com/gridstatus/gridstatus/workflows/Tests/badge.svg?branch=main" alt="Tests" />
    </a> -->
    <a href="https://codecov.io/gh/gridstatus/gridstatus" target="_blank">
        <img src="https://codecov.io/gh/gridstatus/gridstatus/branch/main/graph/badge.svg" alt="Code Coverage"/>
    </a>
    <a href="https://badge.fury.io/py/gridstatus" target="_blank">
        <img src="https://badge.fury.io/py/gridstatus.svg?maxAge=2592000" alt="PyPI version">
    </a>
</p>

The `gridstatus` open source library is a Python library maintained by [Grid Status](https://www.gridstatus.io/) 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](https://www.gridstatus.io/api) or visit [GridStatus.io](https://www.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](https://github.com/gridstatus/gridstatusio).

## Community

- Need Help? Post a [GitHub issue](https://github.com/gridstatus/gridstatus/issues)
- Want to stay updated? Follow us on
  - [LinkedIn](https://linkedin.com/company/grid-status)
  - [BlueSky](https://bsky.app/profile/gridstatus.io)
- Read [our blog](https://blog.gridstatus.io/)
- Want to contribute? Read our [Contributing Guide](CONTRIBUTING.md)

## 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](.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](https://opensource.gridstatus.io/) and view [example notebooks](https://opensource.gridstatus.io/en/latest/Examples/caiso/index.html).

## Get Help

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