Skip to main content

Access to the ESIOS data, the Spanish electricity market entity.

Project description

ESIOS

Access to the ESIOS data, the Spanish electricity market entity, in python 3 (python 2.7 might work but it is not supported)

This API is made to make it painless to access the market published data.

First you need a token string. You should ask for yours to: Consultas Sios consultasios@ree.es It looks like this '615e6d8c80629b8eef25c8f3d0c36094e23db4ed50ce5458f3462129d7c46dba'

To use the ESIOS module, just do:

from ESIOS import *

token = '615e6d8c80629b8eef25c8f3d0c36094e23db4ed50ce5458f3462129d7c46dba'

esios = ESIOS(token)

indicators_ = [1293, 600]  # demand (MW) and SPOT price (€)

names = esios.get_names(indicators_)

dfmul, df_list, names = esios.get_multiple_series(indicators_, start_, end_)
df = dfmul[names]  # get the actual series and neglect the rest of the info

This is an example of what you can get:

Image of some indicators on December 2015

If you have any suggestion please write to: santiago.penate.vera@gmail.com (Español e Inglés)

To install ESIOS package

pip install pyesios

# To build the graphs in the examples
pip install pyesios[graphs]

Contribuiting

Ruff

WARNING

The API is having troubles with request made from 2022 on, There is a limiter in place to not go to those dates.

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

pyesios-0.1.2.tar.gz (18.4 kB view details)

Uploaded Source

Built Distribution

pyesios-0.1.2-py3-none-any.whl (19.6 kB view details)

Uploaded Python 3

File details

Details for the file pyesios-0.1.2.tar.gz.

File metadata

  • Download URL: pyesios-0.1.2.tar.gz
  • Upload date:
  • Size: 18.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.6.1 CPython/3.11.5 Linux/6.5.9-arch2-1

File hashes

Hashes for pyesios-0.1.2.tar.gz
Algorithm Hash digest
SHA256 bce630450f72dab605c3b60477777e6dc1099130151c959d747c0dc7d8b921ba
MD5 5cf6fefd5435c6e16a88df5a9279b898
BLAKE2b-256 0669e196adb316c2afa9318261c2e056fe2e9f4fd49aa38eff7fb60c6d28bbfe

See more details on using hashes here.

Provenance

File details

Details for the file pyesios-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: pyesios-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 19.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.6.1 CPython/3.11.5 Linux/6.5.9-arch2-1

File hashes

Hashes for pyesios-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 c68fdc820119ef6aa5e8b34db5cbd7bc607d2df48235474200cc94e236a5029d
MD5 bedf1deac67129b02830afed79cd9ae6
BLAKE2b-256 79f3074b4532b7112a7191df23fb4236799cb0ab9569225a8f8a349010785d0e

See more details on using hashes here.

Provenance

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