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

Uploaded CPython 3.7+Windows x86-64

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

Uploaded CPython 3.7+Windows x86

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_beta.120221025.tar.gz
Algorithm Hash digest
SHA256 b08e8cf0721e1dd7f7e4c6228f16822c94c2467595aad0f4b326de1df0a1978c
MD5 d8eab97f8406ddb4b13beff4a1913a70
BLAKE2b-256 f13ab8d4c22f1b410bf4a43603adb3ebbbc686f457938ed9c66d9464a7081dd3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0b120221025-cp37-abi3-linux_armv6l.whl
Algorithm Hash digest
SHA256 78f7731bda852561f87896e502983a1b49803d5336593f2057f384460cc0d68a
MD5 dc35c6be39401a3f404d4ac6d2e14d99
BLAKE2b-256 35bd5d23cfdc0e8452b851c5b563e0025c779b2c969485ed04f5e4df21c9be69

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_beta.120221025-cp37-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 be5c5c076de5991e1664129b35aafbb2a979acf221494addad0c1570297f14f4
MD5 83a9ec79081b6bd971aa89d0f3c7cd16
BLAKE2b-256 e825b2303e9d0a501690ca4ac75937ebac005f0e597d49d88f568792023b08da

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_beta.120221025-cp37-abi3-win32.whl
Algorithm Hash digest
SHA256 0c59651a69cc0fc2c8dfd3b7b629d6178fd3d42198cb30b42cd56fca8430a2b0
MD5 a3ed13cec855d2112be18bbfce22c4a5
BLAKE2b-256 0780252be836543ba6fe114a2079f28435feeec77dbf8cb5c8b3edb54069b55e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_beta.120221025-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 610aca67ea0c0a4477c40008e244c6d0472a9090fdb4d97cbe7791e955e91d39
MD5 678eae27afa8d76e98594cd045bbf64b
BLAKE2b-256 47d475533195a6b36a2e94009e1262a248294db37fe794bb1d8b1f82a3b67e56

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_beta.120221025-cp37-abi3-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 8a6d72d6772345af9054941e6bd1c9f4c81bb7ba867a4893d4c71e9dce4a6ecb
MD5 719ca26e871263ef09a83bdb3ccdef54
BLAKE2b-256 66b998f088fc1c3cd2b4535498d2ff34c6c8e6b3008f5bd4011477f1c6bb82fb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_beta.120221025-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm Hash digest
SHA256 d224a598c16db75514bc52b855fd8f5735a49f3b9d09b999be2a99a29593b387
MD5 49a0ee9e5fdda011e32bfcd44c0fc2a1
BLAKE2b-256 dfedabb046dbb9e3a2af0aba71e186fa984be348bf888ebee8d4fa5f0e13159c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_beta.120221025-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 7bbb546fa4f679417eaaee41629a15405de966c3079725eeb4f33e527712fbe1
MD5 34bb13bacbe1ef880621eaed70fb0a07
BLAKE2b-256 117b302cc78002d7d6fcea57c9644ea1f86e3c235d0fbe0d60a8b58f650010cf

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0_beta.120221025-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.120221025-cp37-abi3-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 17bac1e4522ed713c9a8107b8b1966243167cee1f612b0625645408e8336c988
MD5 412c3bcb586bdb20ab7f8851f7858089
BLAKE2b-256 75e8dde345a45c89428341080b30e6d6b34f1e89191c93bfcdb7ba41d004847b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_beta.120221025-cp37-abi3-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 d04efa0aebf72c1e49d95603e4c97e2ec1bda860fcf1f6bad634d07d45c78b61
MD5 7c7438abb5365bb3b749d6eca757324b
BLAKE2b-256 e94bf0f40c3eb595aaec9b4143bdbe1fa458490c9905d876df1fd64dfa30590b

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