Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/atolab/pydds
- Owner: atolab
- License: other
- Created: 2017-04-07T11:36:51.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2018-05-21T09:58:36.000Z (over 6 years ago)
- Last Synced: 2024-08-04T00:03:45.181Z (7 months ago)
- Topics: dds, dds-python, python-api
- Language: C
- Size: 50.8 KB
- Stars: 24
- Watchers: 3
- Forks: 8
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
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 installTo 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