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 (installed by previous step). For example, it is placed at $HOME/.local/bin/maturin by default on Ubuntu 20.04.

    export PATH="$HOME/.local/bin:$PATH"
    
  • Build and install zenoh-python:

    • With a virtual environment active:
    maturin develop --release
    
    • Without one:
    maturin build --release
    pip install ./target/wheels/<there should only be one .whl file here>
    

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_dev20220927.tar.gz (93.7 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_dev20220927-cp37-abi3-win_amd64.whl (4.3 MB view details)

Uploaded CPython 3.7+Windows x86-64

eclipse_zenoh_nightly-0.6.0_dev20220927-cp37-abi3-win32.whl (3.9 MB view details)

Uploaded CPython 3.7+Windows x86

eclipse_zenoh_nightly-0.6.0_dev20220927-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (6.9 MB view details)

Uploaded CPython 3.7+manylinux: glibc 2.17+ x86-64

eclipse_zenoh_nightly-0.6.0_dev20220927-cp37-abi3-manylinux_2_17_i686.manylinux2014_i686.whl (7.3 MB view details)

Uploaded CPython 3.7+manylinux: glibc 2.17+ i686

eclipse_zenoh_nightly-0.6.0_dev20220927-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl (6.5 MB view details)

Uploaded CPython 3.7+manylinux: glibc 2.17+ ARMv7l

eclipse_zenoh_nightly-0.6.0_dev20220927-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (6.8 MB view details)

Uploaded CPython 3.7+manylinux: glibc 2.17+ ARM64

eclipse_zenoh_nightly-0.6.0_dev20220927-cp37-abi3-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl (9.8 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_dev20220927-cp37-abi3-macosx_10_7_x86_64.whl (5.1 MB view details)

Uploaded CPython 3.7+macOS 10.7+ x86-64

File details

Details for the file eclipse_zenoh_nightly-0.6.0_dev20220927.tar.gz.

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220927.tar.gz
Algorithm Hash digest
SHA256 1a1d10df03cc20a6175e7aa43c9007bfa98836adb112e68c8dc395bdcaa183a3
MD5 a3eb74b0f75134cdd7905544fa6ee29e
BLAKE2b-256 9dc515613a199f293b9becc5d478619ca314a179461847128760f9db7844706c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220927-cp37-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 448fc098b8b9ce875aa6c51d124fb985fb7ffe1221fcb944b06abb032f1a249c
MD5 658ede67798c76a1691a48a5b0e8c38b
BLAKE2b-256 a4102f09e3e19d83c0d7ac687a261b04a654afc704363289923b62a1803d0568

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220927-cp37-abi3-win32.whl
Algorithm Hash digest
SHA256 c48304a0135570985e65ba8e0a6b3054d4cc89f7b3a64eec88da75c54480686c
MD5 01049a7bd30bda60c3beb35958d167e0
BLAKE2b-256 83fb3dddcb7209f7d0f5191bea9a4d5465663e0eee043c1a2e83959e80987429

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0_dev20220927-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220927-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 11cb1f4c06fbc9c93463a92e56ad1686845265be0c4948b4b3b736c59d621baf
MD5 59c5f8b0920cd1e614e204cd2b0c7075
BLAKE2b-256 e5b696d8495ab8f31b5f073231c663bcef821727c7596f5e657662de0cadfdb0

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0_dev20220927-cp37-abi3-manylinux_2_17_i686.manylinux2014_i686.whl.

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220927-cp37-abi3-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 cd237855b7621ab0e28434c779305234ff6eaf3b69629c5bd996ef0874fd4e08
MD5 133af0f23c90e1cebd821368975ff8ef
BLAKE2b-256 664d85b87403b982585f3e574075fc7f164d36a876b949d9251ebda625747b46

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220927-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm Hash digest
SHA256 703179174c634e25271afcda72a9097dbf8c82c5fa67518f82905b8adef23910
MD5 f9860cf8283f525b28d710bf429d46ae
BLAKE2b-256 989155bd3fa7d3bab0b42d2ee2df07029997d6e0cbeaa6110e8a7864ea1b3615

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220927-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 24f4e3a659fb240acc2ba891c2c649d88c0ef378d9345ae36711f65f19f65a71
MD5 2a6557dd8031b10b82f0c3aab99b6d1d
BLAKE2b-256 9632763c5f5a82f93f9a19d3a3ab923b2712f248d8bab641ab64b4612d7df700

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0_dev20220927-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_dev20220927-cp37-abi3-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 c562ba7e36cac8e6179bc5db689cbdd2a59b894ba45eca1f3c9c7deb774bbeef
MD5 f72d4496dd5c27bc9ed875b8f6b3b831
BLAKE2b-256 1187c1a0d5033f504be61e2def3ba81c73ede31357bc590bb8b3b97172d0a68e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220927-cp37-abi3-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 4ad240b36193a97a8b5a9f9957e0efefb9c2926c41dfb29b20b0c490d332fc57
MD5 894d98dee00aa18179e5dde4efa31261
BLAKE2b-256 cd7e48a8e0518af94bcde721d29f5cc6045cd98894c5126bcffa52ec5b68bf3f

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0.dev20220927-cp37-abi3-linux_armv6l.whl.

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220927-cp37-abi3-linux_armv6l.whl
Algorithm Hash digest
SHA256 a5e1fffb85d210c3a68a14d1bf97bcc95428bc985ca63a37a420f2a8000862b4
MD5 327e3226acd22af2364d7abc154de74f
BLAKE2b-256 9db26fe79830736fd06206cbfa802c2998ca65a8445c1576f563601abdc09057

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