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
    maturin build --release
    

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

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_dev20220614.tar.gz (107.0 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_dev20220614-cp37-abi3-win_amd64.whl (4.6 MB view details)

Uploaded CPython 3.7+Windows x86-64

eclipse_zenoh_nightly-0.6.0_dev20220614-cp37-abi3-win32.whl (4.2 MB view details)

Uploaded CPython 3.7+Windows x86

eclipse_zenoh_nightly-0.6.0_dev20220614-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl (6.9 MB view details)

Uploaded CPython 3.7+manylinux: glibc 2.17+ ARMv7l

eclipse_zenoh_nightly-0.6.0_dev20220614-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (7.1 MB view details)

Uploaded CPython 3.7+manylinux: glibc 2.17+ ARM64

eclipse_zenoh_nightly-0.6.0_dev20220614-cp37-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (7.2 MB view details)

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

eclipse_zenoh_nightly-0.6.0_dev20220614-cp37-abi3-manylinux_2_12_i686.manylinux2010_i686.whl (7.6 MB view details)

Uploaded CPython 3.7+manylinux: glibc 2.12+ i686

eclipse_zenoh_nightly-0.6.0_dev20220614-cp37-abi3-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl (10.2 MB view details)

Uploaded CPython 3.7+macOS 10.9+ universal2 (ARM64, x86-64)macOS 10.9+ x86-64macOS 11.0+ ARM64

eclipse_zenoh_nightly-0.6.0_dev20220614-cp37-abi3-macosx_10_7_x86_64.whl (5.3 MB view details)

Uploaded CPython 3.7+macOS 10.7+ x86-64

File details

Details for the file eclipse_zenoh_nightly-0.6.0_dev20220614.tar.gz.

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220614.tar.gz
Algorithm Hash digest
SHA256 d6560d0ee468efc942acfbf82da9f9d3528a2cd21b1a47317297b517e2201666
MD5 790a59166710945a53ec16fc7195035e
BLAKE2b-256 ddebf8e5c56a1b7fb9c1eda03bcabacbbe372e93e3b45b9473fbfa947ef5bdd4

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0_dev20220614-cp37-abi3-win_amd64.whl.

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220614-cp37-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 dab0e8a3053bc915354e5805a5a1e2cd867ddfa7135fbf22a2c24cabb07f3227
MD5 c9f67f9b1fae78274add7a445e1d7c1b
BLAKE2b-256 631d85905b1743580d06812db08d155d850fd35f290ff9c02c17e47b901e8a1d

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0_dev20220614-cp37-abi3-win32.whl.

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220614-cp37-abi3-win32.whl
Algorithm Hash digest
SHA256 564231a55f38fc7c4dcb56d092f58035d594ea2b9ae42e6afef483e4f795357c
MD5 0cab32a6a75dc17b3553943207db65f5
BLAKE2b-256 faf92e5feda2a19fca19f8e0b9ac85d480031b375e9f7107281edf7f82baa564

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0_dev20220614-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl.

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220614-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm Hash digest
SHA256 f1493d6f79e2ca2c809004db015a0c507519497f98e3437aab29d4d496e5a06e
MD5 7e6e26789749b5448b05e06cdbf5fc47
BLAKE2b-256 761f2bb1fc3b8fce81a7d36dd0eceee6de3f02db4a8ab35c251e0f2470ea8eee

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0_dev20220614-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220614-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 b1eb57bc8b55b061098a2004dac97548c5d50404ad07dbf859271448f165a602
MD5 c70785449a7504b47a7b6445a9312082
BLAKE2b-256 892baa92a59ef9eae80e700e4261284ed710266b5139b68f318cbfb35e9d17a0

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0_dev20220614-cp37-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl.

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220614-cp37-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 e8a78dede04ec80ab97867c3129293b3694baac46b4de1d2f44de00276161785
MD5 7a059b01b47eb5c64856a63d9d9e7e90
BLAKE2b-256 a993c397ee0386d4616f3e3234b1168a4a6abdc04a4918613a1917b4ddde8c64

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0_dev20220614-cp37-abi3-manylinux_2_12_i686.manylinux2010_i686.whl.

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220614-cp37-abi3-manylinux_2_12_i686.manylinux2010_i686.whl
Algorithm Hash digest
SHA256 6517a9a06706e1fcaef28f3205a18e7cdffbc24308d714eb725a8762d73990d7
MD5 efd3258be35030d12a15eb15199cad47
BLAKE2b-256 f24d21f6a39ed6953e5325f8384b522973d0bb5d79f438902d24d7a602533b8f

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0_dev20220614-cp37-abi3-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl.

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220614-cp37-abi3-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 f7a947a84902353fc61e727bea94df1f0affc8f2e6dd9e32c7436396eba940ab
MD5 46a9b974ecdae87c0e7e4e45f142d7b1
BLAKE2b-256 4b8f674837a1764182bb147464a71867fdf2b2a26b5f8d50e5f42aeff3247fa1

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0_dev20220614-cp37-abi3-macosx_10_7_x86_64.whl.

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220614-cp37-abi3-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 e83a9c47e075615c6945c8e18436e37b59fb9d6390bc671f318ae4032cc54902
MD5 d4241a30443401e9f74dfd64dcc62737
BLAKE2b-256 a9337a0eac1de351715bdc5299da8df8257fd46b5ed4945ef3871c6616be1a8c

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