yamcs-pymdb


Nameyamcs-pymdb JSON
Version 1.0.11 PyPI version JSON
download
home_pagehttps://github.com/yamcs/pymdb
SummaryGenerate XTCE for use with Yamcs
upload_time2025-01-14 20:00:45
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
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](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/86/f3/c2fd5d7537a08fd067e815b544696c2667eee41de29e50f6c4a89a01253f/yamcs_pymdb-1.0.11.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\nimport yamcs.pymdb as Y\n\nspacecraft = Y.System(\"Spacecraft\")\n\nparam1 = Y.IntegerParameter(\n    system=spacecraft,\n    name=\"param1\",\n    signed=False,\n    encoding=Y.uint8_t,\n)\n\nparam2 = Y.EnumeratedParameter(\n    system=spacecraft,\n    name=\"param2\",\n    choices=[\n        (0, \"SUCCESS\"),\n        (-1, \"ERROR\"),\n    ],\n    encoding=Y.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.11",
    "project_urls": {
        "Homepage": "https://github.com/yamcs/pymdb"
    },
    "split_keywords": [
        "packet",
        "telemetry",
        "ccsds",
        "xtce",
        "yamcs"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "65c092a5e2eef19f6ec2273b05b4a1271da1c8f589f1646558cc9bc8dcebc03c",
                "md5": "d5f231a34f5253e49d68f33ae9d87de8",
                "sha256": "87de3f5a4325e88bd9d0a6786a7e624819c6357d10883491aeec969f2ffc6b6d"
            },
            "downloads": -1,
            "filename": "yamcs_pymdb-1.0.11-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "d5f231a34f5253e49d68f33ae9d87de8",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.9",
            "size": 42067,
            "upload_time": "2025-01-14T20:00:42",
            "upload_time_iso_8601": "2025-01-14T20:00:42.676888Z",
            "url": "https://files.pythonhosted.org/packages/65/c0/92a5e2eef19f6ec2273b05b4a1271da1c8f589f1646558cc9bc8dcebc03c/yamcs_pymdb-1.0.11-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "86f3c2fd5d7537a08fd067e815b544696c2667eee41de29e50f6c4a89a01253f",
                "md5": "28ace2d1188ec911e42540640b9d616f",
                "sha256": "b1dc264e992dcb4ced66695a747350b8c69fca9240355d688c8d1d283ff2b380"
            },
            "downloads": -1,
            "filename": "yamcs_pymdb-1.0.11.tar.gz",
            "has_sig": false,
            "md5_digest": "28ace2d1188ec911e42540640b9d616f",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.9",
            "size": 36239,
            "upload_time": "2025-01-14T20:00:45",
            "upload_time_iso_8601": "2025-01-14T20:00:45.553995Z",
            "url": "https://files.pythonhosted.org/packages/86/f3/c2fd5d7537a08fd067e815b544696c2667eee41de29e50f6c4a89a01253f/yamcs_pymdb-1.0.11.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-01-14 20:00:45",
    "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.77743s