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

Uploaded CPython 3.7+Windows x86-64

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

Uploaded CPython 3.7+Windows x86

eclipse_zenoh_nightly-0.6.0_beta.120221003-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.120221003-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.120221003-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.120221003-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.120221003-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.120221003.tar.gz.

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_beta.120221003.tar.gz
Algorithm Hash digest
SHA256 5afb277f1b863e1a62f012c63d482e818a8434d0a1cbc2ccc4d9eda297bacb2a
MD5 cd8797a1e79392ff153cfbcc063f8f54
BLAKE2b-256 742ee57876d0dfd1ccc6b398091969d22d830e32a384e0a3044f0afe191d3a8e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0b120221003-cp37-abi3-linux_armv6l.whl
Algorithm Hash digest
SHA256 6c946808f5960c631c2d7ef3d6bde17619cc1aa7dad05815a3581183fee82bae
MD5 348b29048abd8917f1c2ec803c8d6483
BLAKE2b-256 2c0bd4fc4a976e6ebd35e3f0d2c83fb2747125b2bde382425afa4fc3f5c526a4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_beta.120221003-cp37-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 21f029ebbf057d3ee665b45dc859aff7be9fa61758be2c707c4466b268e07691
MD5 7aa47e7bc6e1ed717f1e5f176621678f
BLAKE2b-256 41631613c4b8580ad5ddfc22d6974804008b1c69ebb4b7ae7e8a6507ff9c09b5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_beta.120221003-cp37-abi3-win32.whl
Algorithm Hash digest
SHA256 29fe0be6af313880d6a613540d55fc552b29451ea7d972959682fb08589d61c1
MD5 5f4a01c273587ba1a5b6dd5e9ba7564a
BLAKE2b-256 d01e8cd1ff3bc99ebcb29e294c796f65acdd3b6f627940db2f4f394af2361961

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_beta.120221003-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 c5c096aa6ec2b1a386e742775c93988e5ba24c7cf45074bf4033b24fc3e1909d
MD5 f651efbaaeec1abc7e49ca75796cc322
BLAKE2b-256 fde8a6ef39de4ab8006f9127b8f83b280c2dd3d2465c0c673d8c558b65d13729

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_beta.120221003-cp37-abi3-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 a1f8feaeb5640d4ae253670ac9b36df69ef61ea65ce661a3eb6a144b1021b489
MD5 9dd4a90d26303a43b642d8f37655ad6c
BLAKE2b-256 bef30b8fb44731c285c16218bf68ca72ab5df0d42d3ca825551559ab4ea1d224

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_beta.120221003-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm Hash digest
SHA256 c24fd87c74ae47b0f6f137a0162f7c4286e25381f8df092e38c07a573b74d7ac
MD5 1b786b550ddd8ce4849df90914371e89
BLAKE2b-256 a9b83d6de3f2f94d17b28109244d713643209ffb212e1b67592c65fcb508c24c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_beta.120221003-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 d84bee4cd42ad578f80a988a05be09847524146bdf16f0d6ce7c00b99a567dee
MD5 ca2e9365c46bc38b55bc0800c5347d83
BLAKE2b-256 e376d7eb298f8c230b0ba0daf9709f0b96cef75330acc0081c72cb24712b805a

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0_beta.120221003-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.120221003-cp37-abi3-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 cf7eb8f674021b78a496fc989ffcaba62af1b14cbbdf89ee17e1ff6e4de9925b
MD5 336e0040bafef3f08aa9780e2d964e79
BLAKE2b-256 4f49dbbe9d2e6866de8b0f5a28537a2b986d64d565622ca1dbda1cfba2a02b06

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_beta.120221003-cp37-abi3-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 2c432e3ff9545275e1b6549940e9ee452f62e6f40e72b0bf515012be83ddcae5
MD5 3e3833487e83acd4e4df4198f96d66b7
BLAKE2b-256 a296eccb8c2637cca36cb86335b3549f6d7c36f04af07255a0cc314f03c8660d

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