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

Uploaded CPython 3.7+Windows x86-64

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

Uploaded CPython 3.7+Windows x86

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220617.tar.gz
Algorithm Hash digest
SHA256 54a736d1acd3d7331d70206ab4c588c4ced40cc89eb3409ca264cda4161b9eed
MD5 d651638338787dcb0293beb55dedeac5
BLAKE2b-256 b5be37a9b1a7f9d412172613191e6a9722620784786fa552b5938ef66c50691e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220617-cp37-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 25c2024467a7e87942d8eecd0b6c87ca8b61b67a3f4d48604c76fa4653e34d54
MD5 e288f2e5b1fcec7d2e6a68c219dbc389
BLAKE2b-256 63b82d4cc0cf28bd9d63fc7f78a14268988538b7891626e0de517255ae8a9979

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220617-cp37-abi3-win32.whl
Algorithm Hash digest
SHA256 a5b915d7d40a7f2de99592f4ca347224a53e9007f954172b09e3f9e85b6bf2fc
MD5 a7e44b64ab5ba2ba9637e02b727cee0a
BLAKE2b-256 dfe8d96fab111d010dfd77e5459a5e2d80032b09713e35a0d560ba4b1e73b2ee

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220617-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm Hash digest
SHA256 b6c31a405c9d9ea493a475374200b5d5eab5316ea9e2a4769d10d4e573acad8a
MD5 6fcb5994ebd0bb6ded4f5f9598ef9dbc
BLAKE2b-256 cd989dc78493c41d2f8650b7488d39c2fc09c76222ca6f7ec7ae1f686cdd94f9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220617-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 bd042fef7f1bcbc659fd53420723fcb879d7b9dfeba2728b5a5cad32c2197dca
MD5 71348372d9dfaaee1760e8521c7c434c
BLAKE2b-256 d5c8884e58ac0d233992551619d15ba5c39be8e757559f2558321fa241edb2e9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220617-cp37-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 a29a07f08e84753c54db191d11d97a0043ae5fa71cde9cb660435769d28ebcdc
MD5 806570b600e3825cb37c3d215719608b
BLAKE2b-256 0d7ab3edd404efee49f2fea1158d77d574b70d36e01cff46e6fa2b57903b7a1d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220617-cp37-abi3-manylinux_2_12_i686.manylinux2010_i686.whl
Algorithm Hash digest
SHA256 e36c68a230975971764be56b323e40acc2fe53e114b8238568ef536ebc174de3
MD5 2ac5f48d734ad4d2195eb9b0e30c5caa
BLAKE2b-256 b962072c7ae7bf6d9842345498881ebc09fc547567608f2e7026de93acb4b274

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0_dev20220617-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_dev20220617-cp37-abi3-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 4b494a9fc0648c994172068b28b7c1b873f190fd01eb9bfb1f0d68df5d00c9d0
MD5 08a0672659508074c898a3f61f5f58df
BLAKE2b-256 370191c069f9b04f9be0009d2c48fb0eb3eef744e24bc027bd962808234f6609

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220617-cp37-abi3-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 03ef6fd8ebcb635faaebedc119fbd83ed026283529240ec67c077742f8c1e967
MD5 825be8d12f4d64b302dddae7b861780e
BLAKE2b-256 ad1fb11c689faf98cc70d49e9dd6e89a87a4e326c380be4606158ece3bea55e5

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