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

Uploaded CPython 3.7+Windows x86-64

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

Uploaded CPython 3.7+Windows x86

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220613.tar.gz
Algorithm Hash digest
SHA256 cda659682833163cd4d6d3acd79b6903a5d373ec98b6c542c32673fbcfcb0885
MD5 1c3a6c8fcc124dc2a1ff4e6948d4c28d
BLAKE2b-256 13f919be6ba3e0701365a0efaaf7ef656c92987a5069dff9b25dc4e77bcf746a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220613-cp37-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 b8fb49353010ac07fabb51d8774ab6e30e8bc0d06507c27d6f61c745b64d9b19
MD5 04d70d8cea7864566cedef175bddf977
BLAKE2b-256 400f73ed624d45448d9a656cd72554102513394bbe3943b385d0b2ec4fcc3f17

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220613-cp37-abi3-win32.whl
Algorithm Hash digest
SHA256 414c7b6abb0ecd8015023aaa2424563226c592f0abf998af888f22048391e885
MD5 e61d1c85db3317ea303488e0b4593797
BLAKE2b-256 4f9a2be6962f4695f5cdf84fe95d3445be3a1b6930cc0f4b5ffb003c1fa2f95b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220613-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm Hash digest
SHA256 c8e5da3c36e0c45fd54940aac7c2a2e4fc349d724d600cef481fa9304cc7435b
MD5 39d8e4ac8adbfa514b61d93ddaea8448
BLAKE2b-256 9a9b864a47013ff82e1419718ff6fbfdaedbff578a47345d83323305aed4d42d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220613-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 562ca2d216b70879b7adc59da5a1f5bf1eed04e699b9f04c697cdb1b3488ec2a
MD5 1dc1dc8e564d509cdd964068639f8414
BLAKE2b-256 974523978e69b3ae8bfd59f9f8469b519c23f924eab1b394eba79f1514f9f37e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220613-cp37-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 a7a1f4970f8e68d89aca7fc47f676839f74a7d603533fb8fbab3d3ec800b7304
MD5 5da1f4aaaab4476f05f5c2e95dce82a4
BLAKE2b-256 58caefdce76848635c4ef97c4e4918fd61dfd6179ae87248c1def76b15b16b63

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220613-cp37-abi3-manylinux_2_12_i686.manylinux2010_i686.whl
Algorithm Hash digest
SHA256 9e65dda798250d06e68d1f95703b7a901b8e0f2db21419c477a6199ed1ac83e6
MD5 98a0977817a14f4bebf5a2721a050474
BLAKE2b-256 560c6b4b3132c22850b9eb2c196fd86ca79ed4908ef288735c760b374312425b

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0_dev20220613-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_dev20220613-cp37-abi3-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 d2863256476909373b4de326d43010ae7035c76cbfb0dc98b7effdbca9b4301c
MD5 a383441b755d68237e1171f4e050a8a7
BLAKE2b-256 36cd816119a6fa845425591198ef01b3c702754dfd9a03d1e86ddd39666c8851

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220613-cp37-abi3-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 03c69a638033d45cf4525732947fb2d461690bdfbfb5522ad6d5fc6b714b149c
MD5 f5f01550bd46a5ae0a54dd31aaff0ff0
BLAKE2b-256 25cdd5e4bac077c837ef9fd8443b695d28bb00c9a64c1090c646bef5fa7bca72

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