Skip to main content

Unified message conversion system supporting ROS2, Pydantic, Dataclass, JSON, YAML, Dict, and MCP schema inter-conversion

Project description

MsgCenterPy

PyPI version Python versions PyPI downloads Build Status Documentation

GitHub stars GitHub forks GitHub issues License


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

Star History Chart

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

msgcenterpy-0.1.7.tar.gz (73.7 kB view details)

Uploaded Source

Built Distribution

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

msgcenterpy-0.1.7-py3-none-any.whl (77.6 kB view details)

Uploaded Python 3

File details

Details for the file msgcenterpy-0.1.7.tar.gz.

File metadata

  • Download URL: msgcenterpy-0.1.7.tar.gz
  • Upload date:
  • Size: 73.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for msgcenterpy-0.1.7.tar.gz
Algorithm Hash digest
SHA256 fee6c13eded88fdfeeadc8584fa0e2fd4362c449e1c212c833f8782c8e2d201a
MD5 8d97fac7ba39a85889086938f5b7aae6
BLAKE2b-256 94128af26bb02db4ac891c8ba0cbc709f885357e8cd0f871dd1de8b7eedc91ce

See more details on using hashes here.

Provenance

The following attestation bundles were made for msgcenterpy-0.1.7.tar.gz:

Publisher: publish.yml on ZGCA-Forge/MsgCenterPy

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file msgcenterpy-0.1.7-py3-none-any.whl.

File metadata

  • Download URL: msgcenterpy-0.1.7-py3-none-any.whl
  • Upload date:
  • Size: 77.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for msgcenterpy-0.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 2f386ad4734aaf697c2caa81b20c51022e3ce3062076921f0d8dd2320058aea4
MD5 9325e13e21d08505f6e16ac54b0285a1
BLAKE2b-256 95188204a47828c5245b2592d95ec3d8359a7b7eb0066874cb52587d165eb88d

See more details on using hashes here.

Provenance

The following attestation bundles were made for msgcenterpy-0.1.7-py3-none-any.whl:

Publisher: publish.yml on ZGCA-Forge/MsgCenterPy

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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