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.


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

Uploaded CPython 3.6+Windows x86-64

eclipse_zenoh_nightly-0.6.0.dev20220427-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (6.7 MB view details)

Uploaded CPython 3.6+manylinux: glibc 2.17+ ARM64

eclipse_zenoh_nightly-0.6.0.dev20220427-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (6.7 MB view details)

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

eclipse_zenoh_nightly-0.6.0.dev20220427-cp36-abi3-manylinux_2_12_i686.manylinux2010_i686.whl (7.1 MB view details)

Uploaded CPython 3.6+manylinux: glibc 2.12+ i686

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

File metadata

File hashes

Hashes for eclipse-zenoh-nightly-0.6.0.dev20220427.tar.gz
Algorithm Hash digest
SHA256 a79d8eb39d9b07b82b9f122c852d6b1e7c097400ebef052b55e0f3f7b489e8d8
MD5 eeb5cba0c170f66fa76560d42f973b75
BLAKE2b-256 4dd58aaa9fd00f9ce4a1c9ba674347b31259db54aeacfa8eb6a65b62d4ff2029

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220427-cp36-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 5334b438a1d8f30eaa9b0a218887218f78e00467a5010c0d8f4d527693273d80
MD5 8213d04373935b0cb59098d41de0290e
BLAKE2b-256 859024cd586ac9bc5d4be3f8c36c7ac17df7932be9d54401da75c23106e94df6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220427-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 6c343d087aa2d26ba0f0fec132c550ffbfc6c40cb28b083e7d2e82db096d9008
MD5 a3ea2b56ba7e17e973ba788ae96f1cc4
BLAKE2b-256 d5e2b58186dbfe2912a6de630b3c3ea10a8fa3d8188e34af15d991d98a983cfe

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220427-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 8d789738fcdd0da63dccd00f3af9e5617f275627e70d904a05dbde325af77bb8
MD5 9d5356c9c4516f6233df3a7820b6a24d
BLAKE2b-256 f71bf1e0dad99f81ebcd2c0b5c53dd6a243ad8c0dfbad4dca298cede1bf17736

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220427-cp36-abi3-manylinux_2_12_i686.manylinux2010_i686.whl
Algorithm Hash digest
SHA256 465c97d6f9a9812a494656f229fe2e6ea826c8b59a4657948b9f2b40e8d19375
MD5 e29585f76b52fe7b5a843942f1ec435b
BLAKE2b-256 de5a6af5f9e518e0dbc82007d92165f7fd2371ee7b9bda1ae11e944ef1a021d6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220427-cp36-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 b58271af609669ee8e38b0d445d98aab89086d9f792c70ea4ea094d345de45f4
MD5 9114e808c9292a1453edeb4e3abe1599
BLAKE2b-256 5b32950c9ec6f8f2c29512d8954e33713f94dc78e3589b7e752288cadd46538e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220427-cp36-abi3-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 c3b4d98aa2be8690a9c920b899039469ad9e98a2f2a53eaed51279e1180603a0
MD5 a830826d90902a1dc0d399ebfafaf3d1
BLAKE2b-256 49486232a95931423cc3e55b72b329e8fa87bfed75b2bbbc8b7cc7d75b0d3224

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220427-cp36-abi3-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 ccd3e838dbe6bbacf4289809d0a358bb0df708856134548a9835485c7b405fb8
MD5 de7846944ac4676ad8578478deaea7e9
BLAKE2b-256 babfc2103bb924805566c1ed51c3bb00596c3e1db36f6b65b65286b7011f6bd4

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