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

Uploaded CPython 3.7+Windows x86-64

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

Uploaded CPython 3.7+Windows x86

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220707.tar.gz
Algorithm Hash digest
SHA256 2d374d094519c52d8f371927bacd1a54d7dd11f3d69b7df650fcb6024cf387de
MD5 a61fdb9485e116dd13fa66f958011c48
BLAKE2b-256 3e105772b8de97184b3cdd491e1f0513dafe8424ec586065cf9caf0fb0716512

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220707-cp37-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 4ea255defff13e75a08413cb4349965ead926b04cbf5627eb98d4e445f80d886
MD5 1925930a06a8d1777d15c4249328014f
BLAKE2b-256 98316a9039570f2f55613b7c039d7588a185c7b39aec12fb8adff2f135650a7d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220707-cp37-abi3-win32.whl
Algorithm Hash digest
SHA256 7437d9cad57e801fde5bbaaac1e8530ea83360498f49cf30479196dd84cda8a3
MD5 f928011e242ecd7d70984ccab765f743
BLAKE2b-256 5d837dd26b5c307e72c5d08acb785d86b86dde0a29eb964d605ceb756b306b66

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220707-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm Hash digest
SHA256 53b712d8e01f7873a403d4ac2fdae97a6b6a4032fa3f04fbfdbddabfb93d101a
MD5 000921e9da88ae0e80cdba65c7e03cf8
BLAKE2b-256 b64f7fa75630c6fcb0da19388103515b28eb47f0602336d2c745eac3a94fcce2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220707-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 f4043d4d7580310b77790e2d67b05f42788679aad8099d43c320037579b5bb88
MD5 f5954177d218c486762a59b4451b69cb
BLAKE2b-256 40498cbaaffd02439b2002e37e16ffe9920ce9133c9bc95293c01abd0d6eba04

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220707-cp37-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 50901b82dd756c69755b2fe5818c7ca31c70c8d77515f17ecbe9aa719a290f0c
MD5 f741313c94fd35a7ffb16f00c5f2fe38
BLAKE2b-256 1ecdb53bf8420732fcfc5abb86023b3c551bf7c0e77988d83672a6ca70bb430f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220707-cp37-abi3-manylinux_2_12_i686.manylinux2010_i686.whl
Algorithm Hash digest
SHA256 9cd68d4c111f44266aaec46d0001494e1591aa47538708cf2683a200803356e9
MD5 8b1847306c03227e460bbdfd33a39f2a
BLAKE2b-256 c73304cde095d946d2c4843008fef3817f959faf8847dcfb93e68d7475fce9eb

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0_dev20220707-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_dev20220707-cp37-abi3-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 49733e8b7e46435dbcf21871f202930881214d25ee201e199ee9650509673566
MD5 9ca37bec0ddde817c5244a2a8a2191dd
BLAKE2b-256 ce01a5588b85cf7ed9e740b62829b00616c83b1c500846b2a62379335de42566

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220707-cp37-abi3-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 80df2bf76d1a2d254ada453f42edb67933ec59d3661a8d7024f1f25bddab090c
MD5 8aefb50c09254775cb30230762937bdb
BLAKE2b-256 1fb7a12e232fdcb86b6ce999c6f2f26435b05f5eeae372d1873ef7befe16554b

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