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

Uploaded CPython 3.7+Windows x86-64

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

Uploaded CPython 3.7+Windows x86

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220725.tar.gz
Algorithm Hash digest
SHA256 b9de871d1132495d62e2a7e9e58f85822c303b3f1c11e44042988d503f29f40d
MD5 bf7abab502c1e7df45bf7786491acd51
BLAKE2b-256 a8a2ea2567978d7ccf629f7ce4f71cac432a97fe579f898efeafc7f88c878ee9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220725-cp37-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 35843edea7836b0ca88bfb1d229839dc144167ca6f71e887e9683fb8b580f003
MD5 0e81e4c5811126cd28440bf2f0b66d46
BLAKE2b-256 5896e00d6ca7ee37013adf87c180e02ab42cd4f71271ed835251df714e9283e5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220725-cp37-abi3-win32.whl
Algorithm Hash digest
SHA256 ce0cb09805c8e950d59d1f7b9d482ce4055f48c4ae952da67e58cc0073719577
MD5 47a4ddc27de7f6749f45caeac81918e1
BLAKE2b-256 173e9ecaf14e0a4b9358a16de2e33b0960418c926af5eb80f25393457d4b0b6f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220725-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm Hash digest
SHA256 6b03cdf5f8fad1ac8f883608d91fd729c3c25dc8e0f11fd7d3c22b850001e8c2
MD5 c4d8ccefb9f5bc7e877e24d4c3e612cb
BLAKE2b-256 bd76e4c76abb2b5e7d97394407bd1c891269808f7352e329118b9fb77af625df

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220725-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 855f14eb963f9e7f8829a12519b5c834bee2d7dddeb279a8e47c2c4bc4e67fb6
MD5 70837491b1a6f1fd32ef14958583d438
BLAKE2b-256 95c9b8c3be4e4f937f2612199bdc63c92b342c526d5b9a55994b090b366c158c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220725-cp37-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 dcebedc3dd983157e3ecf1fd60c034678608a183a7aa8926ff6fbae670c104ac
MD5 b197b33c8d9bc0d2e40124f36e4d21a4
BLAKE2b-256 a40780838ed65c0e70110d2a4296d080e284b7e6f42ed971ed08b4b6bef68602

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220725-cp37-abi3-manylinux_2_12_i686.manylinux2010_i686.whl
Algorithm Hash digest
SHA256 3e53547a9acccab94ea5b11d9180a68bb321a994e09b17c77358eec12f1dc538
MD5 f40b21f3bc546cdfb0c198c8b9c13cf4
BLAKE2b-256 533564b673f956681e4101c5af42f41cca4b6f8398a1614abeab4e753d6d61f2

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0_dev20220725-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_dev20220725-cp37-abi3-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 e04656d1bd95bb6c461805496a866b53cda046193ba63857381f63794d403ae2
MD5 7b2011621233c1b8f7765770f9b24d4f
BLAKE2b-256 6cc8cec1430fe1b2d89a53e9887e3b3c6f8016e5fed2ac6d05045c10c0176885

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220725-cp37-abi3-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 2b1a99d1d79210ddef962b2998e35483d51f12af8639b9e6d7c1c3dbdd529f7f
MD5 c115fbeca29bff7967909e3c0f233b3c
BLAKE2b-256 21b26b8f3043392625e3458b097963316ecf94727ad97f694a752c0e038cd5a2

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