NESO-energy-py
This package is a light weight wrapper around the NESO energy data platform of the Electricity Operator of GB, NESO.
Installation
There are 2 clients:
NesoClient: returnspandasdataframesNesoRawClient: returns raw data without further parsing in a dataframe
If you do not need the pandas parsing and just use NesoRawClient, install the package with pip install neso-energy-py
If you do need the parsing and want to use NesoClient, install the package with pip install neso-energy-py[pandas]
The package will detect the presence of pandas and make NesoClient available if possible.
Example Usage
from nesoenergy import NesoClient
client = NesoClient()
print('Available data sets:')
print(client.DATASETS)
# This download corresponds to the UI page: https://www.neso.energy/data-portal/historic-demand-data/historic_demand_data_2025
# Download the full dataset by simple csv download
df_csv = client.get_resource_csv_by_name(
data_set='historic-demand-data',
resource_name='historic_demand_data_2025'
)
# Download the data with a sql filter
df_filtered = client.query_resource_by_name(
data_set='historic-demand-data',
resource_name='historic_demand_data_2025',
filter='"ENGLAND_WALES_DEMAND" > 30000'
)
There are several other functions to help you use it, the names should be self-explanatory. If not please open a github issue!
Metadata
Release files for neso-energy-py 0.1.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 | |
|---|---|---|---|---|
| neso_energy_py-0.1.0.tar.gz | 83.7 kB | With provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| neso_energy_py-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 88.7 kB
Release files / neso_energy_py-0.1.0.tar.gz
| Download URL | neso_energy_py-0.1.0.tar.gz |
|---|---|
| Size | 83.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8a08a4677cbe3005d93504e6f86370366f22692f195d32348218162c68ebab4b
|
|
BLAKE2b-256 checksum How to use checksums |
f1a69adc2d6142caad52184e8bd9e1ac430c5ca9d8ed2d519b75e92a4cc614eb
|
| 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 22, 2026.
Transparency logRelease files / neso_energy_py-0.1.0-py3-none-any.whl
| Download URL | neso_energy_py-0.1.0-py3-none-any.whl |
|---|---|
| Size | 5.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c372c4bb7d36319fb155fe7addfded38273de318c7082249430df5d16edfdea4
|
|
BLAKE2b-256 checksum How to use checksums |
200640f99ea3d7835bb2cb91e9ed4dd1d812792075b6cf1b6774df4ca57e5da7
|
| 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 22, 2026.
Transparency logSecurity for neso-energy-py 0.1.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 neso_energy_py-0.1.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 22, 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.