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

Uploaded CPython 3.6+Windows x86-64

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

File metadata

File hashes

Hashes for eclipse-zenoh-nightly-0.6.0.dev20220415.tar.gz
Algorithm Hash digest
SHA256 b86c52f31d48b3b4aeda16afbff0be991771edc4384e1bfc265e59652eee1274
MD5 137285354bd7732b567f029539750be1
BLAKE2b-256 05e415e0f94c2b2457bf0d75a9696cea0abdb70427ce08adc40f5a8ed1311fda

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220415-cp36-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 9e2b8e0e2f9deee770b4efbc3c9e99d818bcd041876c94804db4f7c3629a4f45
MD5 39300626fba46b28e8c1a042b0163df7
BLAKE2b-256 62133366642d6463614cdb45d629fafa635b68423920139af52806e66be21a3e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220415-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 6bb3c5dc7540456cc864d8ec3506b17fd4786d000dc1d0d86f68813bfcbf29ce
MD5 4c962557059d8954b90f05b2e879ddd5
BLAKE2b-256 71c97a3581baf759e701b9e451c6429fbcd27e3af403fc48ace1a85850eb4c41

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220415-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 1f849f7f26d96cbfb9fed27003b72c1aa9cfa93edee4ab91aa8e2ea675d844b9
MD5 717438e1fb965ab64737283e3f826d01
BLAKE2b-256 b5a726579a3a9b2d4413d1eb9d0f612c729563a68872337d59d6293bec25550b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220415-cp36-abi3-manylinux_2_12_i686.manylinux2010_i686.whl
Algorithm Hash digest
SHA256 42c375aa0238d866547cdf7e35fc8e28325589e42b924f4fb0ce629576bf4973
MD5 7cb4f76bf05c263808bc1ff5102526f4
BLAKE2b-256 48a9470d7b555cb942518c6070e5f8f2aa8b9704c39712fc484d89386f2b6f1b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220415-cp36-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 a5d77052137aa59220682fd400683a0b899c8448170ab2795d04a88f50eff543
MD5 e6b59c76fb60149c8e8e6e328affa428
BLAKE2b-256 a6626147a81743ab08fcbdcf176ec966da5c6b23f6290d699cfa3614490f645e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220415-cp36-abi3-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 32a5518fa72ee946923eaf91781f093c3b42311eb1a45c9280d504f52c6f4573
MD5 d5abe9952de80f1373cc139a09fcf737
BLAKE2b-256 ae6662b3147f04c2487d1f8b65359917c4b434fe48eec77905bb3e5eb549cca8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220415-cp36-abi3-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 f9a91285641579707c5deef6baa935e19a6b5d650dc6969fe01ddb3786e41597
MD5 dbc45ad1807023f518bae1aab90665ed
BLAKE2b-256 b01513157d19dcf42204640d9624c64b32a5450fc1623d45fa9a40be103dbdc3

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