ud3tn/python-ud3tn-utils
Felix Walter 42d312d958 Merge branch '15-207-improve-contact-plan-handling-in-bdm' into 'master'
Improve contact plan handling in DFCF BDM and tools

Closes #207, #15, and #238

See merge request d3tn/ud3tn!199
2025-06-06 10:11:05 +02:00
..
ud3tn_utils Merge branch '15-207-improve-contact-plan-handling-in-bdm' into 'master' 2025-06-06 10:11:05 +02:00
.gitignore Prepare PyPi packages 2020-11-19 12:38:39 +01:00
LICENSE Prepare PyPi packages 2020-11-19 12:38:39 +01:00
pyproject.toml treewide: Bump python>=3.9 2025-06-03 17:12:08 +02:00
README.md Prepare PyPi packages 2020-11-19 12:38:39 +01:00
requirements.txt python-ud3tn-utils: Introduce JSON configuration format 2025-06-05 17:03:39 +02:00

python-uD3TN-utils

The Python package uD3TN-utils is a utility library to simplify the interaction with the uD3TN daemon within python applications.

The included AAPClient enables user-friendly communication with the uD3TN daemon via local or remote sockets using the Application Agent Protocol (AAP). Besides sending and receiving bundles, it is also possible to change the configuration of the uD3TN daemon via AAP messages.

Installation

From source:

git clone https://gitlab.com/d3tn/ud3tn
cd python-ud3tn-utils
python setup.py install

From PyPi directly:

pip install ud3tn-utils

Examples

from ud3tn_utils.aap import AAPUnixClient

with AAPUnixClient() as aap_client:
    aap_client.register()
    aap_client.send_str(aap_client.eid(), "Hello World")
    print(aap_client.receive())

Development

pyD3TN is maintained as part of the µD3TN project and follows its development processes. Please see the µD3TN repository for the code and further information.