Skip to main content

Generate XTCE for use with Yamcs

Project description

Yamcs PyMDB

[!WARNING] This software is in beta development status. Documentation is limited, and API is subject to change.

If you'd like to try it out, have a look at the examples which explain the base setup for either CCSDS or CSP-style packets. Other common formats will be added over time.

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

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

yamcs_pymdb-1.0.13.tar.gz (36.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

yamcs_pymdb-1.0.13-py3-none-any.whl (42.4 kB view details)

Uploaded Python 3

File details

Details for the file yamcs_pymdb-1.0.13.tar.gz.

File metadata

  • Download URL: yamcs_pymdb-1.0.13.tar.gz
  • Upload date:
  • Size: 36.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.0

File hashes

Hashes for yamcs_pymdb-1.0.13.tar.gz
Algorithm Hash digest
SHA256 f590d00de484f55b6e8124e3441504e4be4fedde208f11172b72099185702d7a
MD5 289ab82d7f9830def8be81a1902b68c5
BLAKE2b-256 c6edd9556aca53b3b867b5f865aba040cd097777bc890c1d4caee1ee710fb6a4

See more details on using hashes here.

File details

Details for the file yamcs_pymdb-1.0.13-py3-none-any.whl.

File metadata

  • Download URL: yamcs_pymdb-1.0.13-py3-none-any.whl
  • Upload date:
  • Size: 42.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.0

File hashes

Hashes for yamcs_pymdb-1.0.13-py3-none-any.whl
Algorithm Hash digest
SHA256 7212f671719fbc095c4a35bb5363bc62c3eec056861c1a9ec61baed229bdf153
MD5 e016f260dbaba5b6f5086900277d4c29
BLAKE2b-256 014d42c590cf741cb4b81f28e66a18daa5e9bc369a2bf0a3727156c69616c065

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page