jao-py
Python client for the various endpoints offered by jao.eu, the Joint Allocation Office. "Europe's single leading trading platform( e-CAT) for cross-border transmission capacity"
More information about JAO can be found on their website https://jao.eu/
jao.eu has various ways of retrieving data. This package tries to offer useful functions to handle them. This package is not exhaustive, more methods are added when the authors needs them. If you want to see other methods added please either open a feature request issue to give others ideas or supply a pull request yourself.
Installation
python3 -m pip install jao-py
Usage
Current clients
The package comes with the current pandas clients:
JaoAPIClient: api client for the webservice API defined hereJaoPublicationToolClient: client for the Core Day-Ahead publication tool defined hereJaoPublicationToolPandasClient: Pandas client for the Core Day-Ahead publication tool defined hereJaoPublicationToolPandasIntraDay: client for Core Intradaypublication tool for Intraday defined hereJaoPublicationToolPandasNordics: client for Nordic Day-Ahead publication tool defined hereJaoPublicationToolPandasItalyNorth: client for Italy North publication tool defined here The publication tool clients have valid data from their respective go lives:- Core Day-Ahead: business day 2022-06-09 onwards
- Core Intraday(a): business day 2024-06-14 onwards
- Core Intraday(b): business day 2024-05-29 onwards
- Core Intraday(c): business day 2025-06-25 onwards
- Nordic Day-Ahead: business day 2024-10-30 onwards
Core Intraday a and b are combined in the same intraday client. In the initialization of the client you can choose which one you want like so:
from jao import JaoPublicationToolPandasIntraDay
client = JaoPublicationToolPandasIntraDay(version='a') # IDCC(a)
client = JaoPublicationToolPandasIntraDay(version='b') # IDCC(b)
client = JaoPublicationToolPandasIntraDay(version='c') # IDCC(c)
client = JaoPublicationToolPandasIntraDay(version='d') # IDCC(d)
Rate Limiter
JAO currently has a fixed rate limiting of 100 requests per minute, if you surpass this a HTTP 429 is returned.
The library has a naive way of handling this by sleeping for RATE_LIMIT_HANDLER seconds, which is by default 60 seconds.
If you want to disable this set RATE_LIMIT_HANDLER to 0 through environment variables and the library will throw a HTTP exception that you can handle yourself.
Experimental Features
Mirror
This package provides support for the experimental data mirror fb.amunmirror.eu.
This allows to download final and prefinal domain from the fast mirror. If the requested day is not available the package will fallback to the JAO publication tool.
To enable it either use use_mirror=True in the function call or set the environment variable JAO_USE_MIRROR=1, by default this feature is off. It is currently only available in ```query_final_domain_
Deprecated clients
The package also includes legacy clients for flowbased CWE data in the CWE subpackage. These return data up until business day 2022-06-08
JaoUtilityToolASMXClient: a very light wrapper around the ASMX Web Service API implemented as a passthrough to the suds-community pakcageJaoUtilityToolCSVClient: client to download csv data inm the same way as the utility tool excel file, returns pandas dataframesJaoUtilityToolXmlClient: downloads xml data of the utilitytool, this requires solving a captcha by the user, returns pandas dataframes
To use these deprecated clients be sure to install the following additional dependencies:
suds-community
lxml
pillow
this is only required for the CWE deprecated subpackage
Metadata
Release files for jao-py 0.8.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| jao_py-0.8.3.tar.gz | 96.2 kB | With provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| jao_py-0.8.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 120.2 kB
Release files / jao_py-0.8.3.tar.gz
| Download URL | jao_py-0.8.3.tar.gz |
|---|---|
| Size | 96.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
41e58a62229e7abc6fd18b489fa56b8162d05fda32beb89c7326a70f48b9e71f
|
|
BLAKE2b-256 checksum How to use checksums |
c2e13b21b24f6713b78fd97e4aec4b1c0791599c7dd25e8bb631a4172f87bbcc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 7, 2026.
Transparency logRelease files / jao_py-0.8.3-py3-none-any.whl
| Download URL | jao_py-0.8.3-py3-none-any.whl |
|---|---|
| Size | 24.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
eb89cc4445a0f0484174c9bfa6ff2780b082e8902fe08d07b164b8961851547b
|
|
BLAKE2b-256 checksum How to use checksums |
1c2007423ccfa5bd88fa1b089b731a45a0eb89f1804da71e99a10fc74efbb193
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 7, 2026.
Transparency logSecurity for jao-py 0.8.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for jao_py-0.8.3.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 7, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.