Skip to content

Latest commit

 

History

History
44 lines (31 loc) · 1.12 KB

README.md

File metadata and controls

44 lines (31 loc) · 1.12 KB

PSE Logo

pse-python-sdk

PyPI

Community-maintained Python SDK for the PSE (Polskie Sieci Elektroenergetyczne) public reporting API.

API reference: https://api.raporty.pse.pl/app/home

Installation

pip install pse-sdk

Quick Start

from pse_sdk import PSEClient

client = PSEClient()

# list[dict] with all columns
rows = client.fetch("price-cost", start="2025-10-01", end="2025-10-31")

# pd.DataFrame (requires pandas) with selected columns
df = client.fetch(
    "price-cost",
    start="2025-10-01",
    end="2025-10-31",
    columns=["cen_cost", "ckoeb_cost"],
    format="dataframe",
)

Documentation