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
    
  • Build zenoh-python
    python setup.py develop
    

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

Project details


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.dev20220523.tar.gz (51.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.0.dev20220523-cp36-abi3-win_amd64.whl (4.5 MB view details)

Uploaded CPython 3.6+Windows x86-64

eclipse_zenoh_nightly-0.6.0.dev20220523-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (7.1 MB view details)

Uploaded CPython 3.6+manylinux: glibc 2.17+ ARM64

eclipse_zenoh_nightly-0.6.0.dev20220523-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (7.2 MB view details)

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

eclipse_zenoh_nightly-0.6.0.dev20220523-cp36-abi3-manylinux_2_12_i686.manylinux2010_i686.whl (7.6 MB view details)

Uploaded CPython 3.6+manylinux: glibc 2.12+ i686

eclipse_zenoh_nightly-0.6.0.dev20220523-cp36-abi3-macosx_11_0_arm64.whl (4.7 MB view details)

Uploaded CPython 3.6+macOS 11.0+ ARM64

eclipse_zenoh_nightly-0.6.0.dev20220523-cp36-abi3-macosx_10_9_x86_64.whl (5.0 MB view details)

Uploaded CPython 3.6+macOS 10.9+ x86-64

eclipse_zenoh_nightly-0.6.0.dev20220523-cp36-abi3-macosx_10_9_universal2.whl (9.7 MB view details)

Uploaded CPython 3.6+macOS 10.9+ universal2 (ARM64, x86-64)

File details

Details for the file eclipse-zenoh-nightly-0.6.0.dev20220523.tar.gz.

File metadata

File hashes

Hashes for eclipse-zenoh-nightly-0.6.0.dev20220523.tar.gz
Algorithm Hash digest
SHA256 4fba0811c252acf67e5248ad5ee60b94b51302340377a2d008111c115fbdebae
MD5 0ba09e18e741b0545f90b9deb2af62ba
BLAKE2b-256 6cfe6a706d69a9c20a5adf6bc7c655acd535d766fa27959c450f2c11e12509b4

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0.dev20220523-cp36-abi3-win_amd64.whl.

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220523-cp36-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 bc33e8d5ff290c5b96fcd3c00ce55bdc156d88a225877068a1a639bf51713d17
MD5 8ed266821395bf63abc698bf8744633c
BLAKE2b-256 8939760a2f0857edf0f2d35b80757f346b61abdc0fb5ef768ae559154be75d8a

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0.dev20220523-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220523-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 a6f948380f110c04e0eb747f118fcebb228f3fb35025699fe16fa00578c2addc
MD5 eee329f32b6d75d8e7d91cd385a3f3e9
BLAKE2b-256 6e47143b6c27300684ef99b689b34bce0f71dc51e204ef55403cf8d4ed2e0d18

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0.dev20220523-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl.

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220523-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 9262d62e04143396535c7995f831ad05e0c58c19f7d5599606fff3dc874d740e
MD5 a744c8d17dbb03e7e3133c93dd3e015d
BLAKE2b-256 733cf54aefcb03777401573f1d730e9b43aa6a8bc9fe3b33017e0d4d139d644d

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0.dev20220523-cp36-abi3-manylinux_2_12_i686.manylinux2010_i686.whl.

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220523-cp36-abi3-manylinux_2_12_i686.manylinux2010_i686.whl
Algorithm Hash digest
SHA256 18c948ed128cc0555e1ac15bc0d405d8d0acaa722eeb9d00898dd62c8048d21f
MD5 03f6077bb19008f46968b3b1df47b1ad
BLAKE2b-256 573a57db313af51ff1efb26ffe60f9606220cd2bb76d22c84c2fb8e03be18e6f

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0.dev20220523-cp36-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220523-cp36-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 26aa422d0e959bd94272cf9d45eefd5afb7af90c3440afe11b29653e3faca62b
MD5 4de8086a18b61a6b4ddccf483313c829
BLAKE2b-256 2e32f32f1e6cbbab4fcdb3178946d669b745e67e0a7fff3b6021848147a45402

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0.dev20220523-cp36-abi3-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220523-cp36-abi3-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 deebfec5df327d8e9c8309d4093917a59bc74c37bf06b791709647104c0ae7c3
MD5 ecdfa3bdf08e27aabd5f38641763cb9f
BLAKE2b-256 ec7075264bb862df34302ecd30d1f1afb275d62dad82f7e3c9ec1b4cf7c49edc

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0.dev20220523-cp36-abi3-macosx_10_9_universal2.whl.

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220523-cp36-abi3-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 d8ff68caaae00cd792c3d81fe329bb9c3f16df6c52606ddb25fb0dd174b95267
MD5 71b3c2e20dfa138d676617dd30c331b1
BLAKE2b-256 9e07b198fba281e713c626626ad41504315e97a09b3c394a05b0d440052c4092

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