yamcs-pymdb


Nameyamcs-pymdb JSON
Version 1.0.5 PyPI version JSON
download
home_pagehttps://github.com/yamcs/pymdb
SummaryGenerate XTCE for use with Yamcs
upload_time2024-04-07 22:18:58
maintainerNone
docs_urlNone
authorSpace Applications Services
requires_python>=3.9
licenseLGPL
keywords packet telemetry ccsds xtce yamcs
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # 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](https://github.com/yamcs/pymdb/tree/master/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](https://yamcs.org):

```python
from yamcs.pymdb import *

spacecraft = System("Spacecraft")

param1 = IntegerParameter(
    system=spacecraft,
    name="param1",
    signed=False,
    encoding=uint8_t,
)

param2 = EnumeratedParameter(
    system=spacecraft,
    name="param2",
    choices=[
        (0, "SUCCESS"),
        (-1, "ERROR"),
    ],
    encoding=int8_t,
)

# Emit an XML that conforms to XTCE
print(spacecraft.dumps())
```

## License

LGPL-3.0. See [LICENSE](https://github.com/yamcs/pymdb/blob/master/LICENSE)

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/yamcs/pymdb",
    "name": "yamcs-pymdb",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.9",
    "maintainer_email": null,
    "keywords": "packet telemetry ccsds xtce yamcs",
    "author": "Space Applications Services",
    "author_email": "yamcs@spaceapplications.com",
    "download_url": "https://files.pythonhosted.org/packages/b2/26/10c8fe4b61cd0521e720da0570a5b5189297ad4d9790d51da573c06e8324/yamcs-pymdb-1.0.5.tar.gz",
    "platform": "Posix; MacOS X; Windows",
    "description": "# Yamcs PyMDB\n\n> [!WARNING]\n> This software is in beta development status. Documentation is limited, and API is subject to change.\n>\n> If you'd like to try it out, have a look at the [examples](https://github.com/yamcs/pymdb/tree/master/examples) which explain the base setup for either CCSDS or CSP-style packets. Other common formats will be added over time.\n\n```\npip install yamcs-pymdb\n```\n\nUse this Python library to generate XTCE XML files for use with [Yamcs Mission Control](https://yamcs.org):\n\n```python\nfrom yamcs.pymdb import *\n\nspacecraft = System(\"Spacecraft\")\n\nparam1 = IntegerParameter(\n    system=spacecraft,\n    name=\"param1\",\n    signed=False,\n    encoding=uint8_t,\n)\n\nparam2 = EnumeratedParameter(\n    system=spacecraft,\n    name=\"param2\",\n    choices=[\n        (0, \"SUCCESS\"),\n        (-1, \"ERROR\"),\n    ],\n    encoding=int8_t,\n)\n\n# Emit an XML that conforms to XTCE\nprint(spacecraft.dumps())\n```\n\n## License\n\nLGPL-3.0. See [LICENSE](https://github.com/yamcs/pymdb/blob/master/LICENSE)\n",
    "bugtrack_url": null,
    "license": "LGPL",
    "summary": "Generate XTCE for use with Yamcs",
    "version": "1.0.5",
    "project_urls": {
        "Homepage": "https://github.com/yamcs/pymdb"
    },
    "split_keywords": [
        "packet",
        "telemetry",
        "ccsds",
        "xtce",
        "yamcs"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "83e98a9da27bca7d96ead207b446b8d527b9e5d8b22f6869c422f0c87e4a147a",
                "md5": "c1555559c92f480c4a85dd248827fe76",
                "sha256": "7ad1565e76c8bcde7501bcde16179177d318cb10f2777c1bbc72c24939edae50"
            },
            "downloads": -1,
            "filename": "yamcs_pymdb-1.0.5-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "c1555559c92f480c4a85dd248827fe76",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.9",
            "size": 39749,
            "upload_time": "2024-04-07T22:18:56",
            "upload_time_iso_8601": "2024-04-07T22:18:56.360565Z",
            "url": "https://files.pythonhosted.org/packages/83/e9/8a9da27bca7d96ead207b446b8d527b9e5d8b22f6869c422f0c87e4a147a/yamcs_pymdb-1.0.5-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "b22610c8fe4b61cd0521e720da0570a5b5189297ad4d9790d51da573c06e8324",
                "md5": "3c2670f2696bf24cb7a3314ce5ed1d2d",
                "sha256": "39c8b3e02aa3d433788f987561466174d3ed1af9abdad9895606176b33bb4c72"
            },
            "downloads": -1,
            "filename": "yamcs-pymdb-1.0.5.tar.gz",
            "has_sig": false,
            "md5_digest": "3c2670f2696bf24cb7a3314ce5ed1d2d",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.9",
            "size": 34051,
            "upload_time": "2024-04-07T22:18:58",
            "upload_time_iso_8601": "2024-04-07T22:18:58.204293Z",
            "url": "https://files.pythonhosted.org/packages/b2/26/10c8fe4b61cd0521e720da0570a5b5189297ad4d9790d51da573c06e8324/yamcs-pymdb-1.0.5.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-04-07 22:18:58",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "yamcs",
    "github_project": "pymdb",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "yamcs-pymdb"
}
        
Elapsed time: 0.22569s