pyesios


Namepyesios JSON
Version 0.1.3 PyPI version JSON
download
home_pagehttps://github.com/SanPen/ESIOS
SummaryAccess to the ESIOS data, the Spanish electricity market entity.
upload_time2024-04-03 18:21:21
maintainerNone
docs_urlNone
authorSantiago Peñate Vera
requires_python<4.0,>=3.9
licenseLICENSE.txt
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # 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](https://github.com/SanPen/ESIOS/blob/master/example.png)

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](./CONTRIBUITING.md) 



[![Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json)](https://github.com/astral-sh/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.
            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/SanPen/ESIOS",
    "name": "pyesios",
    "maintainer": null,
    "docs_url": null,
    "requires_python": "<4.0,>=3.9",
    "maintainer_email": null,
    "keywords": null,
    "author": "Santiago Pe\u00f1ate Vera",
    "author_email": "santiago.penate.vera@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/35/1a/4cdf0db30a2634b2ee028c0b17e0752d51c0b04bae28186f5e18a1567c0b/pyesios-0.1.3.tar.gz",
    "platform": null,
    "description": "# ESIOS\nAccess to the ESIOS data, the Spanish electricity market entity, in python 3 \n(python 2.7 might work but it is not supported)\n\nThis API is made to make it painless to access the market published data.\n\nFirst you need a token string. You should ask for yours to: Consultas Sios <consultasios@ree.es>\nIt looks like this\n`'615e6d8c80629b8eef25c8f3d0c36094e23db4ed50ce5458f3462129d7c46dba'`\n\nTo use the ESIOS module, just do:\n\n```\nfrom ESIOS import *\n\ntoken = '615e6d8c80629b8eef25c8f3d0c36094e23db4ed50ce5458f3462129d7c46dba'\n\nesios = ESIOS(token)\n\nindicators_ = [1293, 600]  # demand (MW) and SPOT price (\u20ac)\n\nnames = esios.get_names(indicators_)\n\ndfmul, df_list, names = esios.get_multiple_series(indicators_, start_, end_)\ndf = dfmul[names]  # get the actual series and neglect the rest of the info\n```\n\nThis is an example of what you can get:\n\n![Image of some indicators on December 2015](https://github.com/SanPen/ESIOS/blob/master/example.png)\n\nIf you have any suggestion please write to: <santiago.penate.vera@gmail.com> (Espa\u00f1ol e Ingl\u00e9s)\n\nTo install ESIOS package\n\n```\npip install pyesios\n\n# To build the graphs in the examples\npip install pyesios[graphs]\n```\n\n## [Contribuiting](./CONTRIBUITING.md) \n\n\n\n[![Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json)](https://github.com/astral-sh/ruff)\n\n## WARNING\n\nThe API is having troubles with request made from 2022 on, There is a limiter in place to not go to those dates.",
    "bugtrack_url": null,
    "license": "LICENSE.txt",
    "summary": "Access to the ESIOS data, the Spanish electricity market entity.",
    "version": "0.1.3",
    "project_urls": {
        "Bug Tracker": "https://github.com/SanPen/ESIOS/issues",
        "Homepage": "https://github.com/SanPen/ESIOS",
        "Repository": "https://github.com/SanPen/ESIOS",
        "Source Code": "https://github.com/SanPen/ESIOS"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "74b22dcb67fbb57d732340c59c40cae73a70b6256d13b99b1e13adb793e0cce6",
                "md5": "e2e7428f73efe7cac808cfcc98cd9083",
                "sha256": "de91d83e2f18e7c568b0ae81f7805dc29913238238d2898c5f50a8c224567208"
            },
            "downloads": -1,
            "filename": "pyesios-0.1.3-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "e2e7428f73efe7cac808cfcc98cd9083",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<4.0,>=3.9",
            "size": 19704,
            "upload_time": "2024-04-03T18:21:20",
            "upload_time_iso_8601": "2024-04-03T18:21:20.569638Z",
            "url": "https://files.pythonhosted.org/packages/74/b2/2dcb67fbb57d732340c59c40cae73a70b6256d13b99b1e13adb793e0cce6/pyesios-0.1.3-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "351a4cdf0db30a2634b2ee028c0b17e0752d51c0b04bae28186f5e18a1567c0b",
                "md5": "1d1bca64055bcc5c7a37c3ba40ec7004",
                "sha256": "adc5820ed8ddded7bccaf0d51deb9653963195ad43f10faa9e322767c726e899"
            },
            "downloads": -1,
            "filename": "pyesios-0.1.3.tar.gz",
            "has_sig": false,
            "md5_digest": "1d1bca64055bcc5c7a37c3ba40ec7004",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<4.0,>=3.9",
            "size": 18474,
            "upload_time": "2024-04-03T18:21:21",
            "upload_time_iso_8601": "2024-04-03T18:21:21.918288Z",
            "url": "https://files.pythonhosted.org/packages/35/1a/4cdf0db30a2634b2ee028c0b17e0752d51c0b04bae28186f5e18a1567c0b/pyesios-0.1.3.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-04-03 18:21:21",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "SanPen",
    "github_project": "ESIOS",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "pyesios"
}
        
Elapsed time: 3.50006s