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

To install the latest nightly build of the development version do:

pip install eclipse-zenoh-nightly

: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
    
  • Ensure your system can find the building tool maturin. For example, it is placed at $HOME/.local/bin/maturin by default on Ubuntu 20.04.

    export PATH="$HOME/.local/bin:$PATH"
    
  • 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_dev20220916.tar.gz (107.6 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_dev20220916-cp37-abi3-win_amd64.whl (4.6 MB view details)

Uploaded CPython 3.7+Windows x86-64

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

Uploaded CPython 3.7+Windows x86

eclipse_zenoh_nightly-0.6.0_dev20220916-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl (6.8 MB view details)

Uploaded CPython 3.7+manylinux: glibc 2.17+ ARMv7l

eclipse_zenoh_nightly-0.6.0_dev20220916-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_dev20220916-cp37-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (7.1 MB view details)

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

eclipse_zenoh_nightly-0.6.0_dev20220916-cp37-abi3-manylinux_2_12_i686.manylinux2010_i686.whl (7.5 MB view details)

Uploaded CPython 3.7+manylinux: glibc 2.12+ i686

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220916.tar.gz
Algorithm Hash digest
SHA256 8610d3e25ac0e08662a0cd12df4aa9d0ff5e0dc12354405b65dd1a619b9983b7
MD5 e81e1fa136d7ce48af7ac8442831c8d6
BLAKE2b-256 759edc0f98728828387389814069f5855246ee2e18dddefdcb74107151ee56b5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220916-cp37-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 8e67ea637457cbabd7220f110f11936be3bd3116ff5fd3f0bd458df2d9e69a95
MD5 df314089b5fada26b725f8c9de49e02a
BLAKE2b-256 6858653b625ea3b5ab97386cce4f3cb29eb3f0bf75bd7f68f1f20770dc7917d7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220916-cp37-abi3-win32.whl
Algorithm Hash digest
SHA256 459c0159fc948edbc874a0c9119738d36aea19c30337fe79ed53fd93e1868747
MD5 5c51605f6533363fc6f972fbe1f10132
BLAKE2b-256 76b501a400a643cb2d5e2256e12fdd7fac17e5ea85b30b7c69df8e6c7059fda8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220916-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm Hash digest
SHA256 72eaea3a893096dffb368cac20228a65b419793a756ecbfa13df6d7f70a25393
MD5 b0f3bbcc27d090586b3418351db7cb30
BLAKE2b-256 52226fed13811fd4c9a0c48e8814779f0a2919251a2a5c9356b31acf143d520d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220916-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 7e209279d96c7ed7e93664e7f3584e9e42bda2f850958e0365f91597c0e041b2
MD5 dda03b5014e557ef6ddbe46b5e92c4b9
BLAKE2b-256 78a5cf1616e3effa490747a767912f87070238aa030aecab4fa8e94175a629e8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220916-cp37-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 723c63b7d20f0bd1a92c37a65d433729a29303ab22c310a2bd9d070bbcc90aaf
MD5 5e1cda5116ae0a6597915270e85fbdf0
BLAKE2b-256 de7a609a25d292b9481bf7b6a3c5db3322a996d4d6a3ca249ffb2e8c4a80d3ee

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220916-cp37-abi3-manylinux_2_12_i686.manylinux2010_i686.whl
Algorithm Hash digest
SHA256 7e10ddeeb9b59fcd7f83492a63a8020b87bbac6bc63f402624aa22a6cf1ea5d5
MD5 7e4026715c87d9ab0ca295c1d31bf204
BLAKE2b-256 1505bd4fe6c767a63f4a32ef5b4a8af5103bad711451e4d8800a18bfb366bbae

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0_dev20220916-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_dev20220916-cp37-abi3-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 87327ed9ea5075181e667081c80e4cd4bb606be492de0bbefac424a84f9b2c1a
MD5 7c0057fee247ba61be53e95cd4acef52
BLAKE2b-256 7a7dc21d95d943332c5492e61dfe7a12d8eaf1344e106aa2e987c9f551a325ae

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220916-cp37-abi3-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 5c99ca33f0137fc728acca06988d8bce4d43c242e8ec4e363c6b9c9a4065da43
MD5 53765985b12c8166e3d32e8e2cebce05
BLAKE2b-256 74b8d56e419f0447caf614b6b73db8983421623e42f38254c966460fd838c60c

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