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

Uploaded CPython 3.7+Windows x86-64

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

Uploaded CPython 3.7+Windows x86

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220801.tar.gz
Algorithm Hash digest
SHA256 e739a59e12f5294b59291522f710c9b2a287a2a72f846110784a58b55a4e3f94
MD5 55d25f38c38bc6e22bf0bf8325c5b5b1
BLAKE2b-256 d0ba2c8e8a3ca366bc4ec804239c629945e6a24606c70fb6d80f474a92b37dec

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220801-cp37-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 8b3069039311524c8d6d69b96222c452964f27b65009393130689625d383018f
MD5 e52195b673f0e9062c39111b7958f536
BLAKE2b-256 de62aaa3e9915d82b10de8a399a9def3671f7a7a2233b0157a8c33465e075fac

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220801-cp37-abi3-win32.whl
Algorithm Hash digest
SHA256 67e98ec2e8ba78bc28a6a7cfff3d01b3aafbaea18d45765272ed8cb6f82cd373
MD5 7df7ba753af57e48acfe131f12ba38bc
BLAKE2b-256 8602063b2135f8b4d1f6be8d665c38faaec27e566895689ed97683e3ca84a9bc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220801-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm Hash digest
SHA256 8197fcc37d1eeb2dfe347a85bc6ac7bf5dbfef678830abfa83c7c626427c1f32
MD5 0f5fe5debb0b53faf960a35262b09fbc
BLAKE2b-256 df10ab5242d27e23988e174c5b47ebc8a9a6063599ad5c7032f233e18003e0db

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220801-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 4b74b4a5f7d394c016d4b130bb4d5a737769f74a141b5f67d198b6d23822c438
MD5 eea03e95b1ea74bd362812d1eadc1672
BLAKE2b-256 728ffe8b80c45f641d77206d89788b85cb3bc8720a5fa8c67fec4acb8f0dc4da

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220801-cp37-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 f693e3997315f1346b449b2cbb1cf0be6d22f5ddea1acc94e10f7c8463d7474b
MD5 7db2449ef3143977e6cb33f02ca0d6bb
BLAKE2b-256 fce227a7db9a106879625609520e7df5488ff81f329127b28714f7e009c26714

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220801-cp37-abi3-manylinux_2_12_i686.manylinux2010_i686.whl
Algorithm Hash digest
SHA256 cd0b88480ce0978508cb356e805952fb94e158250ac8827b4d66371029752ff4
MD5 cce0257b892db19a5f1f239fc2ddfb3d
BLAKE2b-256 57fea91742ad7fb6757e76bf7638efdc9ed89428b176153ff09642dc64582f36

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0_dev20220801-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_dev20220801-cp37-abi3-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 8b56fb859fa920a5e0ad514416c1e17fe56b7da3f6395ca58063f5672bc78f9e
MD5 b246c315f9cfe22a9f144fc55587f43c
BLAKE2b-256 d18a3bac36e0c66d1a0140c4b29852910289c8ed2d7b1965d5fc32eb5e638dbe

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220801-cp37-abi3-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 c6647eaadd55a38388683f146ec5e2db707eb7a0f0f2e5cac79da1795f444b8f
MD5 ef316c6b55f6264960849c205b1b5c1b
BLAKE2b-256 3a3c892b2abb43430abbdc7bdc16ffe9fb2f7be67718ea6a66529e9673820fa2

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