ADM CODEC Engine
Project description
ACE Tools
This is the AMM CODEC Engine (ACE) for the DTN Management Architecture (DTNMA). It is part of the larger Asynchronous Network Managment System (ANMS) managed for NASA AMMOS.
It is a library to manage the information in DTNMA Application Data Models (ADMs) and use that information to encode and decode DTNMA Application Resource Identifiers (ARIs) in:
- Text form based on URI encoding
- Binary form based on CBOR encoding
It also includes an ace_ari
command line interface (CLI) for translating between the two ARI forms.
Development
To install development and test dependencies for this project, run from the root directory (possibly under sudo if installing to the system path):
pip3 install -r <(python3 -m piptools compile --extra test pyproject.toml 2>&1)
To install the project itself from source run:
pip3 install .
An example of using the ARI transcoder, from the source tree, to convert from text to binary form is:
echo 'ari:/IANA:ion_admin/CTRL.node_contact_add(UVAST.1685728970,UVAST.1685729269,UINT.2,UINT.2,UVAST.25000,UVAST.1)' | PYTHONPATH=./src ADM_PATH=./tests/adms python3 -m ace.tools.ace_ari --inform=text --outform=cborhex
which will produce a hexadecimal output:
0xC1188D410605061616141416161A647A2ECA1A647A2FF502041961A801
Contributing
To contribute to this project, through issue reporting or change requests, see the CONTRIBUTING document.
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
File details
Details for the file anms_ace-1.0.1.tar.gz
.
File metadata
- Download URL: anms_ace-1.0.1.tar.gz
- Upload date:
- Size: 37.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5654f3d591e4d17069b296987088e498b4b60dcae382d58e7506994071961e18 |
|
MD5 | 20aaa4da2004015da210aba0935ee59d |
|
BLAKE2b-256 | 72adce89e07824ecc6d42034df0f58abb6345c4bdb9f02d662a0441ef4591883 |
File details
Details for the file anms_ace-1.0.1-py3-none-any.whl
.
File metadata
- Download URL: anms_ace-1.0.1-py3-none-any.whl
- Upload date:
- Size: 43.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4560fe69ddcbeee8db877fcc094f6604a264eaa0b2b7297a61ef6839d0a40af7 |
|
MD5 | f3a81a79c16585d8477909efc005a17e |
|
BLAKE2b-256 | 0a1bd15dac12a956e245ce05987c566aa8759be06121ebc02968416bf840b2f2 |