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

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

Uploaded CPython 3.7+Windows x86-64

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

Uploaded CPython 3.7+Windows x86

eclipse_zenoh_nightly-0.6.0_dev20220713-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl (6.9 MB view details)

Uploaded CPython 3.7+manylinux: glibc 2.17+ ARMv7l

eclipse_zenoh_nightly-0.6.0_dev20220713-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (7.2 MB view details)

Uploaded CPython 3.7+manylinux: glibc 2.17+ ARM64

eclipse_zenoh_nightly-0.6.0_dev20220713-cp37-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (7.2 MB view details)

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

eclipse_zenoh_nightly-0.6.0_dev20220713-cp37-abi3-manylinux_2_12_i686.manylinux2010_i686.whl (7.6 MB view details)

Uploaded CPython 3.7+manylinux: glibc 2.12+ i686

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220713.tar.gz
Algorithm Hash digest
SHA256 68fdc4898307136da1f7ee4be712391ffcd1f8d4df0f0b51a57001fd39e4ec57
MD5 bb922ac614b68256aec554fe49661378
BLAKE2b-256 523c40b8f8bbf09e84c897a22c6765191d73aa908bac7f922580f3654c86a1a0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220713-cp37-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 dbd68f6ad75a59db806ace8ea9040771ca535812e39fa7c7a4974e3ebf976223
MD5 26e44c91218a6e7ecd56af2dbb23b103
BLAKE2b-256 257adb193a22f7a0242b55443e7fd50f528203cfdfb2569c61f8135b58871e40

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220713-cp37-abi3-win32.whl
Algorithm Hash digest
SHA256 161554ea1ba7b6c068f4a5ba3f08f7c3f4df9ed59bb8d69a73414839f45cbc1b
MD5 312184617d1f618b22951bbd4e8c6bb4
BLAKE2b-256 79b8742aa6e7a55c975aef36e3bccaf60cd1f6e483706439ce9a5dc83e9c6ca2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220713-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm Hash digest
SHA256 5f112e51f79feb8964be6f71640acaa18bed5d30e8e8964f392c7121bb5056d5
MD5 1447c8971e40c55a389bfac8cd0a9288
BLAKE2b-256 1a19a08213c831468c7d6a4f464985697f76a44c21b2249d5d31168368ba1b70

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220713-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 34cf7587e8a3e7ea70b8d8f1985017bd25e9d52af70a494e747c562d94c0de55
MD5 f1a3f33cb6b49e73405f812c6de6022a
BLAKE2b-256 dd3ae749a00df9a5d738357fac10b4810491a527902f7c0370836aa7351643cd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220713-cp37-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 2843b1bfdf4c23311114120026c60f4ffaa7940425cd8c675cb02ca23011ab82
MD5 ffd8552bb3a6fe0b902ac6a268090af9
BLAKE2b-256 75541945cb6381a3d048910425c05a864e80c2bc408111544a7415b97b65f350

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220713-cp37-abi3-manylinux_2_12_i686.manylinux2010_i686.whl
Algorithm Hash digest
SHA256 662b3cb27c35cd22f75bce1445ac68cb8bd72aabf535712e0c6ae0edbcc8f5db
MD5 e0635d129ce12560864247f5e8b079d0
BLAKE2b-256 1982c0234fa517e81ad2354ac35e136e4be128ee3bb617f0af76e1242ca74c5c

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0_dev20220713-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_dev20220713-cp37-abi3-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 70cbe7b0cc58e5fdc8cd195472dfa05b3efcc4fb8280e000c34e665df520ec50
MD5 cc0ee8448703d4669a44ea06e498b398
BLAKE2b-256 1c3c939390f7bbcc2ee7374a8a2f9ecfa39587cb02888f9f32f0d1ac8ea15b44

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220713-cp37-abi3-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 c51bc566f88ee17e874be12f4967066905bdcef9640442ffa3b5accdd899efe1
MD5 1e69cf1f731b763b5fec64d6736ee7be
BLAKE2b-256 422cdb76c33443d9da78067864ab076e5f8ef3baef5ac80a3b0b3ebf75e1cb76

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