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.dev20220426.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.dev20220426-cp36-abi3-win_amd64.whl (4.5 MB view details)

Uploaded CPython 3.6+Windows x86-64

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

File metadata

File hashes

Hashes for eclipse-zenoh-nightly-0.6.0.dev20220426.tar.gz
Algorithm Hash digest
SHA256 9274bcac9058865ab82007fb4f02b606f4afb3873acb2e37850d4a2b4f1aa1e3
MD5 4bd72297f25336b23f8c9cde3d8618fb
BLAKE2b-256 462175437da0c8cd236ff70c3e9e474edcd4a384f3d0aad79f1a275c9978e452

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220426-cp36-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 55505712c267deb0227127fd95765d9893b225e8acbf99eef3e877489063c563
MD5 e646825ebe30358b050da3c3323d7809
BLAKE2b-256 cbe2dc654b765c50a9321e5114e3b0b84722a656ce4a9235ea1afd178e4df419

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220426-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 f9dd1f7eec72fe2e9c98d87f54524be20e0960d3b1095d59651cd3a7b50c2de8
MD5 76b1c472a834abdb4f8b84ad3c21d4e3
BLAKE2b-256 69d68f7c698d0555ee6b7f70c619a9a0eda131831084869f4b2e5f0dd9b9c748

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220426-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 63b9f69c2a04be952faecd8460fe9584bffc3abdcc21c6fc2d3ae166cac38546
MD5 570113548a017d40c0ca4752ef762f02
BLAKE2b-256 d7b0f3aef91ae8f14c3571804b9eb4a33a8e6e0c8dd40ffa8b764360405a54f8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220426-cp36-abi3-manylinux_2_12_i686.manylinux2010_i686.whl
Algorithm Hash digest
SHA256 bbac9401c19d83eb360aebdb3bd7fb8d53a84fd1b8e16f5397eed6c715a34fd1
MD5 f5fb88670532d3e72ebff69045a6baa8
BLAKE2b-256 68f83467bfe19c5bda1361ec1c22bfee88b5ca454f19305de86534bb6327ebdf

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220426-cp36-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 ae1ccbe1f769cff01f0ef11cc7e5d678033ee7693d290b79ffccf4c08def1d44
MD5 18f0e03dd5c1a80a4be3b675d8602958
BLAKE2b-256 4b3a160cffb8936739f5496f59fee7e402b6c312710d44a831b095e382464842

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220426-cp36-abi3-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 8d916f67969e3e4a359dc535ad6eb4b07bb0bd222d091a53d4cf59f30baab390
MD5 c045c42f97718f61b3c365cb87f828e9
BLAKE2b-256 1eb3c7c952d4b92f18992ec0ec5d5df86df8f80a9030588c331d7fc927ce7495

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220426-cp36-abi3-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 73130ee1d5bf0175cf649829dca4bfe80102cb2f1d26d7e4157d30d6b6a30d8e
MD5 da0ba7467c062b352fac3c93db5ab138
BLAKE2b-256 a89c39c31eee2dc5bf3dfd5fb0f5e57246932ac131c76611472711e3c43a9562

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