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

Uploaded CPython 3.7+Windows x86-64

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

Uploaded CPython 3.7+Windows x86

eclipse_zenoh_nightly-0.6.0_dev20220804-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_dev20220804-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (7.2 MB view details)

Uploaded CPython 3.7+manylinux: glibc 2.17+ ARM64

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220804.tar.gz
Algorithm Hash digest
SHA256 67576637e0d33cb91b829daaa1bf085c39104fe9a64de96f959eb6c2b6c73ef6
MD5 8af6e89e009442a94e486d93d5e51e21
BLAKE2b-256 84b455602d5898f60c68c3e9cc85d6008e3d31711ad58ff548efa1ca3761e75f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220804-cp37-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 6c1c590d439e52af80edd96d8766af17b6c2c6c169aeca6d2df2fa1c7206d94c
MD5 6bc80a3bef30aaa7714403a15e708005
BLAKE2b-256 7dc1353d6d0545f9d3fcb8109d99af418b12b6bde33eeb1abb22605c6c3a87ef

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220804-cp37-abi3-win32.whl
Algorithm Hash digest
SHA256 1a96812eb07ddf8db154fb43ebda917686f2836cad49d8a4d02a1ce8f08a2d9e
MD5 5bb0fc319ae5064334ca795c993a1557
BLAKE2b-256 ee6dbd7f74fbdb66ddbfef505843b326a560cdf7e3ac03aac50f714e367d59f6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220804-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm Hash digest
SHA256 59ecd29b436f3522f5f7ee041bd7be79bcb02207b8a82ad76390c04272cb79ba
MD5 c9c9546a8253abeab125e7574f8a2f03
BLAKE2b-256 07c0648310aad18f13eb87f2ac9b11dc4c0bccccc2c97d286b13d54ca09e6983

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220804-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 9bbb64205a1d46a36e8b9232e7ca31f0f31c0fe1ed054adb61d2c97b98b44e39
MD5 7aa8c1643c2f4aed026415123e97c763
BLAKE2b-256 70048f742717fa217cd2f7d5de7647a174f77c180c1b658dc8c49f3af586e26f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220804-cp37-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 87e3d84bcc29f5344b72b6136ae18808b12ad2a7c44c0cb81d94e0326dd2db7f
MD5 dacab288f025de57c915a28882d50830
BLAKE2b-256 a1b7c414c8d41da15b705a287f1afa45f5c267a266bc733b2e4473dfdf84d240

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220804-cp37-abi3-manylinux_2_12_i686.manylinux2010_i686.whl
Algorithm Hash digest
SHA256 ffdfd6a2729ec046488d3fa506514bcdad3972b85f796ff02d9cc899df393871
MD5 e6c0714845eda720c33309dfd4524814
BLAKE2b-256 eb24d7eb0dd2f1b964096cbc6fcd9085c82d5f19bfd07b21a586ef005b79ccd6

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0_dev20220804-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_dev20220804-cp37-abi3-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 9d4a6df95ba87488730e65a9e101a4f5b895586a5649e832f7ffb876c1a72e5d
MD5 413082d3bc29eb63cfb06ddcdaebd98b
BLAKE2b-256 9af4de4d8b406f24e7028687dbffe70cfbdc2ad0248dced3bb3cbab6f0d333aa

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220804-cp37-abi3-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 4c641ccc32bf56f444411790b6b2e99a3bd54b76f58594f45c8ea8c0a9e40644
MD5 e5b950a41b453e8045e14ee32e81e503
BLAKE2b-256 44b77dc2fd5eed1a9702fd19171c3ddc1ff9d9ee6186d9b0ea1b6d0c6bbaf7b6

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