Skip to main content

Documentation License

eurogastp - Python tools for analyzing the European gas system

Description and features

This Python package facilitates downloading and processing data from the following transparency platforms (TPs):

In the case of the ENTSOG TP, the package does not only help with merely downloading the data, but also with further processing it. The different functions allow for

  • periodizing and re-indexing (resampling the data with "gas days" as fixed frequency),
  • selecting and filtering (selecting the data of interest), and
  • aggregating (computing the sum over several data of interest) the data. Due to the nature of the data and the format it comes in (what ENTSOG calls the "compact" format), these steps are often required for making best use of the data. In the case of the two GIE TPs, the data is far less complex and those extra steps are not required. It is easy enough to combine data from the GIE TPs with the (periodized and reindexed) data from the ENTSOG TP.

The package makes use of the Pandas package, thus results of the function calls are usually Pandas DataFrames.

Quick start

We suggest to use pip to install eurogastp into your preferred Python environment:

pip install eurogastp

If you want to download the very latest version from GitLab for use or development purposes, you can of course also clone the repository directly using Git:

git clone https://code.europa.eu/jrc-energy-security/eurogastp.git

In that case, you have to make sure that the newly created folder "eurogastp" is added to your PYTHONPATH, so that you can import eurogastp inside your preferred Python environment.

For development and application we have used the Anaconda Python Distribution and Python 3.8 on Windows 10. However, it should also work within other Python environments.

To start off, there is a Jupyter notebook with a full example in the Examples directory that you can follow along.

Dependencies

eurogastp depends on the following 3rd-party Python packages:

pandas -> BSD-3-Clause Licence

numpy -> BSD-3-Clause Licence

requests -> Apache 2.0 Licence

tqdm -> MIT License

Python -> Python Software Foundation (PSF) License Agreement

openpyxl -> MIT License

pytables -> BSD 3-Clause License

eurogastp does not contain any code from these packages, neither in original nor in modified form. They are merely software dependencies for the user to run eurogastp on her own machine.

More details about the licenses of the 3rd-party software can be found in the attached Notice.txt.

Copyright (C) 2022 European Union

Licensed under the EUPL, Version 1.2 or – as soon they will be approved by the European Commission – subsequent versions of the EUPL (the "Licence"); You may not use this work except in compliance with the Licence. You may obtain a copy of the Licence at:

https://joinup.ec.europa.eu/software/page/eupl5

Unless required by applicable law or agreed to in writing, software distributed under the Licence is distributed on an "AS IS" basis, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the Licence for the specific language governing permissions and limitations under the Licence.

Main developers

This software was initially developed by staff of the Joint Research Centre (JRC) of the European Commission (EC), Petten, Netherlands.

Initial contributors are:

How to contribute

For ways to contribute please refer to the separate document contributing.md.

References

Jung, D., Vuillaume, J., Fernandez Blanco Carramolino, R., Filipe Calisto, H., Rodriguez Gomez, N. and Bolado Lavin, R., Tools for analysing the European natural gas system with public data – The Python package eurogastp, EUR 31281 EN, Publications Office of the European Union, Luxembourg, 2022, ISBN 978-92-76-58764-4, doi:10.2760/153669, JRC130771; https://publications.jrc.ec.europa.eu/repository/handle/JRC130771.

Metadata

Release files for eurogastp 0.1.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for eurogastp 0.1.3
File Size Uploaded
eurogastp-0.1.3.tar.gz 534.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for eurogastp 0.1.3
File Interpreter ABI Platform
eurogastp-0.1.3-py3-none-any.whl Python 3 none any Details

Total release size: 955.6 kB

Release files / eurogastp-0.1.3.tar.gz

Download URL eurogastp-0.1.3.tar.gz
Size 534.8 kB
Tags Source
SHA-256 checksum
How to use checksums
4424563c3dbe0540e32ddf68c276a24f29537bcd9c5aaf314b78e2793371c5c4
BLAKE2b-256 checksum
How to use checksums
8da8ac6cb5199f1dc680049a36277984e8c2d9e073fc311002cf4ef270502e8c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.4

Release files / eurogastp-0.1.3-py3-none-any.whl

Download URL eurogastp-0.1.3-py3-none-any.whl
Size 420.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e731d5956417edd161bbf0e7f3fa6c9ba2d245ea9f2e28ec6f1ce9186e638c95
BLAKE2b-256 checksum
How to use checksums
00579ed6b817ec71403e67ff6b4154e5a577d93aeefccd8c45d739b80f3dd058
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.4

Release history Release notifications | RSS feed

This release

0.1.3 This release

2 release files

0.1.2

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page