Skip to main content

A Python wrapper for the ESIOS API

Project description

A Python library to download preprocessed data from the ESIOS API (REE)

ESIOS API is a service provided by the Spanish electricity system operator (REE) that offers access to a wide range of data related to the electricity market in Spain.

This library provides a simple interface to download and preprocess the data from the ESIOS API.

Install library

pip install python-esios

Get token

Ask for a personal token to access the ESIOS API following the instructions from REE.

Usage

Register the token in Python

TOKEN = '343sdfewe342309gjarijgwoiret834383434524...'
TOKEN = '<YOUR_TOKEN>'

Then, set the token in the environment variable ESIOS_API_KEY.

import os
os.environ['ESIOS_API_KEY'] = TOKEN

Instantiate the client

from esios import ESIOSClient
client = ESIOSClient()

Access the endpoint

endpoint = client.endpoint(name=?)

In the tutorials below, you will learn how to download, preprocess, and visualize the data from the following endpoints:

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

python_esios-0.2.4.tar.gz (17.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

python_esios-0.2.4-py3-none-any.whl (18.9 kB view details)

Uploaded Python 3

File details

Details for the file python_esios-0.2.4.tar.gz.

File metadata

  • Download URL: python_esios-0.2.4.tar.gz
  • Upload date:
  • Size: 17.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.20

File hashes

Hashes for python_esios-0.2.4.tar.gz
Algorithm Hash digest
SHA256 3b8b9b337a51ebfbe78e6cba1fe6307fc8accd4d0961c28b87c5399d4be86f11
MD5 50f4bd3361cde0f310fd0d8fc418c24b
BLAKE2b-256 97e6be00ccdb255e1e250114f4b9e9df53373878169df756335b348e53fef284

See more details on using hashes here.

File details

Details for the file python_esios-0.2.4-py3-none-any.whl.

File metadata

  • Download URL: python_esios-0.2.4-py3-none-any.whl
  • Upload date:
  • Size: 18.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.20

File hashes

Hashes for python_esios-0.2.4-py3-none-any.whl
Algorithm Hash digest
SHA256 8fbac3f51c150af2488c410a0fc94b8916c2c1c83100fedc2a714c7d4036f83d
MD5 f1806c3156cf75ec51fc67ac18e9f062
BLAKE2b-256 a9d63322276a1e72f252523070bc9f8df324e71d9a4d657faae487e87899ce2b

See more details on using hashes here.

Supported by

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