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

Uploaded CPython 3.7+Windows x86-64

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

Uploaded CPython 3.7+Windows x86

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220621.tar.gz
Algorithm Hash digest
SHA256 5a4643fe9fa1cbadee9aef60479417f8976340f2d6f9aab8732027d2edd332d4
MD5 2c1ec78f1400c8f68f26ba609320ed6f
BLAKE2b-256 99a48bebd095a44ad12ef54ea8d206a321380b8b1ccf33401979e24141e11181

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220621-cp37-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 950dc9473e413897091f67fe5974504c2810070849c8edfff4ecf4002a16a733
MD5 b6ef1d84b6b56173b7b47a38add6222f
BLAKE2b-256 e3b0779e7c28394455667d35c1876c2ac455ed9bccd964e5e9f948b9cef4689f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220621-cp37-abi3-win32.whl
Algorithm Hash digest
SHA256 ce98c4b99cc8b05abd0f790de00557797bf0d96f290e0c0cd91500948ffd80fe
MD5 6f3e5ea53d0bcf883fec084a7e2533b2
BLAKE2b-256 576b1aa1d2118189c36860d86b0de63268e990083cca8e21c51a158a86bc87a3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220621-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm Hash digest
SHA256 95e203a22f0c3955cb8e618289d8fa305ea47379b9755daf17cf40c68e3e14f5
MD5 e0a0510dc86b1a60b400f27ad38625ec
BLAKE2b-256 93dc67abe0e08f8448ab0367fc762cf6ca8ca204365659e02926cd925484a49c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220621-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 41fec1272b21383777c81641e2c31db66e096c04f5da6585fbccd57d943f79b7
MD5 92f367bf6932a7065b8fc2cba2831940
BLAKE2b-256 2657f9998ad22ec7c8b9484dd525a715213ff9345d5fb740245d7a0c57eeec61

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220621-cp37-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 2af60322be6652e1409b891f4db3033ea06d396498fea377ab9a66f6178ddbfb
MD5 2ac0224b32e0c24876c6d65909330249
BLAKE2b-256 29618f6d30cd9a72be8f92328a7a577e770f82008634548635e4e576a3417b34

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220621-cp37-abi3-manylinux_2_12_i686.manylinux2010_i686.whl
Algorithm Hash digest
SHA256 8b5879d84e34bff34bb20e840b70afd57c86243a5dec2cea57214cfba9af1de3
MD5 f946dfed87fa3a572aa7254a77582d8f
BLAKE2b-256 6e49e1fe25cbe4f1ad0a3ba5f76fcaf7b41519b66d528ccb5206be8cb2e6c108

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0_dev20220621-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_dev20220621-cp37-abi3-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 c87b58503b50a0480da03baa89174942797c11d757482b6d99c2f5eceee99e60
MD5 100928bfc6e5a5553bb8d3ef00564c97
BLAKE2b-256 f2444f2efbd4aa0e98bd1d42be4d1be6c2c25bf4b69f3f87e9137202ee72449b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220621-cp37-abi3-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 d9924c989f0c2c0c0260185f32efc797e7bd30ea7d41ad55f43e5eaafe0021a6
MD5 a8bbce29ce49e2113909db76c4e2df7e
BLAKE2b-256 8ed7b45e54bc8c1df7db46a3491e192775647e23771f88df82ab219c2a97179b

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