Skip to main content

DASF Logo

Data Analytics Software Framework

CI Code coverage Docs Latest Release PyPI version Code style: black Imports: isort PEP8 Checked with mypy REUSE status DOI JOSS

python module wrapper for the data analytics software framework DASF

Abstract

DASF: Messaging Python is part of the Data Analytics Software Framework (DASF, https://codebase.helmholtz.cloud/dasf), developed at the GFZ German Research Centre for Geosciences (https://www.gfz-potsdam.de). It is funded by the Initiative and Networking Fund of the Helmholtz Association through the Digital Earth project (https://www.digitalearth-hgf.de/).

DASF: Messaging Python is a RPC (remote procedure call) wrapper library for the python programming language. As part of the data analytics software framework DASF, it implements the DASF RPC messaging protocol. This message broker based RPC implementation supports the integration of algorithms and methods implemented in python in a distributed environment. It utilizes pydantic (https://pydantic-docs.helpmanual.io/) for data and model validation using python type annotations. DASF distributes messages via a central, django-based message broker: dasf-broker-django. (see also: Message Broker)


Documentation

see: https://dasf.readthedocs.io/en/latest/

Installation

Install this package in a dedicated python environment via

python -m venv venv
source venv/bin/activate
pip install dasf

Optional features come as extras: backend (the generation of code), broker (the development message broker that the runserver command starts), openai (conversations with an LLM) and mcp (MCP servers). Install them in brackets, e.g. pip install "dasf[backend,broker]".

To use this in a development setup, clone the source code from gitlab, start the development server and make your changes::

git clone https://codebase.helmholtz.cloud/dasf/dasf-messaging-python
cd dasf-messaging-python
python -m venv venv
source venv/bin/activate
make dev-install

The quickstart shows how to set up a backend module and the development message broker.

Technical note

This package has been generated from the template https://codebase.helmholtz.cloud/hcdc/software-templates/python-package-template.git.

See the template repository for instructions on how to update the skeleton for this package.

Source Code Examples

The examples directory of the source code has an example backend module (backend_module.py), the client stub that has been generated from it, an MCP server, and a script that calls the module via the client stub (client.py). Its README describes how to run them, and how to generate the client stub.

Eggert et al., (2022). DASF: A data analytics software framework for distributed environments. Journal of Open Source Software, 7(78), 4052, https://doi.org/10.21105/joss.04052

License information

Copyright © 2019-2026 Helmholtz Centre Potsdam GFZ German Research Centre for Geosciences Copyright © 2020-2021 Helmholtz-Zentrum Geesthacht Copyright © 2021-2026 Helmholtz-Zentrum hereon GmbH

Code files in this repository are licensed under the Apache-2.0, if not stated otherwise in the file.

Documentation files in this repository are licensed under CC-BY-4.0, if not stated otherwise in the file.

Supplementary and configuration files in this repository are licensed under CC0-1.0, if not stated otherwise in the file.

Please check the header of the individual files for more detailed information.

License management

License management is handled with reuse. If you have any questions on this, please have a look into the contributing guide or contact the maintainers of dasf-messaging-python.

Contact

Philipp S. Sommer eMail: philipp.sommer@hereon.de

Helmholtz-Zentrum Hereon Max-Planck-Str. 1 21502 Geesthacht Germany

Metadata

Release files for dasf 1.0.0

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

Source distribution (sdist)

Source distribution for dasf 1.0.0
File Size Uploaded Provenance Actions
dasf-1.0.0.tar.gz 262.0 kB Without provenance Details for dasf-1.0.0.tar.gz

Built distribution (wheel)

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

Total release size: 449.9 kB

Release files / dasf-1.0.0.tar.gz

Download URL dasf-1.0.0.tar.gz
Size 262.0 kB
Tags Source
SHA-256 checksum
How to use checksums
962608d9ae522ce7de8dc110ba1c226c03d4f64a02c76d81bc9fd959b195bd50
BLAKE2b-256 checksum
How to use checksums
a4bbfede878bb45450f987c736f1e7fe09e15388440bcce6f6c2f16588eb01ec
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.16

Release files / dasf-1.0.0-py3-none-any.whl

Download URL dasf-1.0.0-py3-none-any.whl
Size 187.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8754a19ac0b4b8ffac60701955aca5f8d1270a03468997db03627fde1ad50d2f
BLAKE2b-256 checksum
How to use checksums
510e9c5fd8465220c5160c76147b0c4e1f3aeb90b85f9792fda22f9cf0bb6008
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.16

Security for dasf 1.0.0

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A 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.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files No provenance

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