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.120221031.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.120221031-cp37-abi3-win_amd64.whl (4.3 MB view details)

Uploaded CPython 3.7+Windows x86-64

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

Uploaded CPython 3.7+Windows x86

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_beta.120221031.tar.gz
Algorithm Hash digest
SHA256 9371cca95bc5d9d4399344423d78589e0cd5a08e59cd50400d83a15bb92f7520
MD5 61583c748e3f0f59cec3daee66b88643
BLAKE2b-256 42a9b277b40e851657601731bc5f01fab0957c42d0805c5ba33b9cc4eb59254d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0b120221031-cp37-abi3-linux_armv6l.whl
Algorithm Hash digest
SHA256 7578607a7d76b5e377d80af37aeed9554c1833d03273286f918f3441970d8acb
MD5 b21fda2dc9b4429dbde06ef809aa4264
BLAKE2b-256 6f4920c4da5a7393a492e5edf92cdc313271bdac5646e54bb197d6cc93308d33

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_beta.120221031-cp37-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 9bdd387711bb689b66faf5e24f2495f555ce2892acc168790c62edf823916421
MD5 62dc6831718eb6cbb9d4ac5018486963
BLAKE2b-256 b133f79b0014edca7cdc920db8e18d5e31613e9e565848bd4c683f5795b7ec1d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_beta.120221031-cp37-abi3-win32.whl
Algorithm Hash digest
SHA256 6bcd74f131c58482b04db9011f3827d7cdf2bf1ecefe05eeaade12672b389f3c
MD5 9792b3026c07a0a21c992750eef94cb5
BLAKE2b-256 b5c576cffe992e889edf05560a0de0f83d7b8202f789eaf5c8da26e57a5006ba

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_beta.120221031-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 bed308a098ee8df1ba902bbab2608a6ad436094de499e2a06c1c804173300cc3
MD5 29689e8402abc07320398aa116015b66
BLAKE2b-256 3d1dd444825af5ea4e736dec98e6ece844a120616c6a5e937f2176934131b9c6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_beta.120221031-cp37-abi3-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 00a6e765fad10c350e670b6474e787809660bb45e32984d7f25c3eacc06e0517
MD5 d10918d856ea1bb820ab812df15bc3eb
BLAKE2b-256 f8fc0fa0f4d840e62087eca2e8144be550b7e194b4b3f183661bd123fda26f33

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_beta.120221031-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm Hash digest
SHA256 f37780eb8476ea21c26907ed4b04619bbabcb768bbebe1572e52d74116d310ac
MD5 ff9a9173323c4caadbc88576f2606056
BLAKE2b-256 c2593c8d940d04ba04d791f6aad3e3e56c303526bb7a80a0e46c272c203e7fa1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_beta.120221031-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 3324d3f7cf2ea42d4382a47a4929f6ea441838784187fa73bae0c489ac906226
MD5 759aa8114bd7848c75ac86287a8eaac4
BLAKE2b-256 333019262843a3b144e59f459bfb98da3b610e9808e2d5fc290928b7997bbbd3

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0_beta.120221031-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.120221031-cp37-abi3-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 2537aa7858e23a9149995e5261c9332115926c8c14f478c72654213f3f38f6d1
MD5 ba4995a25705895f4c6ae5904121c70e
BLAKE2b-256 70902512c7b535dc2be3416443a6c1b8769c14eeb49e8b0c618b5e9816b3a5dd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_beta.120221031-cp37-abi3-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 2f26768d7c9c485e49c501ce01366dfbe443bfcd7ab6f63bf4732d99aa01e57a
MD5 c9df1a86e488a2a86382581823650ff9
BLAKE2b-256 903bb220fab299410d2c6d3dfb1069acb2dc7c020e32654367ae88ab0ef41994

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