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.120221010.tar.gz (93.7 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.120221010-cp37-abi3-win_amd64.whl (4.3 MB view details)

Uploaded CPython 3.7+Windows x86-64

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

Uploaded CPython 3.7+Windows x86

eclipse_zenoh_nightly-0.6.0_beta.120221010-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.120221010-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.120221010-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl (6.5 MB view details)

Uploaded CPython 3.7+manylinux: glibc 2.17+ ARMv7l

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_beta.120221010.tar.gz
Algorithm Hash digest
SHA256 64e41351d0f9c6f9bcd5f0ee711a3d42be9e7fe73c7495db96f4b91f51108392
MD5 edcab8f73b9ac4484e152e7459109929
BLAKE2b-256 61930af25af483539048d89a29d0cb5de5aee7a16b128c6c610089e34dc3169f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0b120221010-cp37-abi3-linux_armv6l.whl
Algorithm Hash digest
SHA256 7518a41f20a8917b0b9c37d5c4a960c349d7c2b81514fad6f140f3817979b1c7
MD5 916ea202453a3b7a1bf7fde5e1bac497
BLAKE2b-256 c8e4844c02960b43a81f5c8d93b18f6d6acce9223f805de71a78f023e28138e3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_beta.120221010-cp37-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 4db2fff39a18da9032bd5c764c3f66c8c048cb4ce06c051674ded1c5c669e06d
MD5 adf50b2603c521ebab3eefe0750e2475
BLAKE2b-256 677fcf84d652016e30902a6f4499160cc191e807876baa3e9450f59b48563838

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_beta.120221010-cp37-abi3-win32.whl
Algorithm Hash digest
SHA256 c33113fe4c78ab12064361c6bb61fb1692934f49df0c9f6e8e53829b0a4f3a16
MD5 beafe33167820cc1609ac6d826062068
BLAKE2b-256 a7ac24933a33674cfae02724542d2f742e71648a53115a50a7f1b57a4d269b87

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_beta.120221010-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 0eda8c14ebe49cfea6dd2492ca1e1bc5f57f900b7fce3f44c1efa3f53cac71a0
MD5 73d91c7bce013559f0344511c7bc0c8c
BLAKE2b-256 6b25faec14cf3026271e4289186f8347b5344bd22e60b187654fb88d707dfd45

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_beta.120221010-cp37-abi3-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 7c95e41aac2bead0fbce14353bf4c9e6db29b009428787fa24992702875faf02
MD5 51720ac04b72c12ff250d18ea1f151d7
BLAKE2b-256 269ae6461bc4c835b6cec3c101236a7ea10d4cc6f561f71796c7f9b671bcbf10

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_beta.120221010-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm Hash digest
SHA256 72f08b8eb09bab7ad91d9f66a389585bc5f27def5a7789a4fa0621f79db1f408
MD5 ad89a44a1ea513ef6466d89ceb5b20f9
BLAKE2b-256 9c2bdc39eb8dbd1063cc34b00ddc54fb28252964be02f9f39939b6777b576448

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_beta.120221010-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 6bfb5c1363be2e7ed5f013fce033ed6a67bf1e634b01e9303bb68f536bd15681
MD5 42df753b49664ee0efa8befe349a6d7d
BLAKE2b-256 b81bdbc37871583e838535375d3dc8b64bdccb89740de42d6c848fef321c0ab5

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0_beta.120221010-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.120221010-cp37-abi3-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 bb545a944d9b43a2bbf6dce912355cfec441c76fd2c060fc42ac79a2ea8f2484
MD5 45346ff55c239f1567cafcea7be11303
BLAKE2b-256 8394ed83b9564d4ea0a6b9482c8cadab5026771b644b25b9b5b1cebce5328793

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_beta.120221010-cp37-abi3-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 056cb04ea0362cfa6422cc5d41452d39404af1361ba2cbf3d8f40186e02e254a
MD5 4e4853bfb311c7374efe0a1432f26e55
BLAKE2b-256 0fe4bf619960091e9691cbd1c7cda12c52e2a68ed88163f461e5878a75696fc9

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