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_dev20220905.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_dev20220905-cp37-abi3-win_amd64.whl (4.6 MB view details)

Uploaded CPython 3.7+Windows x86-64

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

Uploaded CPython 3.7+Windows x86

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220905.tar.gz
Algorithm Hash digest
SHA256 f198a77ed97614fe9fe7433e4dc840dfabc8a205ff138b69b747dbd7a9677c74
MD5 7b4de75c9da412b50909ab7eb80d4e06
BLAKE2b-256 59b1e34f5b4139ee8d472f3c621c273fac741b40045abec88cb701c449e30cb2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220905-cp37-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 86b8aa9e3676aa31b4f5ba719240337f16d0fe96465693af7379c9768df7b0c4
MD5 1730ce191fb161fca8ff4d004f037551
BLAKE2b-256 d596f97901248f1cca3e0af246caa430367329757e43542864d0ea3ea5bd63e5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220905-cp37-abi3-win32.whl
Algorithm Hash digest
SHA256 b64325cbd902b202b5d5c2c8a0dabe174b63b59ef3c2f494a8c948adfe91f595
MD5 53262cf65d2c82724ba428ae297c5a12
BLAKE2b-256 7a3c322a2a29fb9ec43b5b5abbc551e929057fbdf9148042976229b17864aa15

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220905-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm Hash digest
SHA256 5a06a71699f985de8f0fcc6401b1024921587405a273511332f05b213c009ebf
MD5 56011321182fb5a7a2d1ce4dc919c7fd
BLAKE2b-256 7e83c358920f332b68985b671b090ce06e8489f31895d695b392d5ba19898162

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220905-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 503a4f52a9a7c445b72e9ee73a64a489d0a9de37b1906fe0ae001bbe3c035bcc
MD5 6818645f0fa44c88be1561e98227db88
BLAKE2b-256 66dea9b239154c8d47436588a528062410c7d6938271580f8d86c01b03bcaf7b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220905-cp37-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 322f087c4ce6d31cdf5ea884cd602c698d400474f089f097ee396f04e6e93235
MD5 63779b64c504b1d8e14aa79630ff228d
BLAKE2b-256 757c5c3e514bbf781fa01c1211eb6b15da82392c74bb96dbc25dc648f93ce37a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220905-cp37-abi3-manylinux_2_12_i686.manylinux2010_i686.whl
Algorithm Hash digest
SHA256 072298ba771860779aec2e4274bc2b53772a8dc3b892d3d3b85d604e58bb147c
MD5 69e9d8714e9d63ceee62d33429ec526c
BLAKE2b-256 110585d56250d2896518ed4af26d8db8a94196ff93224f0944355516889152a5

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0_dev20220905-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_dev20220905-cp37-abi3-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 2a8b0009905eef06fa0e63e17bef17d7b52c804297388d8f071ab30e600f1a40
MD5 d7fede8c0306bf2c22888cdf149a11b4
BLAKE2b-256 807564e39a8ac3e09a65638172029ddf1ee5adb4d3ff0aa5e28c3b504c995d6d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220905-cp37-abi3-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 75837448bc5beed030a19d4314131fdfec966e365241ee3278928bde04a145b7
MD5 d42978d4237849e8f46434c1187ea895
BLAKE2b-256 b713e28215fd78a0441289ef9e6286c8aee97538724656902e6aea6cc8924d9d

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