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

Uploaded CPython 3.7+Windows x86-64

eclipse_zenoh_nightly-0.6.0_dev20220929-cp37-abi3-win32.whl (4.0 MB view details)

Uploaded CPython 3.7+Windows x86

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220929.tar.gz
Algorithm Hash digest
SHA256 af657bd868a9c56b4afd292e93cbee2fb56f1e5f1bbddfbe8e3ed69d37db513b
MD5 0662c98ca932c6c087103ce0545a70a7
BLAKE2b-256 cec1814081033446e0a66913262b83d4e8b3fb80687560aa1e08bc9e35792625

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220929-cp37-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 8cc9f92c093ce0ffb89f066c13ede8442241da22ad256457904dc8aad704fd7c
MD5 5b4f3b779e9afc305fd5c940a56acafd
BLAKE2b-256 0e31592d32df2719d4daff145b2d09c7ffcc2ccc8ca2e801ae124a2cc47050d6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220929-cp37-abi3-win32.whl
Algorithm Hash digest
SHA256 af651a3173e1d718c5d68f39e90e33a1d9c72042aaf3137ff150d5894cd107e6
MD5 d4054f57c6b9299718951dff7e381b14
BLAKE2b-256 9871c0413050598373c20c16d44d74380fcd6c884b08d6b19f2cf0b2e8112f8f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220929-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 1b91de8524e3c42ce3c8964b378f8c97990c81c81d579a29392f47ccabf9eb4d
MD5 715b6fe0057b136a5cb3c75cd88ba575
BLAKE2b-256 8551f0b1f80f8b601e85957f18eb5292003e413dded12a2a1f65c7f341f8a740

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220929-cp37-abi3-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 db2aa245104b28ed6b4e66b245ac6c8546da61d807d8fbfb4dd84f5cf5609239
MD5 111e56809b2d57998a6f10c44b41c99f
BLAKE2b-256 cb172de981c029effbcb55967fd61e18a3eb8f1a01fa8dce7eabd6966612b53c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220929-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm Hash digest
SHA256 47d75f089582605fc1777de829e98585f1148f4ddbb2dd60605dd0189d13e844
MD5 598a3fbedc8fe7242f843625580efa5d
BLAKE2b-256 152d9ca552f5afb44e21e2eaeed79217fb4582e690962a9cf35976bea3ddd719

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220929-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 be8714e3fbd3eaff539f1fde2e53631f6e24b3383a8b4899c0c2e70b325f456b
MD5 37d13474b20b6a3a7357796f9e720a62
BLAKE2b-256 88841b8a445eb38b01e7251958963f00fae56edbc992f12f4c26d933d4d63b06

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0_dev20220929-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_dev20220929-cp37-abi3-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 6e943b968dcebbdd18c5241e8397b8ddbabc596b424c02a3d119f46ef2a2500b
MD5 8d75e989e6ef01317bf1e2380106ec22
BLAKE2b-256 cedce32a2110d9ae0119e2733e95331c794847e8c21d7c146bdbe3fcfc75f4ea

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220929-cp37-abi3-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 b6f39b9ca5881d64338fe4e9793b0621b6d7a94b75138fb123855d3f31d263d0
MD5 6b60cf381e3e93c63498d84b9156aef5
BLAKE2b-256 dc1858be1db6ae5d1b7273b2dca9e81cc44a23b333f10f1decff03b19695923b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220929-cp37-abi3-linux_armv6l.whl
Algorithm Hash digest
SHA256 fb2e6a582314745c04485b73e76359e312f39713a9211f8a77d881f0e9357719
MD5 96a68abf243b89c521c58ddc6639f8fc
BLAKE2b-256 e7fe6636bd5f7f4f41a8f8950757ea9fa71f02733f1b34f6b186d45dd5090fc0

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