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

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

Uploaded CPython 3.7+Windows x86-64

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

Uploaded CPython 3.7+Windows x86

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220705.tar.gz
Algorithm Hash digest
SHA256 dc6c4dcc57b716036527a243e87357a57cfe82aeff2158a9810123e722e1e5d6
MD5 1d76e61f721ebe11411dd8c2115cef58
BLAKE2b-256 b274deb92d4000b03ac7dc538d6fb0d24f4fc66f0732f0dec4c39fbf0fa7c662

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220705-cp37-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 66f3c2746061b3bab77d251a6dd754721d98e920a9bf466e0b10ca4baa8e4f4b
MD5 b7cadfffe85e188d564f53b2bee2948e
BLAKE2b-256 623d9457287950ad194e74f9d5f7817b4e0b40533abda49cb7c058eeb5e6786e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220705-cp37-abi3-win32.whl
Algorithm Hash digest
SHA256 ca22cb68b59bf427ebaee0b0a93d1bdcfe15fe8687e9c4e6e074be7422e51c00
MD5 cc6bcc2e9d56bfe4a097e5c527dce231
BLAKE2b-256 41b0bb630afff93151788412953bac518f44b0f6ba82974b72a218bbe6a850e6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220705-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm Hash digest
SHA256 f29833733bff63aad1d9f68be8ef795d3ebbd7fe98b2a53a8614a4a25bea4997
MD5 c436299468e06165eaf5491e88fc710d
BLAKE2b-256 3b31db518fa02f59856b624a01d03e0cdbac2209cb3f14573571082194c6890b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220705-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 04e32a35f913a384de84756c17837eac6c271ca999b8812b828e1e17ef871021
MD5 0f517eb221219b88c5e213c1ae2def1e
BLAKE2b-256 08e20a7b7146bd4d67f07d815c2664a51e123e8eb0ad69482a85d31ce82f3b7b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220705-cp37-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 02a33ce60301922d3aa7f42ec533e9963777f88336ecbfaed18ff92d442a0ef9
MD5 d93db9da471810dbae73ae77defb905f
BLAKE2b-256 558f3c66410aebbd5d6356aaaff95262899f2fb4bdf03ed0d04bad5f819d9b7e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220705-cp37-abi3-manylinux_2_12_i686.manylinux2010_i686.whl
Algorithm Hash digest
SHA256 374abc6613929edc2e289779d52d9a7432334cca4326c8d10c675f41ad711092
MD5 a888b98d8a58c2cea4ee8ce974d63bae
BLAKE2b-256 c0343184ac57ed7cdb8b52c96ce0e23d7f77f660b7b306d3b3d2263177a41a6a

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0_dev20220705-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_dev20220705-cp37-abi3-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 985523682ee8afe8bba6a4efe3621b143613eeba7986c0e626a05762b08a1690
MD5 2bf58bf8e5aead940e5ed6b98c3e65eb
BLAKE2b-256 a8bbc91ff781201e868f7adf7e988d2d88f18cbf9d0b2726da0941bdcee495ca

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220705-cp37-abi3-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 b586fb8a696679debd01f7ec502c658bfb434fa59c28cd7e726980b82b7c7b7d
MD5 e7e739f830b52f8fe662f15a6104fcd6
BLAKE2b-256 5d7772eddf570b91070885c4d94c1da12a32e827b85efb358e8f26a1461b7b82

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