Yamcs PyMDB
pip install yamcs-pymdb
Use this Python library to generate XTCE XML files for use with Yamcs Mission Control:
import yamcs.pymdb as Y
spacecraft = Y.System("Spacecraft")
param1 = Y.IntegerParameter(
system=spacecraft,
name="param1",
signed=False,
encoding=Y.uint8_t,
)
param2 = Y.EnumeratedParameter(
system=spacecraft,
name="param2",
choices=[
(0, "SUCCESS"),
(-1, "ERROR"),
],
encoding=Y.int8_t,
)
# Emit an XML that conforms to XTCE
print(spacecraft.dumps())
License
LGPL-3.0. See LICENSE
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
yamcs_pymdb-1.3.0.tar.gz
(38.1 kB
view details)
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 yamcs_pymdb-1.3.0.tar.gz.
File metadata
- Download URL: yamcs_pymdb-1.3.0.tar.gz
- Upload date:
- Size: 38.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.0.1 CPython/3.12.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
25ae19f68e4da1e61cb0362958c39e2084ffd4699c415ca6bf1139fb4284592e
|
|
| MD5 |
aa920dc724c85e58514999f4c6736f4e
|
|
| BLAKE2b-256 |
25a0aad452e923ac90f99de67af0d294188f4b470fca0c550313ef905b520a5c
|
File details
Details for the file yamcs_pymdb-1.3.0-py3-none-any.whl.
File metadata
- Download URL: yamcs_pymdb-1.3.0-py3-none-any.whl
- Upload date:
- Size: 44.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.0.1 CPython/3.12.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
642a0e9489216557509bb6462085331d938d3786611e44766c6cc94af388d467
|
|
| MD5 |
a4b38a0c9215426f2523feb988bc0800
|
|
| BLAKE2b-256 |
6db148544f391d32b625b5463773a474d66340c413a6f2a68b91d02410edbf32
|