Skip to main content

Simple python wrapper for the National Grid ESO Portal

Project description

pyngeso

Simple python wrapper for the National Grid ESO Portal.

Code style: black pre-commit

Getting started

  • Example usage
from pyngeso import NgEso

resource = "historic-day-ahead-demand-forecast"
date_col = "TARGETDATE"
start_date = "2018-01-01"
end_date = "2018-01-01"

client = NgEso(resource)
# returns content of response
r: bytes = client.query(date_col=date_col, start_date=start_date, end_date=end_date)

Tested reports

Queryable via NG's api

  • historic-day-ahead-demand-forecast
  • day-ahead-demand-forecast
  • historic-2day-ahead-demand-forecast
  • 2day-ahead-demand-forecast
  • historic-2-14-days-ahead-demand-forecast
  • historic-day-ahead-wind-forecast
  • day-ahead-wind-forecast
  • 14-days-ahead-wind-forecast
  • demand-data-update
  • dc-results-summary
  • dc-dr-dm-linear-orders
  • historic-demand-data-{year} [2009-2022]
  • historic-frequency-data [Jan21-Jan22]
  • transmission-entry-capacity-tec-register
  • dx-eac-eso-results-summary
  • dx-eac-eso-sell-orders
  • dx-eac-eso-buy-orders
  • br-eac-eso-results-summary
  • br-eac-eso-sell-orders
  • br-eac-eso-buy-orders
  • br-eac-eso-results-by-units

Download of files

  • historic-generation-mix

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyngeso-0.3.7.tar.gz (7.7 kB view details)

Uploaded Source

Built Distribution

pyngeso-0.3.7-py3-none-any.whl (7.9 kB view details)

Uploaded Python 3

File details

Details for the file pyngeso-0.3.7.tar.gz.

File metadata

  • Download URL: pyngeso-0.3.7.tar.gz
  • Upload date:
  • Size: 7.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.6.1 CPython/3.11.4 Darwin/23.4.0

File hashes

Hashes for pyngeso-0.3.7.tar.gz
Algorithm Hash digest
SHA256 7e8ecf4a9bd489f936875bbc1800f1d8fc3d04a32e351923da29570f51da9c63
MD5 f077d1df2030d85879d1f434dc3aa737
BLAKE2b-256 b23c96e225ef6e027202a72c2557a435b2cbdc682e85cf896cb90772e4305194

See more details on using hashes here.

File details

Details for the file pyngeso-0.3.7-py3-none-any.whl.

File metadata

  • Download URL: pyngeso-0.3.7-py3-none-any.whl
  • Upload date:
  • Size: 7.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.6.1 CPython/3.11.4 Darwin/23.4.0

File hashes

Hashes for pyngeso-0.3.7-py3-none-any.whl
Algorithm Hash digest
SHA256 d52ffca4f89d60bf7213ed96cf5a661c60466a5ec893de523392fbf85a59894f
MD5 3f4cc3933ca58ac959eb0e3e4769d95f
BLAKE2b-256 a44b8aa1d98f597e841c4a001a5bcf2eccb0e013e5a46e90f09719176e65bd54

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page