Python client API for Eclipse zenoh
Reason this release was yanked:
Deprecated. API changed since 0.5.0
Project description
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
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
Built Distributions
Hashes for eclipse_zenoh-0.4.2rc1-cp38-cp38-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cbba9d65520d6d90826eac55c88ef41d35b2e3e585e6f5dfd6b2a57bf6756bd4 |
|
MD5 | c46e20aa814a5d957f3980ddcd9f93fc |
|
BLAKE2b-256 | 8638af89dbcf0661dc10e9ed987b6329c1d1d30f64f29bffa1448f5da87ae2b7 |
Hashes for eclipse_zenoh-0.4.2rc1-cp38-cp38-manylinux2010_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5b4d3988a8bd9a90ff03a51cba9d632491b52afd25617aafafbc49c4cbed7d98 |
|
MD5 | 7259628e3ce84f25bd3cebf553a686f1 |
|
BLAKE2b-256 | 39e5f81e4185b3e71abd5853642c75d524a89c82456709f28670de2f4eb14cb1 |
Hashes for eclipse_zenoh-0.4.2rc1-cp37-cp37m-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 40f455e184ba4f2411ec8da4e9a9103955d8e536600b4fb92a0e4644b3c86f6d |
|
MD5 | 15eda7b6eb14c0409b1b38dad0687757 |
|
BLAKE2b-256 | 4c420e4a4cb8d3473fbfc0b9bc55be7d5880ea87defc697bc46c6a59a2181b52 |
Hashes for eclipse_zenoh-0.4.2rc1-cp37-cp37m-manylinux2010_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5a771988a12f75c770c4b0ea6b062cdfc9e28b20c8e7ef1a01bc9acd634cf4fd |
|
MD5 | 6d97a576e1a002da251a7c490fa851d9 |
|
BLAKE2b-256 | a7c7588f20adfdeb54c8bef1f94edaf6d98aaca77f38987724f2b5ea8a9c160e |
Hashes for eclipse_zenoh-0.4.2rc1-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 56952249249f2e53cbb661a30d652910e1b5dfd5c1125c745d5462baa1376d93 |
|
MD5 | 88aa54198a77eb16607ca3b95250c65c |
|
BLAKE2b-256 | bb1acd1c45737280b6b23d64048fdd9064207256483ffcd18243e5dec4b5f568 |
Hashes for eclipse_zenoh-0.4.2rc1-cp36-cp36m-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4789fcea363b3e95346516f4f25167ba0147536dd148612a3627486412d215e6 |
|
MD5 | fd7f850d1d7facb183dcf8cb36e4a768 |
|
BLAKE2b-256 | e25d41ec6c3aede69f74417f0da6024c9afefb63f9813648b481190576892145 |
Hashes for eclipse_zenoh-0.4.2rc1-cp36-cp36m-manylinux2010_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2d4ee3e10363eb310155702cdb19ce481730cff22c4028fd8e03c4d2f4910ad9 |
|
MD5 | 1bac50723f48595ff8896794fcac35b7 |
|
BLAKE2b-256 | 82d17e37e735c63b39afbe8b5c083af95b919f5ec1820491500e7d5ac8535a09 |
Hashes for eclipse_zenoh-0.4.2rc1-cp35-cp35m-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4c0415bd66736f8b751261465d9dd351ae7e7aea77cc133eb076e47d82271179 |
|
MD5 | 2fc31de328a87943ae091b3c5f55233a |
|
BLAKE2b-256 | d8807367b94b979662aeaf1a3a8ec8347d2e6c8954d80c3dae67434cd6eff21b |
Hashes for eclipse_zenoh-0.4.2rc1-cp35-cp35m-manylinux2010_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9d35ad6216cb5d2266081fe5ad6b361d6a1bd5696f073d4a3a94f55f6ee742fc |
|
MD5 | c73d3c4f53096fdaccc5b3222434a0ca |
|
BLAKE2b-256 | 20ee22d3f62509c2220dd5ac1e5c1040838e79ded2cd66ae089a1e673ba1954d |