pse-python-sdk
Python SDK for the PSE (Polskie Sieci Elektroenergetyczne) public reporting API.
API reference: https://api.raporty.pse.pl/app/home
Disclaimer: not affiliated with PSE S.A.
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
- docs/usage.md: finding endpoints, date ranges, columns and output formats
- docs/endpoints.md: all endpoints, their columns and types
Metadata
Release files for pse-sdk 2.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pse_sdk-2.0.0.tar.gz | 140.6 kB | With provenance | Details for pse_sdk-2.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pse_sdk-2.0.0-py3-none-any.whl | Python 3 | none | any | Details for pse_sdk-2.0.0-py3-none-any.whl |
Total release size: 154.8 kB
Release files / pse_sdk-2.0.0.tar.gz
| Download URL | pse_sdk-2.0.0.tar.gz |
|---|---|
| Size | 140.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
bf6cdcae53bd94975810b8a58c93de777e132ad9662862a8358b234773f09d82
|
|
BLAKE2b-256 checksum How to use checksums |
ae54ed39fe67456e98b7a28ed1c460724763d86e431dff1ba0db698ef9f72167
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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 Oct 27, 2026.
Transparency logRelease files / pse_sdk-2.0.0-py3-none-any.whl
| Download URL | pse_sdk-2.0.0-py3-none-any.whl |
|---|---|
| Size | 14.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
208c3d0463b38c3d78f3f5ffb513de4a9ce6f6ce5c21334adb232dfa46262808
|
|
BLAKE2b-256 checksum How to use checksums |
673587666fc32ff6db576fe04587a4522cb54155d13d7cd9fcf42a19c698cb7a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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 Oct 27, 2026.
Transparency logSecurity for pse-sdk 2.0.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
All 2 files in this release have been uploaded with provenance metadata.
Attestation for pse_sdk-2.0.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 Oct 27, 2026.
Transparency logA 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.