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

Uploaded CPython 3.7+Windows x86-64

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

Uploaded CPython 3.7+Windows x86

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220728.tar.gz
Algorithm Hash digest
SHA256 44b5ab438e62799f9e5060c594be9d01d16b88a89d19f25352a495818ca3671b
MD5 bd451b268ac64f0facca7326ff288781
BLAKE2b-256 d58019a9325a66d788e071111ba2c7a3403c1a8aa77aa9bb77e8d0094f1c51b3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220728-cp37-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 ff90406cd3698a39373d73634eb92e6e1408a51b06e9d42f0f11ac88b728ef51
MD5 7966c7f1aaa0c2cd2258375f16c9fa55
BLAKE2b-256 2222b8504c8a4cf47d3f4824f1fe3d6f9e1e4786a55bf317b4a36be62360064a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220728-cp37-abi3-win32.whl
Algorithm Hash digest
SHA256 38102e941ed2712bc2435baf4b2ce5b31fca07699a19e6be771b22e83719bd5c
MD5 ec2613555816c96a24a0399e5447b91b
BLAKE2b-256 266a6957b1d0b777c123a67de2926853a8dd21a1c7727b1f2b38396a98a36555

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220728-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm Hash digest
SHA256 363b9e1fe6b8ee4124f84d4bf1466bbc4d82bfd03429bfa0ee8044aa5870684e
MD5 3808150faf6a7c4877e42c96c3eafe29
BLAKE2b-256 b12553c6ac63c9a5e44e45c2a0948f5047671f87dac065817f1abb607ecbd0c7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220728-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 dccde640b2127e16b443162f2eb992b7fc66a57df3dc6c25dc71e38f83f6389b
MD5 7e89ce0b27e226ba37e3f6bf8c8d406a
BLAKE2b-256 6b717727314ec10d0d19e6a8de0a48f99d4fbe047764e092e2a30d841509e636

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220728-cp37-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 1aedb290d3c62ed8fb5fc9d8fd70ce5dc6c1dd8f396202ab73a1c38431a6dab2
MD5 53fa8c88edb55e84c232114e884ca32c
BLAKE2b-256 c49cb56c4f8c8dd41753ad2bf3e7f2414c18387ee24023d89f06efd8455b2ed2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220728-cp37-abi3-manylinux_2_12_i686.manylinux2010_i686.whl
Algorithm Hash digest
SHA256 10ae835877773c02abfbbdf81fead069244357a48e5bc8ad9a201974de69c872
MD5 4253f4e9e7a807826f6ebda89fdbfa93
BLAKE2b-256 92bb94ddf2af4327af80f2f0150609c6fb00d0daa243f427e7918653776df228

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0_dev20220728-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_dev20220728-cp37-abi3-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 19c4394761770bf390ec44a9d91b414e587bcbcf7526e2b4b5f9669d1cd786c3
MD5 731086de1be28fb91e600698faacc7a3
BLAKE2b-256 4df4c000366ac1b4344773d87e2d71cc1e50c523204bb70498fe22d1f8f1c6be

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220728-cp37-abi3-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 0a969b15993222753363e6d9817d0937be6d9983719a0d8e0eb5aaaa668101b5
MD5 a7dad5a8544b0e1b8b1e40e1b6047f2a
BLAKE2b-256 030c6fd51c90116d229c011b86ee237596808b45fc5093d85ec019e72bb06a69

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