Introduction

The Open Electricity Python SDK

Open Electricity provides a Python SDK for accessing the API and analysing data.

The Python SDK is available on PyPI.

Features

  • Synchronous and asynchronous API clients
  • Fully typed with comprehensive type annotations
  • Automatic request retries and error handling
  • Context manager support
  • Modern Python (3.10+) with full type annotations
  • Direct conversion to Pandas and Polars DataFrames for analysis

Installation

uv
bash
uv add openelectricity
pip
bash
pip install openelectricity

Project Source

The project source code is available on GitHub at https://github.com/opennem/openelectricity-python.

You can file issues and contribute to the project there.

↑↓ navigate open esc close