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_beta.120221028.tar.gz (94.1 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_beta.120221028-cp37-abi3-win_amd64.whl (4.3 MB view details)

Uploaded CPython 3.7+Windows x86-64

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

Uploaded CPython 3.7+Windows x86

eclipse_zenoh_nightly-0.6.0_beta.120221028-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_beta.120221028-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_beta.120221028-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl (6.6 MB view details)

Uploaded CPython 3.7+manylinux: glibc 2.17+ ARMv7l

eclipse_zenoh_nightly-0.6.0_beta.120221028-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_beta.120221028-cp37-abi3-macosx_10_7_x86_64.whl (5.0 MB view details)

Uploaded CPython 3.7+macOS 10.7+ x86-64

File details

Details for the file eclipse_zenoh_nightly-0.6.0_beta.120221028.tar.gz.

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_beta.120221028.tar.gz
Algorithm Hash digest
SHA256 944f20c08afd025411683219a5f70e37cad91e5f62544ecc2a8aac211d5307d3
MD5 f8be0b73f23ec79c5b0901564d936f14
BLAKE2b-256 2dd443a3c2b9a1492741e8c71ffd2094d7532e5f0d62d694ce0dabffb6b54985

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0b120221028-cp37-abi3-linux_armv6l.whl
Algorithm Hash digest
SHA256 e8384ce52cef0a7f315b66e22e1edac866eda9c31acccde5605eee84056c49d8
MD5 aa3cc22452fe18b879c3eb4bae246df6
BLAKE2b-256 3d578b467edb61739e569386c5d2c4cf24b368d788e39cc9a60ff17ad0b98a65

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_beta.120221028-cp37-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 14ca59fb3261786732f13e368530b76236b4e6855cdf4007cf4370a05ab5d138
MD5 edefc18945a92cf6c811bef69d2381f7
BLAKE2b-256 cca7f45bcb2f70b533e6c7a63806054a3bce32749850315c9ababad2cf1ffc26

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_beta.120221028-cp37-abi3-win32.whl
Algorithm Hash digest
SHA256 5a5256a91b3d9dddd18972fb2deb1a79c78d0a8f68900ade75ba7b8b0d8e508a
MD5 080e5a98ec43a4ee91cab77bec9d4693
BLAKE2b-256 24581c78d6ed276d21a8f7680cc4cd47374eccb9c4d46d076be23adf5e8be72f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_beta.120221028-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 195bf1bc66b34af9f245ed55109d7a3d3251b72325c0248a4bd3faa3b3127c58
MD5 741bfb0245f2385ce7ce1ae669fce0c0
BLAKE2b-256 c56baf59f809703d90b572ce44abde59e6152c941ea7397d117d08511f4e3b17

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_beta.120221028-cp37-abi3-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 d9a3a62c13ebe5bfd016b53f97796e786433a33ca56ef23b30a1a25bfcd1b824
MD5 2012f0e25b6313cc5f6ed2997bd36424
BLAKE2b-256 8c33c95feb25083447ecb547962e3a1713913da9e4d0c75ae94eabb9b7a48643

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_beta.120221028-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm Hash digest
SHA256 ac792760923a1b611b055535e93ddde4646077c3f6164f510994070f042d7f2c
MD5 e08bbaa3db724a7040b4c99e5370f137
BLAKE2b-256 b67732c074fccb74314da7168b4b75bdfdfb6fe088c8e9e2e51fa827fe56fd64

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_beta.120221028-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 a9986fcdc7849d649eba9fde78547be7a6721ae62a57b5053fb44950e47b684b
MD5 8ffd483655627f9879aff5a5d9c6bcc8
BLAKE2b-256 61dbecdb944c94a699e3a9a6fc3c1c742c35646a4f9e1047fb0e4d7451821167

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0_beta.120221028-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_beta.120221028-cp37-abi3-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 c868e971ab187d5167567708ce8bfa70f47e297119cc17718a8f4718f5b0a11c
MD5 ba80d959793d2c1783a93b1a0707f348
BLAKE2b-256 b98b6f666f1a175c6ded7dba5beff3fb2ebfede876921b05846d29536dc24ca2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_beta.120221028-cp37-abi3-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 27e6089305c9f8182dc8ee7da3d507d911318289bc391827cf478cf0bd3b9ff8
MD5 131beb6ebc33586fa3b02088a0d8bc35
BLAKE2b-256 2aadb09d3ec25f4ec70aad80ebccc055b8019708b384b8f06608912ee1142502

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