Skip to main content

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.

Metadata

Release files for pyesios 0.1.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pyesios 0.1.3
File Size Uploaded
pyesios-0.1.3.tar.gz 18.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pyesios 0.1.3
File Interpreter ABI Platform
pyesios-0.1.3-py3-none-any.whl Python 3 none any Details

Total release size: 38.2 kB

Release files / pyesios-0.1.3.tar.gz

Download URL pyesios-0.1.3.tar.gz
Size 18.5 kB
Tags Source
SHA-256 checksum
How to use checksums
adc5820ed8ddded7bccaf0d51deb9653963195ad43f10faa9e322767c726e899
BLAKE2b-256 checksum
How to use checksums
351a4cdf0db30a2634b2ee028c0b17e0752d51c0b04bae28186f5e18a1567c0b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.6.1 CPython/3.11.8 Linux/6.8.2-arch2-1

Release files / pyesios-0.1.3-py3-none-any.whl

Download URL pyesios-0.1.3-py3-none-any.whl
Size 19.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
de91d83e2f18e7c568b0ae81f7805dc29913238238d2898c5f50a8c224567208
BLAKE2b-256 checksum
How to use checksums
74b22dcb67fbb57d732340c59c40cae73a70b6256d13b99b1e13adb793e0cce6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.6.1 CPython/3.11.8 Linux/6.8.2-arch2-1

Release history Release notifications | RSS feed

This release

0.1.3 This release

2 release files

0.1.2

2 release files

0.1.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page