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 dictionariesGiePandasClient: 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_storagequery_gas_companyquery_gas_countryquery_lng_terminalquery_lng_lsoquery_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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file gie_py-0.4.6.tar.gz.
File metadata
- Download URL: gie_py-0.4.6.tar.gz
- Upload date:
- Size: 11.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f86332da5d0c206d21ed5634b2b85b96ae8b9627aa9fd1a463ca1afd4c51e80a
|
|
| MD5 |
d90793efe3c2851b4c76a4ce41b6a9e8
|
|
| BLAKE2b-256 |
29d48f2fad3e69953494447a3ddbde34aa29b666f9aa764b57004809e8dda9ac
|
Provenance
The following attestation bundles were made for gie_py-0.4.6.tar.gz:
Publisher:
publish-to-test-pypi.yml on fboerman/gie-py
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
gie_py-0.4.6.tar.gz -
Subject digest:
f86332da5d0c206d21ed5634b2b85b96ae8b9627aa9fd1a463ca1afd4c51e80a - Sigstore transparency entry: 405785480
- Sigstore integration time:
-
Permalink:
fboerman/gie-py@8f358f51a74f5d063c1d8dede6a5bee3e4d1caab -
Branch / Tag:
refs/tags/V0.4.6 - Owner: https://github.com/fboerman
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-to-test-pypi.yml@8f358f51a74f5d063c1d8dede6a5bee3e4d1caab -
Trigger Event:
release
-
Statement type:
File details
Details for the file gie_py-0.4.6-py3-none-any.whl.
File metadata
- Download URL: gie_py-0.4.6-py3-none-any.whl
- Upload date:
- Size: 11.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
76b362a9a43afdd16b73b9df5362d7272cbc50be647f41df5504b2214b9d4614
|
|
| MD5 |
b8e1cb17da729c2d37ceae459b0a22d4
|
|
| BLAKE2b-256 |
15be96f68996e0a0cb55eae71fc88f2ac1fbe0bf78260fc2a1cbed69a46417f8
|
Provenance
The following attestation bundles were made for gie_py-0.4.6-py3-none-any.whl:
Publisher:
publish-to-test-pypi.yml on fboerman/gie-py
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
gie_py-0.4.6-py3-none-any.whl -
Subject digest:
76b362a9a43afdd16b73b9df5362d7272cbc50be647f41df5504b2214b9d4614 - Sigstore transparency entry: 405785493
- Sigstore integration time:
-
Permalink:
fboerman/gie-py@8f358f51a74f5d063c1d8dede6a5bee3e4d1caab -
Branch / Tag:
refs/tags/V0.4.6 - Owner: https://github.com/fboerman
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-to-test-pypi.yml@8f358f51a74f5d063c1d8dede6a5bee3e4d1caab -
Trigger Event:
release
-
Statement type: