Skip to main content

Pure-Python IDL/CDR layer extracted from CycloneDDS Python

Project description

cyclonedds-idl

cyclonedds-idl is a pure-Python extraction of the cyclonedds.idl runtime from Eclipse Cyclone DDS Python.

This package is for code that needs the Python IDL/CDR layer only, see the IDL documentation. It does not ship:

  • the DDS runtime bindings
  • native extensions
  • bundled Cyclone DDS shared libraries
  • CLI tools
  • DDS-XTypes metadata support

Install

pip install cyclonedds_idl

Example

from dataclasses import dataclass
import cyclonedds_idl as idl

@dataclass
class KeyValue(idl.IdlStruct, typename="diagnostic_msgs/msg/KeyValue"):
    key: str
    value: str

msg = KeyValue(key="mode", value="walk")
blob = msg.serialize()
msg2 = KeyValue.deserialize(blob)
assert msg2 == msg

Notes on compatibility

This is not a drop-in replacement for the full cyclonedds package. The import path is cyclonedds_idl, not cyclonedds.idl.

The code is copied from the upstream cyclonedds.idl package from eclipse-cyclonedds/cyclonedds-python and preserves the upstream license notices.

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

cyclonedds_idl-0.1.0.tar.gz (52.4 kB view details)

Uploaded Source

Built Distribution

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

cyclonedds_idl-0.1.0-py3-none-any.whl (57.9 kB view details)

Uploaded Python 3

File details

Details for the file cyclonedds_idl-0.1.0.tar.gz.

File metadata

  • Download URL: cyclonedds_idl-0.1.0.tar.gz
  • Upload date:
  • Size: 52.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.12 {"installer":{"name":"uv","version":"0.10.12","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for cyclonedds_idl-0.1.0.tar.gz
Algorithm Hash digest
SHA256 2b6d7829a091f363d242061b45db8e55b4b472b6e4f9627df3bf46f6a82cedcf
MD5 5c8ec785a1ab60b4c6eb62193156e16b
BLAKE2b-256 b147dcac25b09dcff673f2b60dc8988695a0a74c57021d26795bf854c25127af

See more details on using hashes here.

File details

Details for the file cyclonedds_idl-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: cyclonedds_idl-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 57.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.12 {"installer":{"name":"uv","version":"0.10.12","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for cyclonedds_idl-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f0d6047e1d9abc57971e98a8cad89fd171378eada21dced091fa9e8f4052a000
MD5 d3d2832fcd7880e31f1bb9914b8f0c32
BLAKE2b-256 3105e58d7b4bd213f8c1f6047001ea6b1910354570cfca6c1659bd5a372a1f60

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