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. For example, it is placed at $HOME/.local/bin/maturin by default on Ubuntu 20.04.

    export PATH="$HOME/.local/bin:$PATH"
    
  • Build zenoh-python

    maturin build --release
    

This will automatically build the zenoh Rust API, as well as the zenoh-python API and install it in your Python environement.


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_dev20220908.tar.gz (107.6 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_dev20220908-cp37-abi3-win_amd64.whl (4.6 MB view details)

Uploaded CPython 3.7+Windows x86-64

eclipse_zenoh_nightly-0.6.0_dev20220908-cp37-abi3-win32.whl (4.2 MB view details)

Uploaded CPython 3.7+Windows x86

eclipse_zenoh_nightly-0.6.0_dev20220908-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl (6.8 MB view details)

Uploaded CPython 3.7+manylinux: glibc 2.17+ ARMv7l

eclipse_zenoh_nightly-0.6.0_dev20220908-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (7.1 MB view details)

Uploaded CPython 3.7+manylinux: glibc 2.17+ ARM64

eclipse_zenoh_nightly-0.6.0_dev20220908-cp37-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (7.1 MB view details)

Uploaded CPython 3.7+manylinux: glibc 2.12+ x86-64

eclipse_zenoh_nightly-0.6.0_dev20220908-cp37-abi3-manylinux_2_12_i686.manylinux2010_i686.whl (7.5 MB view details)

Uploaded CPython 3.7+manylinux: glibc 2.12+ i686

eclipse_zenoh_nightly-0.6.0_dev20220908-cp37-abi3-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl (10.2 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_dev20220908-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.0_dev20220908.tar.gz.

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220908.tar.gz
Algorithm Hash digest
SHA256 18255b42324301644deb0cf2772acce5e764e5168dabd8829aca7618d00bdadf
MD5 4df6b10a304c2020b23d1d658a40c0fc
BLAKE2b-256 0f5bc92fddd7ef09af197a5f82c6a4e853dd7805c499213bea078b42aeb304c0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220908-cp37-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 146534c711ce0643891c84b8a9b684d55f9018bb8e0d8b2d075f596e4fa509c1
MD5 40e721e17e3ec8861be7fe6ff262ccc1
BLAKE2b-256 4fb12c65f780f635d4e9ff4185c437c71313f5cc658ce3e3f32550e70d459e35

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220908-cp37-abi3-win32.whl
Algorithm Hash digest
SHA256 bc6adf887226b5b83eec0ca75ff11d51b20d98ad996a5a7d05bb2eb01dcd52be
MD5 6b04d8784f3ddb061e4cf3e9dbba3797
BLAKE2b-256 6f9ff447589f21fef8f1eea84817abe63a028de6dba9eb1c4c90c7d3d4cc03a4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220908-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm Hash digest
SHA256 2d294925cd4ed845e03b0d0ab9e3b5441025897084565ed45ad47cf4e11320c7
MD5 635ea98a86fbe15c1b77f08b19e48435
BLAKE2b-256 de2153da5df49cd9c683e8e629e05edc2c3db53ed3fb039ce7b5e45060ef5fae

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220908-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 65245f34b6291021c31ceb479be4f78ec2a981d4b8c80b648daa6e54a182c51a
MD5 2536b88020a0d550bc23db625dbab225
BLAKE2b-256 2c60051c642fcf7374b5e83ff4003eea952850e42e7b6a21af029054e7393966

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0_dev20220908-cp37-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl.

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220908-cp37-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 4854d77c7453ae88cd8dd52f22dc8a3bd670dd0b2e0683984d3479f57ce5ac59
MD5 3a38930dacdb450b11762bfe33eb3ddf
BLAKE2b-256 a121df94529a31374c0b6bcd736588ec06648d3787b6f7cd5f170f12b35e7299

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0_dev20220908-cp37-abi3-manylinux_2_12_i686.manylinux2010_i686.whl.

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220908-cp37-abi3-manylinux_2_12_i686.manylinux2010_i686.whl
Algorithm Hash digest
SHA256 749ad6e95ecbd9e795e82e8f2c2b475ea794628b389ed96b969536e3ad18f720
MD5 513593b68a2327058a4b9c29e1a40de4
BLAKE2b-256 c36897bf0e958fe66a92d275c96e2931a7ff3f0389acfe8562a75b213189b779

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0_dev20220908-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_dev20220908-cp37-abi3-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 4b36148f408aa6a95b7302f793df5135f4d1764091c163046589bcfb9dee2fd4
MD5 0d766db075e69e59caa53c14a6b768d3
BLAKE2b-256 05caf064e2e21eb2e0d2ba76d4c8e2f5f74e9e27ac1677629442840b2aa3e20f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220908-cp37-abi3-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 6f0f9466e024d96ba97bc8954583bb3c03b9572a6e259f09ff41a08732768147
MD5 cf09ed8aedc6c5b4a087a21d90f6715c
BLAKE2b-256 98f198eaa75ff5516edba670751f2efe49a7e26211ba7cfae58d7a1a146ba77a

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