Skip to main content

cyclonedds-idl

Requirements Compatibility Tests Matrix
python
license
linux
windows
macos
xcdr
Python: 3.10, 3.11, 3.12, 3.13, 3.14
OS: Linux, Windows, macOS
Tests

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

Python 3.10 through 3.14 are supported and tested on Linux, Windows, and macOS. Python 3.14 uses the same class declarations, constructors, and serialization API as earlier supported Python versions.

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.

Metadata

Release files for cyclonedds_idl 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cyclonedds_idl 0.2.0
File Size Uploaded
cyclonedds_idl-0.2.0.tar.gz 54.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for cyclonedds_idl 0.2.0
File Interpreter ABI Platform
cyclonedds_idl-0.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 113.9 kB

Release files / cyclonedds_idl-0.2.0.tar.gz

Download URL cyclonedds_idl-0.2.0.tar.gz
Size 54.9 kB
Tags Source
SHA-256 checksum
How to use checksums
299517c2437c4effc3b60a0d0fdb4b9e5215368d4e83b5cc3e16131330c5012c
BLAKE2b-256 checksum
How to use checksums
4cc164f513d8a2179ee43ba94095ee846796e8da546e3f797692e1cf7983a635
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.8.22

Release files / cyclonedds_idl-0.2.0-py3-none-any.whl

Download URL cyclonedds_idl-0.2.0-py3-none-any.whl
Size 59.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
37d1df932287e346d12325c00dba3c96afbed548d816cee2932096f4e8aacb8e
BLAKE2b-256 checksum
How to use checksums
a1157a694884a64e609b6faf5ccf46d4b8af87b8eb47a3978aa1431c51a25897
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.8.22

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page