Skip to main content

The python API for Eclipse zenoh

This project has been archived.

The maintainers of this project have marked this project as archived. No new releases are expected.

Project description

CI Documentation Status Discussion Discord 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.

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

To install the latest nightly build of the development version do:

pip install eclipse-zenoh-nightly

: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:

Steps:

  • Install developments requirements:

    pip install -r requirements-dev.txt
    
  • Ensure your system can find the building tool maturin (installed by previous step). For example, it is placed at $HOME/.local/bin/maturin by default on Ubuntu 20.04.

    export PATH="$HOME/.local/bin:$PATH"
    
  • Build and install zenoh-python:

    • With a virtual environment active:
    maturin develop --release
    
    • Without one:
    maturin build --release
    pip install ./target/wheels/<there should only be one .whl file here>
    

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

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

eclipse_zenoh_nightly-0.6.0_beta.120220930.tar.gz (93.7 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

eclipse_zenoh_nightly-0.6.0_beta.120220930-cp37-abi3-win_amd64.whl (4.3 MB view details)

Uploaded CPython 3.7+Windows x86-64

eclipse_zenoh_nightly-0.6.0_beta.120220930-cp37-abi3-win32.whl (4.0 MB view details)

Uploaded CPython 3.7+Windows x86

eclipse_zenoh_nightly-0.6.0_beta.120220930-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (6.9 MB view details)

Uploaded CPython 3.7+manylinux: glibc 2.17+ x86-64

eclipse_zenoh_nightly-0.6.0_beta.120220930-cp37-abi3-manylinux_2_17_i686.manylinux2014_i686.whl (7.3 MB view details)

Uploaded CPython 3.7+manylinux: glibc 2.17+ i686

eclipse_zenoh_nightly-0.6.0_beta.120220930-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl (6.5 MB view details)

Uploaded CPython 3.7+manylinux: glibc 2.17+ ARMv7l

eclipse_zenoh_nightly-0.6.0_beta.120220930-cp37-abi3-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl (9.8 MB view details)

Uploaded CPython 3.7+macOS 10.9+ universal2 (ARM64, x86-64)macOS 10.9+ x86-64macOS 11.0+ ARM64

eclipse_zenoh_nightly-0.6.0_beta.120220930-cp37-abi3-macosx_10_7_x86_64.whl (5.1 MB view details)

Uploaded CPython 3.7+macOS 10.7+ x86-64

File details

Details for the file eclipse_zenoh_nightly-0.6.0_beta.120220930.tar.gz.

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_beta.120220930.tar.gz
Algorithm Hash digest
SHA256 6c826eaa8c964242dd8b64451276ec3d2732aff61872dd7587e6ddbc300d8268
MD5 36bf60d93189853dc0f668a1a7c8182c
BLAKE2b-256 95da4d56bbb11d278fdc4da9cde5cb6f1d46bc26ba59375dc15373ff671363de

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0b120220930-cp37-abi3-linux_armv6l.whl.

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0b120220930-cp37-abi3-linux_armv6l.whl
Algorithm Hash digest
SHA256 fbfe965d1d7a6ed4fde00cfd0fe6d915a83e5258417ea5d2a5828252b1cd15a7
MD5 6d5286cf3f1bbaae38e7d4a57b5d7412
BLAKE2b-256 4605e31ac6eb2b231bdb785ab5395963d4a91f335490d991c84adc039433e70e

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0_beta.120220930-cp37-abi3-win_amd64.whl.

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_beta.120220930-cp37-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 060f4291b3316103f959a7e218df20819f75ca41effab219b380beb2819d5cbf
MD5 24c03e3e0333b1a3157f37438b87ad68
BLAKE2b-256 68eb5f76679317a95870f1868ef8b0b3fa27828bcd25be3362eb21babbdc6513

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0_beta.120220930-cp37-abi3-win32.whl.

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_beta.120220930-cp37-abi3-win32.whl
Algorithm Hash digest
SHA256 d275dd8203f5036b5c3958d1dc2cd4a62cbcd8744ac9db6f8668444859721ae8
MD5 a999a3bea35ab3f3adbf5bfc7da8152a
BLAKE2b-256 bb8642b92a4668472c7e8028180f5f038bd747e28b9676b23ce146cb903715cd

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0_beta.120220930-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_beta.120220930-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 6b474443f735db58c962254cf5c7ee7f370d10b1e56f3fd329d6b202fdce20d4
MD5 fe85535c40f20c7908d120f26ddaa837
BLAKE2b-256 8f56f6a6ab2ad68023559ad687637708527f1c5ed58a78849a24f4f7d0f27063

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0_beta.120220930-cp37-abi3-manylinux_2_17_i686.manylinux2014_i686.whl.

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_beta.120220930-cp37-abi3-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 19851e8f43d6800806770132984cb97b259810bac3f2f107455366565e54eefa
MD5 71059428269efa0270f1899c816f2264
BLAKE2b-256 eba30d8a6f2c7beb3fb10d7b4d8e8bb86db2a9c1512ec348d06e7e321788fca8

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0_beta.120220930-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl.

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_beta.120220930-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm Hash digest
SHA256 22b48c2126cb9923ce72fa13480bd5562ea6be9f055ed1f3e27352aedc6c330f
MD5 0486ce3d2c8a94a6b5b570cad9026158
BLAKE2b-256 fc4c9bf6fc901c51e1f4b12dc3778c91fca0017b828d96556b4a9a74f33d1cdf

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0_beta.120220930-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_beta.120220930-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 ac64e224f394f1f212cc9d640a705759957eabb0a946ba0c1343c96b4c4d9649
MD5 902677d02291eda88319329f4b54e3d3
BLAKE2b-256 951f33a6a3c3bab01e29c89134f2e480056f462183b963478482a66cedd87bbd

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0_beta.120220930-cp37-abi3-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl.

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_beta.120220930-cp37-abi3-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 f49490596b336752e5c21900b601d19894e299800322f19eea26031b8867bc58
MD5 0949517b725e4847473bc8e2099fd50d
BLAKE2b-256 f6748f9ec12cf0b1f3101d0a36d2a8876cb75fb69bd25a33b455df512fc462cb

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0_beta.120220930-cp37-abi3-macosx_10_7_x86_64.whl.

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_beta.120220930-cp37-abi3-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 0e09b753df0b4bc165d9c4ac1d9f0cf1546d6ba63d2ec7e96f1624ff1bc7af15
MD5 072aab48cb2e3a3c89f3b24fb0d81498
BLAKE2b-256 336e5db216c6baacfaaacd070b3dd1150a5fe284856f2e097113b4b0a7fbb4f9

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page