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

Uploaded CPython 3.7+Windows x86-64

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

Uploaded CPython 3.7+Windows x86

eclipse_zenoh_nightly-0.6.0_beta.120221102-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.120221102-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.120221102-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.0_beta.120221102-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.120221102-cp37-abi3-macosx_10_7_x86_64.whl (5.0 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.120221102.tar.gz.

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_beta.120221102.tar.gz
Algorithm Hash digest
SHA256 851b5a2ad1836e2a7fa06855241b69ff7c333bf853da8a1d9ba82b7d71a68bba
MD5 25317e5a33d7a0b754eb826f0837813e
BLAKE2b-256 57ecc8e3221582eee3a673ec225b5fc22bc2bbd0a3cb70935b97345ebf4e57b2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0b120221102-cp37-abi3-linux_armv6l.whl
Algorithm Hash digest
SHA256 0a97a43ae1d7f42819cb66a9ebf5441de40bd58e9e194c3002e74c6d9470b765
MD5 7cd2bf1a504cc03c0537d9da878b8a1e
BLAKE2b-256 f45746fa356442b43af6c71cb08c8e90e39789fd9132f5aee5b0763d6ae8bd67

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_beta.120221102-cp37-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 ee22aa18f144a77372f610725e7326b50e7d0b6bc722f75428bc2e4c91d9e6d6
MD5 e8cb79b8fc393ed1eba6bd951941b1c9
BLAKE2b-256 14cdc2cc901275305001f06f7a14930f6f219a095413bf88d41e4811148f7f32

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_beta.120221102-cp37-abi3-win32.whl
Algorithm Hash digest
SHA256 7adafaf0ac1a0037022c6e27ae16c44ff1751a84d767381fabfa6fc09e8c470f
MD5 a4c4be8084944fb36b5b853c5fe76b09
BLAKE2b-256 6ade14780de223d41d3508dc3f223bab31031e8f33b8cc4af8caf9d467f0a7b9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_beta.120221102-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 800447c60987173620c2288f3645cc4359b799d0aad6742a9da96969963aac41
MD5 e63ba0a2ea7e415c7fa00a1ec410bf72
BLAKE2b-256 1d38133f320385f61e8f1609fc3c75084d74ab7424aac6f05565cccbae02545e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_beta.120221102-cp37-abi3-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 260d371b5c6ddeaa7bde15e35cc51081f9c5ee143c630e49b5c134c6044a1932
MD5 af77bda114d6c607a3f4f6a77d464ba2
BLAKE2b-256 1489d7d5d805b64346b7b182c01bfa0726635b33378d7460c963e77e6722189b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_beta.120221102-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm Hash digest
SHA256 f37ad77c79fe4d255106145624a5058aae70fc259dfa02cfca9e37e9442f5212
MD5 c20e2f865ca0b157756c19fad9c44f9a
BLAKE2b-256 aac26c1301e0e80061fc45bf4675e3a14279446067ab44e76ced53a91e42d466

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_beta.120221102-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 bbe7eeff9711605f8b2720485f19fce90db9a67f2e65b821245aff531a7c904e
MD5 038e635a8bd625fae76adc6eb74beb13
BLAKE2b-256 d274c22c7cfbc6f0a858757c41397171ac77804474229ea9ff10e4c3fe94d296

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0_beta.120221102-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.120221102-cp37-abi3-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 481acabed74c8eae03961f1930d1ad795208a0418169e18bcb7fb7308de90c58
MD5 bbdbb8f0547a6c7f442a217f7552e8b2
BLAKE2b-256 eaa9b8f197a19c089121186ee28ac8c1dc0f2dce0b9fae9575ceca29b57032ea

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_beta.120221102-cp37-abi3-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 574ed325467ce1aa353b98b177fdf389257d6655d6e6f3d1e68ce1326f3a2f79
MD5 6697fa9670b333c90b633ddcf72c80c9
BLAKE2b-256 d6a0a9df6682f688a0c5e89435729a8f4d260ef525c44e72687b0cd9d3c8dca2

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