Python client for DEDL Stack services
Project description
DestinE Data Lake (DEDL) Stack Client
Python client to facilitate the use of DestinE Data Lake Stack Service.
Installation
To install the latest version of the client library run:
pip install dedl-stack-client
Usage
Dask
An example notebook is provided here. The client will guide a user through the needed authentication flow and will automatically create dedicated Dask cluster on each DEDL bridge.
from dedl_stack_client.authn import DaskOIDC
from dedl_stack_client.dask import DaskMultiCluster
from rich.prompt import Prompt
myAuth = DaskOIDC(username=Prompt.ask(prompt="Username"))
myDEDLClusters = DaskMultiCluster(auth=myAuth)
myDEDLClusters.new_cluster()
The DaskMultiCluster class provides an abstraction layer to interact with the various clusters on each DEDL bridge. Computations can be directed to the different Dask clusters by making use of a context manager as given in the following.
with myDEDLClusters.as_current(location="central") as myclient:
myclient.compute(myarray)
with myDEDLClusters.as_current(location="lumi") as myclient:
myclient.compute(myarray)
with myDEDLClusters.as_current(location="leonardo") as myclient:
myclient.compute(myarray)
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 dedl_stack_client-2025.5.1.tar.gz.
File metadata
- Download URL: dedl_stack_client-2025.5.1.tar.gz
- Upload date:
- Size: 6.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
02f0c9fcfb6c3ce227ea9ea4251500fe31c3a2e637f93d81a087acb532f9841e
|
|
| MD5 |
5c7a861e08f1555729ec5eb578e7bd54
|
|
| BLAKE2b-256 |
d952dbb0e6577e556121cc98ec28bdab457f4c6895c44be92612f0e43e8055a5
|
Provenance
The following attestation bundles were made for dedl_stack_client-2025.5.1.tar.gz:
Publisher:
release.yml on destination-earth/DestinE_EUMETSAT_DEDL_Stack_Client
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
dedl_stack_client-2025.5.1.tar.gz -
Subject digest:
02f0c9fcfb6c3ce227ea9ea4251500fe31c3a2e637f93d81a087acb532f9841e - Sigstore transparency entry: 211437116
- Sigstore integration time:
-
Permalink:
destination-earth/DestinE_EUMETSAT_DEDL_Stack_Client@91d54944d25c5d7e6434ae6e72dd551ad8248c42 -
Branch / Tag:
refs/tags/2025.05.1 - Owner: https://github.com/destination-earth
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@91d54944d25c5d7e6434ae6e72dd551ad8248c42 -
Trigger Event:
push
-
Statement type:
File details
Details for the file dedl_stack_client-2025.5.1-py3-none-any.whl.
File metadata
- Download URL: dedl_stack_client-2025.5.1-py3-none-any.whl
- Upload date:
- Size: 8.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b2060952e150fbb3f53eb1a411a8a9a078070c06dc0b4f7975f29bf803e5fc40
|
|
| MD5 |
0969ae08e4a3309438374b9448d1e275
|
|
| BLAKE2b-256 |
6ff059b9047594e56970780a7f8977ccb4e0e6b6bb21bb311e1abab68f0b5c5a
|
Provenance
The following attestation bundles were made for dedl_stack_client-2025.5.1-py3-none-any.whl:
Publisher:
release.yml on destination-earth/DestinE_EUMETSAT_DEDL_Stack_Client
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
dedl_stack_client-2025.5.1-py3-none-any.whl -
Subject digest:
b2060952e150fbb3f53eb1a411a8a9a078070c06dc0b4f7975f29bf803e5fc40 - Sigstore transparency entry: 211437117
- Sigstore integration time:
-
Permalink:
destination-earth/DestinE_EUMETSAT_DEDL_Stack_Client@91d54944d25c5d7e6434ae6e72dd551ad8248c42 -
Branch / Tag:
refs/tags/2025.05.1 - Owner: https://github.com/destination-earth
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@91d54944d25c5d7e6434ae6e72dd551ad8248c42 -
Trigger Event:
push
-
Statement type: