μD3TN Utilities
Project description
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.
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
Built Distribution
File details
Details for the file ud3tn_utils-0.14.1.tar.gz
.
File metadata
- Download URL: ud3tn_utils-0.14.1.tar.gz
- Upload date:
- Size: 42.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 77737961f25c977d8c4e3869c801299b97c64c822877e434ce22975a673c5b1f |
|
MD5 | ec456eec9e210658c61efd976565358e |
|
BLAKE2b-256 | e32315c897d7a71729dd5e290dd12afcf5c8cc2d7d2380f4b2afb49ec64f0a60 |
File details
Details for the file ud3tn_utils-0.14.1-py3-none-any.whl
.
File metadata
- Download URL: ud3tn_utils-0.14.1-py3-none-any.whl
- Upload date:
- Size: 57.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 21a0e7e289c17b33129baad2cfa18f4e18cc66bf2c84b65d5a5b6d11eac185b5 |
|
MD5 | 094cf85f529801c565e6291ae4943363 |
|
BLAKE2b-256 | 45e5eba130b676f6c2098169de77f4b5f2fff99fa3f540576e1dfd0cae8cc9b0 |