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

Uploaded CPython 3.7+Windows x86-64

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

Uploaded CPython 3.7+Windows x86

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220720.tar.gz
Algorithm Hash digest
SHA256 12be061d4b201bb5c1e88b094030f7b517a5d68fd1a31ae57a3ad10f20e19e27
MD5 e6f6e1833df7a1ebba5fd8f1613ef0a0
BLAKE2b-256 a2b2033bc10e06e1490e0df6f66307f5c11c8ea3959363ee97518bd6d9ab05d6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220720-cp37-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 efec390d36d84204c09819856b9975d5b87e34a9e7fda4adf6589211d9971fe9
MD5 ed91a969aca458d7980c593e5880e753
BLAKE2b-256 081fd04581e176e6e154e6c7a9d23d36c24eeed00dcceec6766df3b8340fcfba

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220720-cp37-abi3-win32.whl
Algorithm Hash digest
SHA256 ab491fecd12b01860bb2ec086b6fb8995ebfa23264480e90681707ba0887b691
MD5 0362ad54b27747d3ab71c26b232b3b11
BLAKE2b-256 626fe45416aabb4bea8ec1f66b351d8ce9be06b1b599b93790f2970df0e636d1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220720-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm Hash digest
SHA256 7efa66a19cdac5e8789d30457e7bc951fa1ddceaa2123c5d0f2aa8e20dbc187f
MD5 8e661b6f3e3e940514f2f0dd695a2d17
BLAKE2b-256 90646df27dff29b042c9d4781fdfb798ccefaf870ed0ab09bf3d535e9b128581

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220720-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 362fcc176ce39aa698c2a1fc47c5a22b3d77f362744e61a501c1a85c07fdfcbe
MD5 df127d52e1df60206aa330fb647be3bd
BLAKE2b-256 35e2df508764fc1d2c964cfbf8ab5e1d640d3ed7d8724eadca36dbbbd425badb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220720-cp37-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 761124792b5e621faef1f4844512d0aa12ecb312a40a4627a56c23caf5fca1b2
MD5 f6d841e22a2487c0e79d80eccf9d52fa
BLAKE2b-256 265a6439d003d0baadcdda1353459cf55184a35b2aed6d0730c6a281e25b2725

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220720-cp37-abi3-manylinux_2_12_i686.manylinux2010_i686.whl
Algorithm Hash digest
SHA256 dd0688ec1676f23bfdbb588f502d04b27fddd74e79c165104ba765237c2ae707
MD5 14bdee29c48be59ea5f654c9097c8633
BLAKE2b-256 2cc54294c370f50a86a542eb3ca4acbc48844574043565f376a610167e60494f

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0_dev20220720-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_dev20220720-cp37-abi3-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 f38fe29f32ec1e3e13bea5caafbb2e5f82395d75abec878949f84c45833d9bd2
MD5 83deb560e4c164a71bcd1814ca58e97f
BLAKE2b-256 b02acd3f136cfb8368b5d9531a02e01db7a49cd3045828895b2a4e991a067a22

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220720-cp37-abi3-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 d24ca03187c34ea75785889e6c70fbf70df197cdc34941ab39ed73ccecd57557
MD5 4e40a602551962d51ad2e6e1101766ff
BLAKE2b-256 8b6f855985c1011076162dbc37e2083c4e44c8fd4dee371d88a7d44a9d102cb7

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