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

Uploaded CPython 3.7+Windows x86-64

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

Uploaded CPython 3.7+Windows x86

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220623.tar.gz
Algorithm Hash digest
SHA256 8ed781d4ab8aad304aefdb76ae34367a6a446a900f8a8175d89ce806135c160f
MD5 7cb9400667c25d2e47c02e7f1c25705a
BLAKE2b-256 4a10a286e88d50f70be2ea0301f9f6a9f9e83b30082f819715e915d8d840efc8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220623-cp37-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 5309dc348840d462626532cb89289df79bd57990cd4fae9e5a8204e7f2ea9494
MD5 c7c26ce04c25757e6d8696dafba37d24
BLAKE2b-256 0c00bad16172147ae06e0d714ced9a4789fa0c877d1a5fc92293bbc6a06c4324

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220623-cp37-abi3-win32.whl
Algorithm Hash digest
SHA256 4aaff3e32e0d13cb9125bc111bbea2d51888b10853dbfbe38d6139d891425118
MD5 3198a0380be70f1f1bf8d63c7c422185
BLAKE2b-256 355e4a1e56817084e43e6acd3704362c5c6d3834e3c23d59ff9a6fbfa60fc42a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220623-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm Hash digest
SHA256 f424908003bb4c1411015ad9f76970c9670c14086b9aee444f093d29b1d13e71
MD5 331efd2c2e9c2c61118ff197c59970e7
BLAKE2b-256 9a09d1bc9a08b195086b2f070f86c3b696621ee4fd771ee0d29e0617cd7efadd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220623-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 bd72fb033f6f1b51a6cc5e64313ba21640b367c9fcf2e2e36975d2f9aafe13e7
MD5 cc0f572661b77a6dad8676c1912cfd54
BLAKE2b-256 2a4d624b8bcf05ae72fba023f520c82d5ce27570dbd08eb38394cfe0ec7ad623

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220623-cp37-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 d2bf5e6c255db618e58316d2c837bf408d9cf42397795859e9ea4ba979c2b306
MD5 91a2bc4b6a4e1e2720f9102c0b5c9fed
BLAKE2b-256 db8adca9881087cec1a657b559ea3cf2c4bc9c3711eb75a8275ff112ea968e09

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220623-cp37-abi3-manylinux_2_12_i686.manylinux2010_i686.whl
Algorithm Hash digest
SHA256 84b719527af4fda0ae0377a8f35b9e3722fdb9ca21f9ac6d63ac589c0054cbc9
MD5 39bec03176b2f4d0c85ebffd3e3c38e4
BLAKE2b-256 90cdba064fd35c8fe5a31b8a571cb91171cb9446917d850aa02feff897fe06ed

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0_dev20220623-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_dev20220623-cp37-abi3-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 8daa66fcfb7939512254ab034b2dbdb6ebaab17c7e2a04e2505d411b1dcf7184
MD5 297ceff960f32c4824f88d5b288d5d18
BLAKE2b-256 f6cb14ccc766da379f510b8a865e160da380a4d2f4a174f45b1d0c4e9f9d030f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220623-cp37-abi3-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 b292ffb0f2188dece9924b3a312cd4815a3c28ed2461acf480f9e216b1a2fffa
MD5 51a9b70db7e6b90e18ac4000227bda71
BLAKE2b-256 a771623a3c9e27314cef7010242a843ceb1cdc3fbc5dcf458658160738547281

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