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.2.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.2-py3-none-any.whl (18.9 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for python_esios-0.2.2.tar.gz
Algorithm Hash digest
SHA256 115fbfa6ea2be74cb06624693b9d9cd4dcd65d8e6fa2e3bc9c4687be062370fe
MD5 e812767048298f0086b44993af7f95a2
BLAKE2b-256 a811ea7b83e2a40ce2c4c62440c611bc2ca3a06d18597871b48e0817cee627c9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: python_esios-0.2.2-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.19

File hashes

Hashes for python_esios-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 2b6d3d6c3ec25d20534d9182a680ced9c9598edd046f1939e9bcbd85580ece5b
MD5 079b4cb3306028d1f81e091a458bc227
BLAKE2b-256 bea7c472ce237ed3dc41b4acf884dbcf12b096f7b15b3dbddff09b69b6dcf250

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