Skip to main content
Join the official 2020 Python Developers SurveyStart the survey!

Python client API for zenoh

Project description

Build Status codecov Documentation Status Gitter

Zenoh Python API

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

Project details


Download files

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

Files for zenoh, version 0.4.0
Filename, size File type Python version Upload date Hashes
Filename, size zenoh-0.4.0-py3-none-any.whl (33.3 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size zenoh-0.4.0.tar.gz (18.9 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page