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

Uploaded CPython 3.7+Windows x86-64

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0b120221202.tar.gz
Algorithm Hash digest
SHA256 8b5cfb413c4523f70034ee4c819fa58f4554e3a63e90fb81cfaf5acaed408b21
MD5 3936f0a7842b4bb09d6b3104c9be119a
BLAKE2b-256 789b177d2c48a1f7917ed64afcddd3ab352e221dda0ed537be6d0647c5615658

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0b120221202-cp37-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 c78f83e8566442eac7e0c9ba162b475465ed6d2cda2a051f0ee40b598b148e55
MD5 7f1210398332104d543dab7770e58e8d
BLAKE2b-256 2ac82d6751834036d75343ebf6442bbb9c6df15f4dce62c5281736ef0dc390b7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0b120221202-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 afbe993a97d29e80db429af4e005ed9135ec9ee08b24f4bec08543ba27afe694
MD5 00a5b49271ee73a9e01f0d14aa5437b6
BLAKE2b-256 ea2c6c660a584049640f3e599da52f3e5e78c4c7077845fd9a6ef52baa396deb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0b120221202-cp37-abi3-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 a832a1143ca19a35bd230402aea6c2206f62682dd838af52069357832c9dc6d6
MD5 886be3d0d74ef259eb371cc929cc8fa6
BLAKE2b-256 a1fce74afb554da449d3045a4d89a401f9be4c24db97f7bc4e79d2465abc896c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0b120221202-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm Hash digest
SHA256 58a49c91b5ae6a2b88b4a631d96b76e8c9bd29b3dc48639ec1c8beb8cb3c4481
MD5 6ddd84159eb711f281206324fa79b247
BLAKE2b-256 1cc9593d1b5c372f0adbffa1a42779d718636bd0837c5f312b9fc519470ecda0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0b120221202-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 cc9e1d9cee9d54ae71ce14f7326293ea543b7527bc1aafbe01f12d5d2c8a1485
MD5 d15d21692c1d52181e22dfad3a8f8a3d
BLAKE2b-256 ce43aa8cecc3ea29887e9ae8a03ae5d886e8e6ce60ea48f50ca857bba3c15f6b

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0b120221202-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.0b120221202-cp37-abi3-macosx_10_9_x86_64.macosx_10_9_arm64.macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 b7dfc86d394ede8f0ea460bbb62b4e6b82fbed011cdc5bda565149ecadeeff97
MD5 376994284d130937da623fcbafa78602
BLAKE2b-256 a6937b12ef66366d1fea355591649af9daaedb268e62ae743badce952647f95a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0b120221202-cp37-abi3-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 5a725c24116a143c511db8f8de5bd439c6cb80875e49cedea7509a1274942795
MD5 13881e89a319f6cf5b4c104b2cbc1f95
BLAKE2b-256 b32f2e6bf00763b4a67ec7f6ff9809dddf35c933e5ef72410cdc84bf2c7f829f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0b120221202-cp37-abi3-linux_armv6l.whl
Algorithm Hash digest
SHA256 62c32bf5430027f6b79277ef5fbed89189221a23ca7c4420f8b51951e338310e
MD5 4f4f7567d3a15de85b1be49424fffaa8
BLAKE2b-256 659c89c89e918434554f5f771b36a0f082b1727fdc171cac702cebd835599d4b

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