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

Uploaded CPython 3.6+Windows x86-64

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

File metadata

File hashes

Hashes for eclipse-zenoh-nightly-0.6.0.dev20220420.tar.gz
Algorithm Hash digest
SHA256 d2fff57bb4d26170327712a719337b600e3fca573f09946cde30990c9f12d2f6
MD5 78c886413c235b4affa738e2cf9f9abf
BLAKE2b-256 6018ed535981493fdcf240e0ab63feb999c1730c53db0fe4d3ec59fbe3c43a35

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220420-cp36-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 46a1ec76c2dd8e7276e6cb3907c17cc1549f2061439277bd5609b2ed8c5514ef
MD5 11580e317431d3a0d3dc06656b752a72
BLAKE2b-256 7cb2f68d3dfcf8a6b3b5f2b00f9c85058ef3ff633bf4481330e190a199509932

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220420-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 810f3d78398493e2ab43287eb116f526193d9f6d118117a2d6e65cecf6fdf984
MD5 906185264ef58bcbbd555a7b7a931747
BLAKE2b-256 bd1222282e7508e71c43c2ce215627090fb4306ad5af2c7108dd567e317aa767

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220420-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 a2134a35b8b25713e5fd120cec3c2a4af3b2ba4f0bca50f273209a7c46aaab15
MD5 8cbd87c610dd3f8c23c6cb0f0eb6aaff
BLAKE2b-256 2eb0fcd12159207286d7b736c1eb07ef63b4cf3a748c402b3a51e380bfc2e101

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220420-cp36-abi3-manylinux_2_12_i686.manylinux2010_i686.whl
Algorithm Hash digest
SHA256 1effb1b8bc4b67e7d44429fdbeca539c8c4b8f326c958697c400081555138b2b
MD5 11d4f9cd26c300dc4c8e8f437a21c3e8
BLAKE2b-256 383dd6f9872bd9737a5f85e98907031c41068edfcc22a0f264a4a924f5ed260d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220420-cp36-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 f15d2435dc35ff3315c9932664f4afafe4a22ab7dd3f3a525817152cf49988b7
MD5 f9d5eab057f65d38d88349010fcec5be
BLAKE2b-256 a8fd52ee8cf99a5785ebb3b94bae88ae7e4fd13e74650933c242738ab00922c4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220420-cp36-abi3-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 63beaa9500718d921327afa0e854bb4a2a81c40f98c16bde24fbd45204a5e9bf
MD5 67bf405ca43bcc78d903090e81cbac42
BLAKE2b-256 f04f48ec8f128463bcda72c4613f59df806552189954b8e575b9c019c21081b1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220420-cp36-abi3-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 26650cbc9fbf45524d6da38649250de4bab3dbd232fa7e13193026854a338fe5
MD5 b0910e3fb8705721f32fd19b1c577090
BLAKE2b-256 49b5851612250de2ee7fb0ff2c1856676f1ec546a25fe2c6cdc1a95781281c7d

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