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.0b120221125.tar.gz (112.2 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.0b120221125-cp37-abi3-win_amd64.whl (4.3 MB view details)

Uploaded CPython 3.7+Windows x86-64

eclipse_zenoh_nightly-0.6.0b120221125-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (7.0 MB view details)

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

eclipse_zenoh_nightly-0.6.0b120221125-cp37-abi3-manylinux_2_17_i686.manylinux2014_i686.whl (7.4 MB view details)

Uploaded CPython 3.7+manylinux: glibc 2.17+ i686

eclipse_zenoh_nightly-0.6.0b120221125-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl (6.6 MB view details)

Uploaded CPython 3.7+manylinux: glibc 2.17+ ARMv7l

eclipse_zenoh_nightly-0.6.0b120221125-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (6.9 MB view details)

Uploaded CPython 3.7+manylinux: glibc 2.17+ ARM64

eclipse_zenoh_nightly-0.6.0b120221125-cp37-abi3-macosx_10_9_x86_64.macosx_10_9_arm64.macosx_10_9_universal2.whl (10.0 MB view details)

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

eclipse_zenoh_nightly-0.6.0b120221125-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.0b120221125.tar.gz.

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0b120221125.tar.gz
Algorithm Hash digest
SHA256 b200e5ab983d89c8de4f3ce74ccc24de55d0ae1d16c6ef27f44b44a5f3e90f77
MD5 72684712b19145ced4055ef7db239d0c
BLAKE2b-256 62e5e6007dd463820c5723eff0716a94b5abe4ec42757cdda9336cb61c071e6c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0b120221125-cp37-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 060e2f59909746a0892b6e8d6ec9dd809d4517993306e3426e06c1acdcfda317
MD5 e61945bf40807f405bea72ce299121e3
BLAKE2b-256 30b6242fb542aa75fe1715f6d9f4073061dacf9aa38d9be57b2983675c281f4e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0b120221125-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 cbb0450ae693b55dee94cfd458921fb15d6650988a6952adfa6eefe103bec4ac
MD5 097df155fb1e6d0241f93600e14c3840
BLAKE2b-256 914a68fc247c3c0fb35048bc89701195d43c2c500656337cbbff89310fa3eaf6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0b120221125-cp37-abi3-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 7d25230516e5e79ae48b06f6d311ccd6d184e3a06d112adfbfc81d8068b53cb4
MD5 db764c681d63a099872c30a1c5290cd9
BLAKE2b-256 948ff29d41977d7b0d18141c2d27cb079cde0783157f243f212efb3f400e9827

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0b120221125-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm Hash digest
SHA256 96af119499f7b1f7d178475f39df1d10b1a55874bb0819a5d1873aa1b46b1f52
MD5 5137bd175e5d2407608b60db76837b34
BLAKE2b-256 007145d7e04e3623ca65abbe5b88be6c089e2e560e7b541292a667c8a11eddc0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0b120221125-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 82ce26ab197cd26035442d1a8260ccf5100a4e60adac1392326b06b30e13bf59
MD5 c9e3b844c15cb4a703f605430205d2a9
BLAKE2b-256 de9ee95bd62ba263fe6e9d9937c9ecde49d6ebc78e95a031e896bb9736bfb359

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0b120221125-cp37-abi3-macosx_10_9_x86_64.macosx_10_9_arm64.macosx_10_9_universal2.whl.

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0b120221125-cp37-abi3-macosx_10_9_x86_64.macosx_10_9_arm64.macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 d41dca77aee30b9c235b5342b5b1069e4ab50c46df1a44c6c2b1474a65294fd5
MD5 571f7086da0ca8f2e2f8f09dee965b9c
BLAKE2b-256 27a2dec3df60f0d5750e1e44587bab29f82bcc5b2e38672ee79566487aeedd3c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0b120221125-cp37-abi3-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 28ca3f07eb891a517887ef7bdd9ad80d37fe276dca92cec987a48831ba352a9d
MD5 6ce8729914ac1e74733d8bbc775642f0
BLAKE2b-256 55caf706d250e35da7d184df1f2f91c7deed3c5a8982b7b12b5c3ea25a1a54a9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0b120221125-cp37-abi3-linux_armv6l.whl
Algorithm Hash digest
SHA256 abc6a105bda594793f4099fed18b074537b99bc9ef9de0c07bf3a340d9dc2bba
MD5 b39f8e3a8ead0e93a5d5dcdcc5fd8d97
BLAKE2b-256 199d2e2f9e6332b9b0b33bff3fe1b49ac7cc1ccab994f2895d6cf7b2ec188b63

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