Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/atolab/pydds

Python API for DDS
https://github.com/atolab/pydds

dds dds-python python-api

Last synced: 3 months ago
JSON representation

Python API for DDS

Awesome Lists containing this project

README

        

# DDS Python API

## Overview
**pydds** is a simple Python API for Vortex Lite and for OpenSplice.

This API supports:

- **IDL-based Topic Types**. In this case the equivalent python type
has to be defined using the appropriate ctype structure.

- **Python Objects**. Python objects can be used as Topic types, in this
case the wire representation is that of flexy-types, meaning a
key/value pair.

Regardless of the kinds of type definition interoperability and instance management are maintained (see code examples).

## Installation
**pydds** depends on:

- [**jsonpikle**](https://github.com/jsonpickle/jsonpickle), please refer to the project page for installation informations.

- [**OpenSplice**](https://github.com/ADLINK-IST/opensplice), refer to the installation instructions to see how to get it set up.

Once the dependencies are intalled simply do (assuming your are running on Linux):

$ cd dds-python
$ ./configure.linux
$ python3 setup.py install

To test your installation do:

$ python test_reader.py &
$ python test_writer.py

Equivalently you can test the flexy types by:

$ python test_flexy_writer.py
$ python test_flexy_reader.py