Skip to main content

A python API wrapper for alsi.gie.eu and agsi.gie.eu

Project description

gie-py

Python client for the API endpoints of gie.eu. Both ASGI for gas storage and ALSI for LNG terminals and lso's are supported

Using it requires an api key which you can get by registering an account at the alsi website. API keys are valid for both ASGI and ALSI if you set "access to" to "Both ALSI and AGSI+" when registering or later in account settings.

Installation

python3 -m pip install gie-py

Usage

The package comes with 2 clients:

  • GieRawClient: Returns data in its raw format direct from api, a list of dictionaries
  • GiePandasClient: Returns data parsed as a Pandas DataFrame

Supported methods:

The same for both clients. Each method has same setup for arguments, a string to denominate the target and a start and end parameter which is either a pandas timestamp or a string

  • query_gas_storage
  • query_gas_company
  • query_gas_country
  • query_lng_terminal
  • query_lng_lso
  • query_lng_country

Example

from gie import GiePandasClient

client = GiePandasClient(api_key=<YOUR API KEY>)
df_terminal=client.query_lng_terminal('zeebrugge', start='2020-01-01', end='2022-07-10')
df_lso=client.query_lng_lso('fluxys_lng', start='2020-01-01', end='2022-07-10')

meaning of dataframe columns

For the meaning of the columns in the resulting dataframes please consult the official documentation chapter 2 page 5 and 6

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

gie_py-0.4.7.tar.gz (11.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

gie_py-0.4.7-py3-none-any.whl (11.7 kB view details)

Uploaded Python 3

File details

Details for the file gie_py-0.4.7.tar.gz.

File metadata

  • Download URL: gie_py-0.4.7.tar.gz
  • Upload date:
  • Size: 11.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for gie_py-0.4.7.tar.gz
Algorithm Hash digest
SHA256 3aed20e4d50a8b9bf23d98d47acfdcce3fe7e74336acd403a555338d8a18e92f
MD5 d3a83519a2467558fe79068fa541ee5c
BLAKE2b-256 2e035e48eb38dc30fa01f52abfe841b235fa4a6c5b9ffc5f7be6668446ed3c6c

See more details on using hashes here.

Provenance

The following attestation bundles were made for gie_py-0.4.7.tar.gz:

Publisher: publish-to-test-pypi.yml on fboerman/gie-py

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file gie_py-0.4.7-py3-none-any.whl.

File metadata

  • Download URL: gie_py-0.4.7-py3-none-any.whl
  • Upload date:
  • Size: 11.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for gie_py-0.4.7-py3-none-any.whl
Algorithm Hash digest
SHA256 358a0f4002aae18870430ef7946b5f878bac1dc27b1a4c9cd9a85925cf4bad5a
MD5 5b3fe7129d3d2f6ee8ba1274f3200f04
BLAKE2b-256 a1deb0ef7b8e331b8141874233fac7630729548a417b3b2a9b70d39f7df25835

See more details on using hashes here.

Provenance

The following attestation bundles were made for gie_py-0.4.7-py3-none-any.whl:

Publisher: publish-to-test-pypi.yml on fboerman/gie-py

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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