Python Bindings for OpenDDS
Project description
PyOpenDDS
PyOpenDDS is a framework for using OpenDDS from Python. It has the goal of providing the standard full DDS API in OpenDDS in a Pythonic form.
This project is still a work in progress though. It currently only supports
what is necessary for tests/basic_test
and little else. See the GitHub issues
for the current status of the limitations.
Requirements
- Tested on Linux, macOS, and Windows
- CPython >= 3.7
- This uses the C API of CPython, so other Python implementations like PyPy are not offically supported.
- If building Python from source, make sure to run the configure script with
--enable-shared
. PyOpenDDS doesn't currently support building with the statically-linkable Python library.
- OpenDDS >= 3.16
- CMake >= 3.12
- A compiler that supports C++14 or later.
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 opendds_generated/basic.itl
# If using OpenDDS 3.19 or before, then just specify basic.itl
cd basic_output
pip install .
# Run Basic Test
cd ../..
bash run_test.sh
Project details
Release history Release notifications | RSS feed
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.2.0.tar.gz
(37.4 kB
view details)
File details
Details for the file pyopendds-0.2.0.tar.gz
.
File metadata
- Download URL: pyopendds-0.2.0.tar.gz
- Upload date:
- Size: 37.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.25.1 requests-toolbelt/0.9.1 urllib3/1.26.7 tqdm/4.62.3 importlib-metadata/4.0.1 keyring/23.0.1 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d65e354e7cb0c858fabfcd2c796940b8e3ecf2b6b451c94d11c5f60117e79bbd |
|
MD5 | 3b9cd5dea4db6f00ff8a23b80dd15aed |
|
BLAKE2b-256 | 5f239156a13ce7851ddbc0a3430ccbdb52f1bcec253394d409ee341f917e8524 |