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

Uploaded CPython 3.6+Windows x86-64

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

File metadata

File hashes

Hashes for eclipse-zenoh-nightly-0.6.0.dev20220518.tar.gz
Algorithm Hash digest
SHA256 0e4c52d77fc1d8e8c1df482e6ed8f2ac6a8ed3199bb3e6a92e7b06a3638a39eb
MD5 9efc4a1e6bd588cea173d619e55ad8ee
BLAKE2b-256 7a70243b348dbe4e86374df3e46167550fc7c8000ce6874f13b1b0ea9edc1d42

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220518-cp36-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 5ace0fffd4e7462ed4ccc79298bc33010500521a6cf87442b05e7f630c7fdff4
MD5 56de2bee30125cb2172dc08716d04e05
BLAKE2b-256 c67835cb4105b963bf8b09604f443d8732c73357b2342d037c7de40b092de4c6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220518-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 ed8857e841a15614687ec52f87b4401e0b4d907c3214cb6ab47fbeced3160a82
MD5 f1968c3bcde08c2e13630155f6dc43a1
BLAKE2b-256 279bdd49bbeac5f459544fbeaa49acbd4c520aede264187b92e7fe4c1f0efbfd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220518-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 5f855ad23e18bb24bee600132fea93507c66d7ad277946e5e7599b3eef42212a
MD5 32ff027a88e42415fefa4ea535c4ec16
BLAKE2b-256 7d1f11b860d754799f1e07039b4dec6a6bfed30a6bde0951d594de8999e3905e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220518-cp36-abi3-manylinux_2_12_i686.manylinux2010_i686.whl
Algorithm Hash digest
SHA256 88ebae4a9068cb90f94e770262858a344a9addd3a8120b4de234fc7eda65112c
MD5 17c7b5760329dd69fd29e60771c5d1d0
BLAKE2b-256 d1bc9a90b6b7f81f07c92412edb5f4c12574116b6c8f96babf59137a92b60a9f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220518-cp36-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 3423fcf3a71dbd07544fb447a4362cea00e82d8067ca4208df99c6687ca79891
MD5 beb440c394c59f96c901d7ee1fd6d427
BLAKE2b-256 c840d3f76d1f76bbbd92e0b9e64e2ed067a0811453832d85c6582741a12c408a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220518-cp36-abi3-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 81cc73913a3367f225f36679e50800f448f710451b3fdf9c17d9994c5726b2d9
MD5 1790f177b1105819c1f57a799f45cbf9
BLAKE2b-256 f354ccc9b43cad51d543055d11ae4e72fcf80ee831c1745b5b74e35a3d9650a0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220518-cp36-abi3-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 aff05a8b44dff046c2d9163e6c328e9273177610b1fed1133aff62e2ad03fba1
MD5 e852ea2e0fd9f0b91906054f1fb5bf79
BLAKE2b-256 168c2a60d9a44d2c94c3c65621ed40e3052b91a915893358d7121ee232ff495a

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