Skip to main content

Python client API for Eclipse zenoh

Reason this release was yanked:

Deprecated. API changed since 0.5.0

Project description

zenoh banner

Build Documentation Status Gitter License License

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 against a zenoh router running in a Docker container (see https://github.com/eclipse-zenoh/zenoh#how-to-test-it).


How to install it

The Eclipse zenoh-python library is available on Pypi.org.
Install the latest available version using pip:

pip install eclipse-zenoh

Supported Python versions and platforms

zenoh-python has been tested with Python 3.5, 3.6, 3.7 and 3.8.

It relies on the zenoh-c API which is currently supported on the following platforms:

  • Linux
  • MacOS X

Notice that the Python wheels available on Pypi.org are pre-compiled for:

  • All MacOS X >= 10.9
  • Most of the 32-bits Linux distriutions thanks to manylinux2010_i686
  • Most of the 64-bits Linux distriutions thanks to manylinux2010_x86_64

On other Linux architectures such as Raspberry, the pip tool will be able to download the sources distribution and to compile it.


How to build it

The zenoh-python repository uses the zenoh-c repository as a sub-module. Thus, be sure to also clone this submodule.
Also make sure to have cmake >= 3.0 available on your host.

For convenience, a top-level Makefile is available. Just do the following to build and install:

$ cd /path/to/zenoh-python
$ make
$ make install # on linux use **sudo**

Running the Examples

The simplest way to run some of the example is to get a Docker image of the zenoh network router (see https://github.com/eclipse-zenoh/zenoh#how-to-test-it) and then to run the examples on your machine.

Then, run the zenoh-python examples following the instructions in examples/zenoh/README.md

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

eclipse-zenoh-0.4.2.dev5.tar.gz (180.5 kB view hashes)

Uploaded Source

Built Distributions

eclipse_zenoh-0.4.2.dev5-cp38-cp38-manylinux2010_x86_64.whl (89.5 kB view hashes)

Uploaded CPython 3.8 manylinux: glibc 2.12+ x86-64

eclipse_zenoh-0.4.2.dev5-cp38-cp38-manylinux2010_i686.whl (84.6 kB view hashes)

Uploaded CPython 3.8 manylinux: glibc 2.12+ i686

eclipse_zenoh-0.4.2.dev5-cp38-cp38-macosx_10_9_x86_64.whl (81.8 kB view hashes)

Uploaded CPython 3.8 macOS 10.9+ x86-64

eclipse_zenoh-0.4.2.dev5-cp37-cp37m-manylinux2010_x86_64.whl (89.5 kB view hashes)

Uploaded CPython 3.7m manylinux: glibc 2.12+ x86-64

eclipse_zenoh-0.4.2.dev5-cp37-cp37m-manylinux2010_i686.whl (84.6 kB view hashes)

Uploaded CPython 3.7m manylinux: glibc 2.12+ i686

eclipse_zenoh-0.4.2.dev5-cp37-cp37m-macosx_10_9_x86_64.whl (81.8 kB view hashes)

Uploaded CPython 3.7m macOS 10.9+ x86-64

eclipse_zenoh-0.4.2.dev5-cp36-cp36m-manylinux2010_x86_64.whl (89.5 kB view hashes)

Uploaded CPython 3.6m manylinux: glibc 2.12+ x86-64

eclipse_zenoh-0.4.2.dev5-cp36-cp36m-manylinux2010_i686.whl (84.6 kB view hashes)

Uploaded CPython 3.6m manylinux: glibc 2.12+ i686

eclipse_zenoh-0.4.2.dev5-cp36-cp36m-macosx_10_9_x86_64.whl (81.8 kB view hashes)

Uploaded CPython 3.6m macOS 10.9+ x86-64

eclipse_zenoh-0.4.2.dev5-cp35-cp35m-manylinux2010_x86_64.whl (89.5 kB view hashes)

Uploaded CPython 3.5m manylinux: glibc 2.12+ x86-64

eclipse_zenoh-0.4.2.dev5-cp35-cp35m-manylinux2010_i686.whl (84.6 kB view hashes)

Uploaded CPython 3.5m manylinux: glibc 2.12+ i686

eclipse_zenoh-0.4.2.dev5-cp35-cp35m-macosx_10_9_x86_64.whl (73.0 kB view hashes)

Uploaded CPython 3.5m macOS 10.9+ x86-64

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