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.7.0rc20221209.tar.gz (113.4 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.7.0rc20221209-cp37-abi3-win_amd64.whl (4.2 MB view details)

Uploaded CPython 3.7+Windows x86-64

eclipse_zenoh_nightly-0.7.0rc20221209-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (6.8 MB view details)

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

eclipse_zenoh_nightly-0.7.0rc20221209-cp37-abi3-manylinux_2_17_i686.manylinux2014_i686.whl (7.2 MB view details)

Uploaded CPython 3.7+manylinux: glibc 2.17+ i686

eclipse_zenoh_nightly-0.7.0rc20221209-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.7.0rc20221209-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (6.7 MB view details)

Uploaded CPython 3.7+manylinux: glibc 2.17+ ARM64

eclipse_zenoh_nightly-0.7.0rc20221209-cp37-abi3-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl (9.9 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.7.0rc20221209-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.7.0rc20221209.tar.gz.

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.7.0rc20221209.tar.gz
Algorithm Hash digest
SHA256 b7937b3caea650cb87278d9ae6c8ac6a276c4733aadce75fae21126606200d42
MD5 63d8c25ee8ecde745bb929e6987e84d7
BLAKE2b-256 13322e13ea9dd39071f419063cc11d21db60226a1c735b25f71f0438ed834715

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.7.0rc20221209-cp37-abi3-win_amd64.whl.

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.7.0rc20221209-cp37-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 36f0463a57e4f4e0f2b76578a3ffc4c94961c0e5102c2291079bd150c3e57db0
MD5 94c70f9df566cffdfc83f958ee26bd2c
BLAKE2b-256 8a4ddf6eb881f0535b5c172afe707e0681b3b280a6215aafb20a160e991d9e81

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.7.0rc20221209-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.7.0rc20221209-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 889f3146b4f63c27356e41507711988e319e86b1fbb631a4b45b62f784387598
MD5 5f50cd99004a63e93492af1eadd88c5f
BLAKE2b-256 b4fabad0b5e6f9f809f4cb964fd50710278b12ba1e1f09e2d33564b4e696c614

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.7.0rc20221209-cp37-abi3-manylinux_2_17_i686.manylinux2014_i686.whl.

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.7.0rc20221209-cp37-abi3-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 089b5ca6c96c9141e36870d150d53a78bc6b28bfef58915bac17366c744b260a
MD5 082a9f41fa92ac56d78224fd99e9d8ec
BLAKE2b-256 8ae88db2ed5589dacd355e2abefec566e96988da7e3a67b0bdf84b0b2a598b71

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.7.0rc20221209-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl.

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.7.0rc20221209-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm Hash digest
SHA256 c2251803bfbf208965da86fad4eced01d3c997f2add3278f4a29d905c4b498ab
MD5 4827f00b6eb9725b40a3819424cd2639
BLAKE2b-256 7de6c3436bceb7ad2222bbfc6ecaed48c1236638341c28422deb8ad11d0ba337

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.7.0rc20221209-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.7.0rc20221209-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 a333fdbed65f6813f2e48d91265e36cfbea151bfcba8b4c64b6726fa8f8b55e7
MD5 10087d2050d9b0f470386692e719c774
BLAKE2b-256 43c5c6b701b76dacd06542ab57035db4f5f2dd0abdfc45252c1eb224f6b7f33e

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.7.0rc20221209-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.7.0rc20221209-cp37-abi3-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 998fb7f4328501c596f51acdba5172fa50bc31d3b00f933a53af261420e81bbd
MD5 0fb69e10158c9dd4ca8224d4c7d4ee06
BLAKE2b-256 cd206099ff93fcd78ef9d57d3842474d62de787ce4672bad8bb7cb7216b71933

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.7.0rc20221209-cp37-abi3-macosx_10_7_x86_64.whl.

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.7.0rc20221209-cp37-abi3-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 d74aa2f05e0a41e14706ae14651154bc662ad6d371462a8d14da1d25f6dbabd4
MD5 c167df64a0a9e9ac8947ef3cf6101c83
BLAKE2b-256 12b50293f8f95c963eb68956271f2a1baa40da83fd1f376fc5c448d62ae7a1a4

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.7.0rc20221209-cp37-abi3-linux_armv6l.whl.

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.7.0rc20221209-cp37-abi3-linux_armv6l.whl
Algorithm Hash digest
SHA256 c6eb5a9e4ecc36b8f4e69c22c4bed0f627c508bebdb90e056ec08485c6641b08
MD5 bd964a41fd7f61829b2f40a88344992b
BLAKE2b-256 99506a4a118e6055c4e399a3030be88fc8408053c10ddd39361310d7053dfc79

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