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

Uploaded CPython 3.7+Windows x86-64

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

Uploaded CPython 3.7+Windows x86

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220706.tar.gz
Algorithm Hash digest
SHA256 5a863b892ad997f5579bd700ea4f70654d4ad5c0db973020174c4802b3acd2cc
MD5 eb02b38d2fcdc165188dbd21f9b6c771
BLAKE2b-256 d026a1d5ff72fe58d1449582d0bb28e4dd22641dad072a72686d3dede1792106

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220706-cp37-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 91a29792b4adaf2cf6044f89b6a378f5af94abdddbf8fdc7ec86b78b40b93421
MD5 74dce57c89136c7ffe57ecd586ec1825
BLAKE2b-256 535c95a02e8e364b256e28704b54481b6dd09a71259b5e346e6687010929f2c9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220706-cp37-abi3-win32.whl
Algorithm Hash digest
SHA256 ab5a03f284a89c247a823b4b5f5047fc054a285f3aca8de2c7f59180799418de
MD5 1a7180acf3c3937c9ccfe3ce887fa09e
BLAKE2b-256 c2efef851e9f714fa46a47c6cbf2042d40be331d5209233095255b5d055d8237

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220706-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm Hash digest
SHA256 34303e0c69c4eabe3e821f03c86ddf348196799bfcc4ae0a866055524c74d015
MD5 8971e1279a7f88ec16559c60b8852c65
BLAKE2b-256 5a91a2752420affb2ae87f3ff5357a7af4bcdf2e800f8ae3498dbe8f30a5c799

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220706-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 c1357b98dce31de4f22a9890886d8fcbe2080d43e9ada181ffa2768fc9668ced
MD5 918b4dbe781c9d7c4fc39bea9602a932
BLAKE2b-256 19e8f492778d34b5e223181deb77bb2ca4ea338be0577617b91b399dde532cf9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220706-cp37-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 5c6aa99d3a664a020caafec151101b617feee88933487d143d9f4df576ba1c2f
MD5 6581249d5765ff81cd8b96bca06f2f84
BLAKE2b-256 df62823f8a55541fed06ee8895dfd5d1bfbf93b1953986f72d655d14eab17974

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220706-cp37-abi3-manylinux_2_12_i686.manylinux2010_i686.whl
Algorithm Hash digest
SHA256 f67e6aafeb605a512f8894641e695cde8b0e5f424c35b06be3f7e4ce3e4ed28d
MD5 a966585c84f0149b8074049db021db82
BLAKE2b-256 04272f3c013637f6a56fbd78934ab5eafced6be3b5b10439ce444c7770d8783a

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0_dev20220706-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_dev20220706-cp37-abi3-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 791495771d0f74017640f9785f451fef54831b08a911bfb23af392cbb3c8fed9
MD5 d6556390800e46238763f5136169ebe1
BLAKE2b-256 0cd807135393d9cf72966e166b07f589b39bcdb7b003700ac64ebe3845e68b10

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220706-cp37-abi3-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 7cb24c7c7ccbdb08553a0e7aba406c47d99efa831d09779ccf99280eb7646d37
MD5 d4b35fd53a6190403b12a49088904541
BLAKE2b-256 81158b76f2baba53fc057c1eb1a12f02f3638e51ff44b8b8451e29013f4f651f

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