The python API for Eclipse zenoh
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.
Check the website zenoh.io and the roadmap for more detailed information.
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
:warning:WARNING:warning: zenoh-python is developped in Rust.
On Pypi.org we provide binary wheels for the most common platforms (MacOS, Linux x86). But also a source distribution package for other platforms.
However, for pip
to be able to build this source distribution, there some prerequisites:
pip
version 19.3.1 minimum (for full support of PEP 517).
(if necessary upgrade it with command:'sudo pip install --upgrade pip'
)- Have a Rust toolchain installed (instructions at https://rustup.rs/)
Supported Python versions and platforms
zenoh-python has been tested with Python 3.6, 3.7, 3.8 and 3.9.
It relies on the zenoh Rust API which require the full std
library. See the list Rust supported platforms here: https://doc.rust-lang.org/nightly/rustc/platform-support.html .
How to build it
Requirements:
- Python >= 3.6
- pip >= 19.3.1
- Rust and Cargo.
Steps:
- Install developments requirements:
pip install -r requirements-dev.txt
- Build zenoh-python
python setup.py develop
This will automatically build the zenoh Rust API, as well as the zenoh-python API and install it in your Python environement.
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-nightly-0.6.0.dev20220526.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b1cbec249813541973d43ccb399848b97e5aeb46f6302a761d64e2f2ae58de4d |
|
MD5 | 8d5228331d5b763afa9d5d542c00ec26 |
|
BLAKE2b-256 | 8a9ad85c19c97523ee4164df06879d43c386e27ed1d8d41437cdbaeaa61f7f5f |
Hashes for eclipse_zenoh_nightly-0.6.0.dev20220526-cp36-abi3-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cc889ac35c779df3b5ace5edc02669724b36e120cf7fb8449c4f656f149a9d9f |
|
MD5 | 64c215f037aefd267a7488065e5ace36 |
|
BLAKE2b-256 | 91aaf3e69148d59374cd2ca6ba865ba48715bcfa589cdfa24b4772d5aebce175 |
Hashes for eclipse_zenoh_nightly-0.6.0.dev20220526-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 85c7253ce228b02509f6d65ccde366690d9f83b51e0db153849a95dfb470f643 |
|
MD5 | de8c69a7ac2f517efb512cf38c55da26 |
|
BLAKE2b-256 | db52400718c99080480a7ad56159631fddc33dcefa16cd60910c9d369ee220fb |
Hashes for eclipse_zenoh_nightly-0.6.0.dev20220526-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b72c95c2980a6e1f758cca55d1ab6544af5241ea6c2b418d55f96dc73c57711a |
|
MD5 | 603674c19bf67a98b9f1c2ddc4776841 |
|
BLAKE2b-256 | 96a20130308c31b5dbdcc040baa4a9fd1829ae8da9db24a5765d581fb6b51dc7 |
Hashes for eclipse_zenoh_nightly-0.6.0.dev20220526-cp36-abi3-manylinux_2_12_i686.manylinux2010_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e192e33f9c69993b1b216fdf48ac674433bf3e855d3c4bc60aea55fff673a849 |
|
MD5 | e0c43c9919cfe690dcc4662b8ded36f0 |
|
BLAKE2b-256 | 047646f18b8b5c2d5c93080f8830c94dd3527dbe7b970648256c33211276367c |
Hashes for eclipse_zenoh_nightly-0.6.0.dev20220526-cp36-abi3-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 307cf3123a4b207aa5c0ea12b76965bbdad2ea2b0f6c057968ead490f602acf3 |
|
MD5 | 9b665c0f0d8a6fd3a00632bfee42ddb3 |
|
BLAKE2b-256 | b25e019d7d8241f7be38e4f025451828f02977e3335de0a060516e4ce03dec0c |
Hashes for eclipse_zenoh_nightly-0.6.0.dev20220526-cp36-abi3-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7f3b77e9ff6862af87ca52742a7ce7c08b98bb885aa201fdf140f21b2bbab143 |
|
MD5 | 354615bc1f9c9c6cf9de1477f3d2c917 |
|
BLAKE2b-256 | dcfc0d3d70a6a495b97155e2ce16c4262a4fd3c1d1226e4b0d263f1a6210f564 |
Hashes for eclipse_zenoh_nightly-0.6.0.dev20220526-cp36-abi3-macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1eafa1c3fd179a04321b23e051a68218791231592e0558d72d0bbb490ddc3c14 |
|
MD5 | e060203fec3fd0bd16a9bf11d38262a3 |
|
BLAKE2b-256 | 67033c8adf1429a6cfc6113f7ab4311cfe405467d0c4caa1de01767d399343e0 |