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

Uploaded CPython 3.7+Windows x86-64

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

Uploaded CPython 3.7+Windows x86

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_beta.120221017.tar.gz
Algorithm Hash digest
SHA256 ed0a3c2b7c2af17ed295ab1c058d5884b098e55b6d78fa581d7eda97889c85ec
MD5 10aff8709c5d2133f15a6f659d071913
BLAKE2b-256 eae6641442a72f613296b78f31e0964a2381573b2ecc178b3f8d1195085c84cb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0b120221017-cp37-abi3-linux_armv6l.whl
Algorithm Hash digest
SHA256 ea1cc81802ef527ab76f3e8cd39c018499a24ccd6322c66d0fbcf01d5e6c94a4
MD5 30f0fc838058fc462b4a0ed3e185cee9
BLAKE2b-256 50d137a4ac9ef0cecae758f0ebf0870efacea80befda220bf61ded5c222de859

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_beta.120221017-cp37-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 6b34ae66895f201b4a2116ffc9dfcaad84698c3904f2d4b29405c70b0044e975
MD5 6aa93005bc06f2fce548a40e56f0f2d0
BLAKE2b-256 c939d9d5adcf03f4a0665a4fced3a1e7f9b6a47d6784baea57171ed39e25002c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_beta.120221017-cp37-abi3-win32.whl
Algorithm Hash digest
SHA256 7d0a4376437ae1af5e6f93b0e7bbcaadc10416a7a36e3c77603ba32b65529bae
MD5 76ac0dd80f9a346bda3d44e6c33a3675
BLAKE2b-256 651b7c95c0125777b42f17fb974ec9bb8b9ef50cca8643dc3fa9c2f556834823

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_beta.120221017-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 a71c4bd62d7b54e15b2459b4c508c5cbbfc71b44d5702e46d4b5125a3c01d2de
MD5 a6cf40351cffc2d3bdc3c962201dbf32
BLAKE2b-256 cffe36704be19d429a2bd53fc1dfb1f6a40bba7a48b69890469fd53170b9d403

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_beta.120221017-cp37-abi3-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 26bb0880d52275497966a799e9f09cc3a44cab4737e4e6c4665fc1651c041035
MD5 63aafcc97a2d20c908716cad8a6cbf6c
BLAKE2b-256 75167cf349d459e5d242774cd7e828bbc252a1da99d4c43afb2127832251399a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_beta.120221017-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm Hash digest
SHA256 c1ca6db1d03d420cb1234fba09bc6b5a1140a7a8c51afdf95c4ec4e65a0198e5
MD5 9b5f5c5db182d9c38b714eb20f8f4e5b
BLAKE2b-256 fe6276036d95d314f39c8a9edf328c0d6809c71c06eb581f3486145f68484af9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_beta.120221017-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 cdfa1272bfb8a2c8d3ecc2327540dd84a8d76d4774a8970100c7c7940c660f87
MD5 2fe0ce62684d5a54ce8893931cc6ccc5
BLAKE2b-256 2ef0a18cdd8ef9dc5c3667fa6654da54a6cbe36d75ae3dc9f80ec58880777725

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0_beta.120221017-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.120221017-cp37-abi3-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 8aab2e18b5bde15f4207cec21d4eb0ba5f31ebd44916a451f5e3bae47cb1fd57
MD5 ab69f68041d91e7c64c464702e705739
BLAKE2b-256 abb79c27a7953209464833f5d6e74ac0dfc9b32f9fd7090b562ad20820415cf9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_beta.120221017-cp37-abi3-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 0d7bce5d7704aadf4021de50c8d874b11c0eda150b7b539a05801c725288563d
MD5 00839565944639e078aebec37e60b9a1
BLAKE2b-256 593a1abe612e0d69a97afb9a1a18bd09f928596cb635b12779450463ea55d030

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