Skip to main content

Python Bindings for OpenDDS

Project description

PyOpenDDS

Python Bindings for OpenDDS.

This project is still a work in progress! It currently only supports what is necessary for tests/basic_test and little else. See the GitHub issues for limitations.

Requirements

  • Currently only Linux has been tested, but macOS should work and Windows might work.
  • Python >= 3.7
    • This uses the C API of CPython, so PyPy or any other Python implementation is not supported.
  • OpenDDS
    • Right now this is being developed using the master branch of OpenDDS.
  • CMake >= 3.12
  • A C++14 Compiler

Building PyOpenDDS and Running the Basic Test

Once $DDS_ROOT/setenv.sh has been sourced or the equivalent, run the commands below in this directory.

# Build and Install PyOpenDDS
pip install .

# Build Basic Test
cd tests/basic_test
mkdir build
cd build
cmake ..
make

# Build and Install Basic Test Python Type Support
itl2py -o basic_output basic_idl basic.itl
cd basic_output
basic_idl_DIR=$(realpath ..) pip install .

# Run Basic Test
cd ../..
bash run_test.sh

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyopendds-0.1.0.tar.gz (17.7 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page