Metadata-Version: 2.1
Name: ctrlx-datalayer
Version: 3.2.0
Summary: ctrlX Data Layer API for Python
Author-email: Bosch Rexroth AG <github@boschrexroth.com>
Project-URL: Homepage, https://github.com/boschrexroth
Platform: linux
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: POSIX :: Linux
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENSES/MIT.txt
License-File: LICENSES/boschrexroth_tac_delivery.txt
License-File: LICENSES/tc_for_provision_of_products_free_of_charge.pdf
Requires-Dist: ctrlx_fbs~=2.2.0
Requires-Dist: flatbuffers~=23.5.26

# Python Wrapper for ctrlX Data Layer

This project provides ctrlX Data Layer access via Python.
It wraps the original ctrlX Data Layer written in C++.

## Setup

Set up a virtual python environment and install the packages libzmq5 and ctrlX Data Layer

```bash
sudo apt-get update && sudo apt-get -y install virtualenv libzmq5

DATALAYER_DEB_VERSION=2.6.1
SDK_RELEASE_VERSION=2.6.0

wget --quiet https://github.com/boschrexroth/ctrlx-automation-sdk/releases/download/${SDK_RELEASE_VERSION}/ctrlx-datalayer-${DATALAYER_DEB_VERSION}.deb \
    && sudo dpkg --install ctrlx-datalayer-${DATALAYER_DEB_VERSION}.deb \
    && rm ctrlx-datalayer-${DATALAYER_DEB_VERSION}.deb
    
virtualenv -p python3 venv && source venv/bin/activate
```
## Dependence On

  - supports flatbuffers >= v2

## Installation

Use the package manager [pip3](https://pip.pypa.io/en/stable/) to install ctrlX Data Layer.

```bash
pip3 install ctrlx-datalayer
```
## Usage

See [examples](https://boschrexroth.github.io/ctrlx-automation-sdk/)

## License

Python Wrapper for ctrlX Data Layer is licensed under [T&C](https://dc-corp.resource.bosch.com/media/xc/boschrexroth_tac_delivery.pdf) or see 'boschrexroth_tac_delivery.txt' as part of this package.
