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. For example, it is placed at $HOME/.local/bin/maturin by default on Ubuntu 20.04.

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

    maturin build --release
    

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

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_dev20220727.tar.gz (107.5 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_dev20220727-cp37-abi3-win_amd64.whl (4.6 MB view details)

Uploaded CPython 3.7+Windows x86-64

eclipse_zenoh_nightly-0.6.0_dev20220727-cp37-abi3-win32.whl (4.2 MB view details)

Uploaded CPython 3.7+Windows x86

eclipse_zenoh_nightly-0.6.0_dev20220727-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl (6.9 MB view details)

Uploaded CPython 3.7+manylinux: glibc 2.17+ ARMv7l

eclipse_zenoh_nightly-0.6.0_dev20220727-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (7.2 MB view details)

Uploaded CPython 3.7+manylinux: glibc 2.17+ ARM64

eclipse_zenoh_nightly-0.6.0_dev20220727-cp37-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (7.2 MB view details)

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

eclipse_zenoh_nightly-0.6.0_dev20220727-cp37-abi3-manylinux_2_12_i686.manylinux2010_i686.whl (7.6 MB view details)

Uploaded CPython 3.7+manylinux: glibc 2.12+ i686

eclipse_zenoh_nightly-0.6.0_dev20220727-cp37-abi3-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl (10.2 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_dev20220727-cp37-abi3-macosx_10_7_x86_64.whl (5.3 MB view details)

Uploaded CPython 3.7+macOS 10.7+ x86-64

File details

Details for the file eclipse_zenoh_nightly-0.6.0_dev20220727.tar.gz.

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220727.tar.gz
Algorithm Hash digest
SHA256 76b30cabdea15dcb7fb7431fadee6bd5b2184c294e5a3ceadee11f8911a832c6
MD5 c7a8ae69cbe6cb1351ac670d3d42f265
BLAKE2b-256 2671c840bc6eb3ed01b342c3116742c53fa8557d8e47ce0e6bb5704564350ccf

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220727-cp37-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 b98fda596dbb6856c413975dfbb8090676045f4d96d180717f0d9c4ab01e2e9e
MD5 757dfcdc3ffc36218489b72951f9919b
BLAKE2b-256 5720da25eb25b6f6ec6b86c96e16d6817f2ed77cef240fffc94e0bd5ec406ddb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220727-cp37-abi3-win32.whl
Algorithm Hash digest
SHA256 c79e0a0db026638b4f75b067a024e83f3412476a18a71af41eb1dbf1296afdbf
MD5 87baec71d0d3ce0250f3dbb0627a9bdb
BLAKE2b-256 9b1bcafb053e6ca0ba465192751e3f4b837092f37ccd800a4af15c36cd18afeb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220727-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm Hash digest
SHA256 a26dd8e1e47d2042c8e6ed6a61b5e7d93894c79c9f4d4c283a4d007f8284ab98
MD5 4b802c07a4d662754df57c887563667a
BLAKE2b-256 e171af2be209e4716895819eca7224ea81b41deb47d9c337585850fecd3e52e5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220727-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 a387d72bf85c24e7c888f86cb03dd35658a96b9fab8923c565ddcfb0daad7227
MD5 e7779d6edd60969458a640d04918d747
BLAKE2b-256 c784964f7845d68718a129200bd57c2f11d89cdb21629934fafff52a6152276f

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0_dev20220727-cp37-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl.

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220727-cp37-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 1088fde78eaa6ce87e614a9e60e17854578cf385f2b3245724ba1f07a2dcde39
MD5 ba2a4a4b7d5605dd3606203607163bb5
BLAKE2b-256 9a6f2fb244641d08e1ec5b18f855d288d80c21495e57e53dd99d30fdabfc6908

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0_dev20220727-cp37-abi3-manylinux_2_12_i686.manylinux2010_i686.whl.

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220727-cp37-abi3-manylinux_2_12_i686.manylinux2010_i686.whl
Algorithm Hash digest
SHA256 d47714cd43632a89d3ce951839feac67cd827b015d1b4f2f3d06632ef508431f
MD5 ba52b7d07647426638cf4396effa9db9
BLAKE2b-256 ecd2e3230ecd53069326c995ac7c63c7b1553d7e00b88c6562c09e1b8f860de3

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0_dev20220727-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_dev20220727-cp37-abi3-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 913aa493af43357e948000181226103e014e98530b7c223f4175320368fccb73
MD5 bdf17e210ef8b20b3db22b6bfc89c795
BLAKE2b-256 eb1c648da803a75dffdf18062e6d1ad6453f3446fce0918c65a72da2521ae9f3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220727-cp37-abi3-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 c93e2e92c10b6d24fb55559ad074ac75d1a29f7949383f1f49690be3ea19d931
MD5 423b5fc5e279c237784fc081fea30acd
BLAKE2b-256 c594bb52d49717da164fb9367e7b82ef4b33d450bee3c3634c9c90540f1ca77b

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