Skip to main content
Yanked

This release has been yanked by its maintainers, and will be ignored by installers, except when explicitly specified.
Consider using release 7.7.0.1 instead.
Reason given by maintainers: Pre-release for limited platforms. 7.2.0 version coming soon.

RTI® Connext® is a connectivity framework for building distributed applications with requirements for high performance and scalability.

The RTI Connext Python API provides access to most Connext features from Python.

Documentation

Hello World Example

The following is the basic code to publish and subscribe to a topic defined by a simple data type. Similar code can be generated by rtiddsgen from an IDL or XML file defining your data types.

Define your types:

# hello.py

import rti.types as idl

@idl.struct
class HelloWorld:
    message: str = ""

Create a DataWriter to publish the HelloWorld Topic:

# hello_publisher.py

import time
import rti.connextdds as dds
from hello import HelloWorld

participant = dds.DomainParticipant(domain_id=0)
topic = dds.Topic(participant, 'HelloWorld Topic', HelloWorld)
writer = dds.DataWriter(participant.implicit_publisher, topic)

for i in range(10):
    writer.write(HelloWorld(message=f'Hello World! #{i}'))
    time.sleep(1)

Create a DataReader to subscribe to the HelloWorld Topic:

# hello_subscriber.py

import rti.connextdds as dds
import rti.asyncio
from hello import HelloWorld

participant = dds.DomainParticipant(domain_id=0)
topic = dds.Topic(participant, 'HelloWorld Topic', HelloWorld)
reader = dds.DataReader(participant.implicit_subscriber, topic)

async def print_data():
    async for data in reader.take_data_async():
        print(f"Received: {data}")

rti.asyncio.run(print_data())

Metadata

Release files for rti.connext 7.2.0.dev0

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

Built distribution (wheel)

Table of built distributions (wheels) for rti.connext 7.2.0.dev0
File Interpreter ABI Platform
rti.connext-7.2.0.dev0-cp38-cp38-macosx_13_0_arm64.whl CPython 3.8 CPython 3.8 macOS 13.0+ ARM64 Details

Release files / rti.connext-7.2.0.dev0-cp38-cp38-macosx_13_0_arm64.whl

Download URL rti.connext-7.2.0.dev0-cp38-cp38-macosx_13_0_arm64.whl
Size 22.6 MB
Tags CPython 3.8 macOS 13.0+ ARM64
SHA-256 checksum
How to use checksums
28259c9281eb7bbc71a78d48b5e9768850650cb64f13454840c35869b0caf401
BLAKE2b-256 checksum
How to use checksums
27d5f48399329eb3f5fe8904b7bd8556c415ee7be6f6d98c0c4dc464ca39e694
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.1

Release history Release notifications | RSS feed

7.7.0

20 release files

7.6.0

24 release files

7.3.1

47 release files

7.3.0

40 release files

7.2.0

24 release files

This release

7.2.0.dev0 This release

1 release file

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