This release is a pre-release and may not be stable for production use.
cyclonedds-idl
| Requirements | Compatibility | Tests Matrix |
|---|---|---|
Python: 3.10, 3.11, 3.12, 3.13, 3.14 OS: Linux, Windows, macOS |
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.0a0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| cyclonedds_idl-0.2.0a0.tar.gz | 54.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| cyclonedds_idl-0.2.0a0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 113.9 kB
Release files / cyclonedds_idl-0.2.0a0.tar.gz
| Download URL | cyclonedds_idl-0.2.0a0.tar.gz |
|---|---|
| Size | 54.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0e666e601ed08770a22e7488f129da7bca68dfed13899a994369c91d9fe53874
|
|
BLAKE2b-256 checksum How to use checksums |
34d8a0ff52bbb14cc6597bb6943d08548cb53b19e732d51eef704b99d162532e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.8.22
|
Release files / cyclonedds_idl-0.2.0a0-py3-none-any.whl
| Download URL | cyclonedds_idl-0.2.0a0-py3-none-any.whl |
|---|---|
| Size | 59.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
338ae5a4c38115f3775adf131fb0033725a8b3740b24b623228864ee1f687aa0
|
|
BLAKE2b-256 checksum How to use checksums |
129c902ce9737f1827d9aef924d5969a93fad769afc39ffc81ccf5979820ca4f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.8.22
|