Unified message conversion system supporting ROS2, Pydantic, Dataclass, JSON, YAML, Dict, and MCP schema inter-conversion
Project description
MsgCenterPy
MsgCenterPy is a multi-format message conversion system based on a unified instance manager architecture, supporting seamless conversion between ROS2, Pydantic, Dataclass, JSON, Dict, YAML, and JSON Schema.
Supported Formats
| Format | Read | Write | JSON Schema | Type Constraints |
|---|---|---|---|---|
| ROS2 | ✅ | ✅ | ✅ | ✅ |
| JSON Schema | ✅ | ✅ | ✅ | ✅ |
| Pydantic | 🚧 | 🚧 | 🚧 | 🚧 |
| Dataclass | 🚧 | 🚧 | 🚧 | 🚧 |
| JSON | 🚧 | 🚧 | 🚧 | 🚧 |
| Dict | 🚧 | 🚧 | 🚧 | 🚧 |
| YAML | 🚧 | 🚧 | 🚧 | 🚧 |
Installation
Basic Installation
pip install msgcenterpy
With Optional Dependencies
# Install ROS2 support
conda install ros-humble-ros-core ros-humble-std-msgs ros-humble-geometry-msgs -c robostack-staging
From Source
git clone https://github.com/ZGCA-Forge/MsgCenterPy.git
cd MsgCenterPy
pip install -e .[dev]
Quick Start
Please visit: https://zgca-forge.github.io/MsgCenterPy/
Development
Quick Development Setup
For Linux/macOS:
git clone https://github.com/ZGCA-Forge/MsgCenterPy.git
cd MsgCenterPy
./scripts/setup-dev.sh
For Windows:
git clone https://github.com/ZGCA-Forge/MsgCenterPy.git
cd MsgCenterPy
.\scripts\setup-dev.ps1
Manual Development Setup
git clone https://github.com/ZGCA-Forge/MsgCenterPy.git
cd MsgCenterPy
pip install -e .[dev]
pre-commit install
For API documentation, please refer to Quick Start
Star History
License
This project is licensed under Apache-2.0 License - see the LICENSE file for details.
Made with ❤️ by the MsgCenterPy Team
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
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 msgcenterpy-0.1.8.tar.gz.
File metadata
- Download URL: msgcenterpy-0.1.8.tar.gz
- Upload date:
- Size: 74.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
802aba5767298de43218b329b7a1fd3ccfe67904ecf6bab1905409caf75dae86
|
|
| MD5 |
222ecf8df05f9a9408894bcc5839f59a
|
|
| BLAKE2b-256 |
86b824eb4cb85f435d7bbc2cfb50c1c2fcb1cd225f7a5df5d953a684091c6dad
|
Provenance
The following attestation bundles were made for msgcenterpy-0.1.8.tar.gz:
Publisher:
publish.yml on ZGCA-Forge/MsgCenterPy
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
msgcenterpy-0.1.8.tar.gz -
Subject digest:
802aba5767298de43218b329b7a1fd3ccfe67904ecf6bab1905409caf75dae86 - Sigstore transparency entry: 1154517635
- Sigstore integration time:
-
Permalink:
ZGCA-Forge/MsgCenterPy@182c5187a07580c43db85aea8bc594a74d8ddc4b -
Branch / Tag:
refs/tags/v0.1.8 - Owner: https://github.com/ZGCA-Forge
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@182c5187a07580c43db85aea8bc594a74d8ddc4b -
Trigger Event:
release
-
Statement type:
File details
Details for the file msgcenterpy-0.1.8-py3-none-any.whl.
File metadata
- Download URL: msgcenterpy-0.1.8-py3-none-any.whl
- Upload date:
- Size: 78.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2482a5ce98b0a9543c5c01742da98e61dad1eccf5d75877c5bc4a82094f4777b
|
|
| MD5 |
445d2bee9cc6461eeaca9d9b233baae6
|
|
| BLAKE2b-256 |
5122ea9fd4debf80cd82dab0179467144b73dce5ddd8e17840af00aec44d74ef
|
Provenance
The following attestation bundles were made for msgcenterpy-0.1.8-py3-none-any.whl:
Publisher:
publish.yml on ZGCA-Forge/MsgCenterPy
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
msgcenterpy-0.1.8-py3-none-any.whl -
Subject digest:
2482a5ce98b0a9543c5c01742da98e61dad1eccf5d75877c5bc4a82094f4777b - Sigstore transparency entry: 1154517640
- Sigstore integration time:
-
Permalink:
ZGCA-Forge/MsgCenterPy@182c5187a07580c43db85aea8bc594a74d8ddc4b -
Branch / Tag:
refs/tags/v0.1.8 - Owner: https://github.com/ZGCA-Forge
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@182c5187a07580c43db85aea8bc594a74d8ddc4b -
Trigger Event:
release
-
Statement type: