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

Uploaded CPython 3.7+Windows x86-64

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

Uploaded CPython 3.7+Windows x86

eclipse_zenoh_nightly-0.6.0_dev20220802-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_dev20220802-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (7.2 MB view details)

Uploaded CPython 3.7+manylinux: glibc 2.17+ ARM64

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220802.tar.gz
Algorithm Hash digest
SHA256 bfea5938031530bf9ba107f9bf790f00161f431ef2f05dfc371006d097042005
MD5 a3c1706d590f0fce1b0e54557983fde5
BLAKE2b-256 08d52f8206c2ca384468bae7a65cd9951db4c38d1dc4bda9975fb8b14f981efd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220802-cp37-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 c2d11a79f7b2473f0a7be6f1d602da8289d537b1744db4ed78470b445c7c0116
MD5 dfc3b8f8775eec45debf31cdc8ec957d
BLAKE2b-256 d402ce44c4bb3feb42f7d3d5a9fcba270137d107f6f2565615768d3e8c1e3c93

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220802-cp37-abi3-win32.whl
Algorithm Hash digest
SHA256 a587f8961c05ddbaff9bc7a9f0edf4093f6869e87943cb847574a0bacc30c5fb
MD5 cb38b9d8f0f742a07c90e31cf03cbd09
BLAKE2b-256 644645e2193d597979e964fc9355a6b211d5373bc1ed44869ce6ac3f0e029228

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220802-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm Hash digest
SHA256 68fa53b16a93207956e7ede5fa609c694ed66d2cae8e7697564d750149851a93
MD5 d009696403317efde63ad19a80d55c8f
BLAKE2b-256 8aecf6e43b18495dde6903d93e9ea55a9b858fec16b360114d48639dcdde6092

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220802-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 618488be823ef94ca6d36689156ce01d96d36f69ea8cbd0a33b6447be9537576
MD5 c8378e387e5ba1b684d736d3a2444b4b
BLAKE2b-256 055f1ef7d3a2e9c1bf4d25a574641b8d19a4a6eab9438ed6a1a38ec454c01647

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220802-cp37-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 b4a65b739c6f114f11acd677b84da0937af7d15a427584856f226d4cf362e468
MD5 a1ddfbc82943f3495b593ebf2d517b39
BLAKE2b-256 f30eb448394fe52f070fd51842433c4d34e4ac7f8cd0f40196d79d75277caf15

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220802-cp37-abi3-manylinux_2_12_i686.manylinux2010_i686.whl
Algorithm Hash digest
SHA256 3b70bc16448eb55add1130cebbdab5b407cd040f3b65dc1e78680c68e0a30d3b
MD5 06a423f215ab9e0e2dddfe812064a5a9
BLAKE2b-256 ce598fba94384af8d8fef8b8030e7f09a64dd1d36989d47100e46cd5c2676ee1

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0_dev20220802-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_dev20220802-cp37-abi3-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 5d4705de2aa3875e6faa15b4b283837ae7cc61ad40fb346f28082d422f7f0375
MD5 c220491ce07392b623d8313ee1e5ca66
BLAKE2b-256 b81b04d4b71185b2a02718f44e56aba96cf37171681aa9ebd11cb5ae55a6fac3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220802-cp37-abi3-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 b65f0af580c6a2e1df406f980fb6fca2b509eb729f0b5c23592f952c345e1179
MD5 5b1bd5e969167ffbc7340cf085a74cd9
BLAKE2b-256 7c58ce868c99eb1b8126718b26ab9b3495aeaeb463fa1d6d6c16ec694aed63ce

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