zenoh

Python client API for zenoh


Keywords
iot, protocol, zenoh
Licenses
Apache-2.0/EPL-2.0
Install
pip install zenoh==0.4.2.dev3

Documentation

zenoh banner

Build Status License License codecov Documentation Status Gitter

Eclipse zenoh Python API

Eclipse zenoh is an extremely efficient and fault-tolerant Named Data Networking (NDN) protocol that is able to scale down to extremely constrainded devices and networks.

The Python API is for pure clients, in other terms does not support peer-to-peer communication, can be easily tested with our demo instace available at demo.zenoh.io.

Dependencies

The zenoh-python API depends on the zenoh-c API. Thus the first thing to do is to ensure that zenoh-c in installed on your machine. To do so, please follow the instructions provided here.

Installing the Python API from Sources

To install the API you can do:

$ python3 setup.py install

Notice that on some platforms, such as Linux, you will need to do this as sudo.

Running the Examples

To run the bundled examples without installing any additional software you can the zenoh demo instance available at demo.zenoh.io. To do so, simply run as follows:

$ cd zenoh-python/example
$ python3 sub.py -z demo.zenoh.io

From another terminal:

$ cd zenoh-python/example
$ python3 sub.py -z demo.zenoh.io