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

Uploaded Python 3

File details

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

File metadata

  • Download URL: python_esios-0.2.3.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.3.tar.gz
Algorithm Hash digest
SHA256 ce9badd5b0681761fa1ee3c310a030a9bfab9f04dc2c82a99798b77d9903d714
MD5 505e3aa7fdd1da7eddbc049cc268976d
BLAKE2b-256 a13d333ed6b8bf661da176196ce11748308795e3d9213d06aefa1d5c27ed2e3b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: python_esios-0.2.3-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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 744ca272240a86d6c86c9987cf74ff69a59c0129ef012fb2c6ba5fa3b980746a
MD5 b63971fe874322121f459a6caa1512a5
BLAKE2b-256 7fdc26ba9b40e742b35352f91eb87c1ba08a3e6210fa2be430032846e7efb2b3

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