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

Uploaded CPython 3.7+Windows x86-64

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

Uploaded CPython 3.7+Windows x86

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_beta.120221005.tar.gz
Algorithm Hash digest
SHA256 293550971cf2e0fc973fe3c608c2d6611294301cb687124b51047920a83fb53b
MD5 9cd820b1453a6c582a447d47b0cb3eca
BLAKE2b-256 f31dc329868a85501cedcf8bf17f3ce75c580e35544ad19f3c3e1fe08e3be879

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0b120221005-cp37-abi3-linux_armv6l.whl
Algorithm Hash digest
SHA256 5929e06da7c8f0f593759fa44329ad596ceef9ed7a77e475a7915f50e57a9bd4
MD5 045775a33937a9bcd11c7703cf3c1287
BLAKE2b-256 0776a62e10473cdebcfc5ef09c9590bff43d09a23fa554468c899f84882974dc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_beta.120221005-cp37-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 b837079154af83520a4ffb8abe5a3295394b9577162076b8d9f910e5b5d17d63
MD5 a220696fb09eb8208a1f87c9e6401e88
BLAKE2b-256 e13f79377f906e66099073c414eb5bb14c75cf5008224b1e6ef362c85b2eb4f3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_beta.120221005-cp37-abi3-win32.whl
Algorithm Hash digest
SHA256 f8833df49411dd740ea619cf615b99e6e87ed39e2437d46bd33ba4f76ca1484b
MD5 d6207377a7fd470d427e4f1211d33dd1
BLAKE2b-256 8d32af9e65ac094162f7061e19a9dd0d81bd87786e7ca9d81d478420cc8eaaf5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_beta.120221005-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 d200cc2962f379e462bcf5e7355b48574f550fb3fd00265759a3b1e2c257ea46
MD5 51f2185ea41b6a643292c46e262eee8b
BLAKE2b-256 8c86a4ee7ac52301b2379d23923a0985e518f779a4c2862243d786194620d8ad

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_beta.120221005-cp37-abi3-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 6b6fdcd30c7e75369e36b53ea6bd30c1bfae90e98c199e0a025c4a2a472aabe1
MD5 07d3f84a3cf17dfdb6020838c2e7883c
BLAKE2b-256 3ba1f273ce53825146084d25f8dffca99d5a6b24d2946b904c00991e0b96e649

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_beta.120221005-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm Hash digest
SHA256 d26bbed1d8b4264013ef313e14d35e842cd0fd98786b8e1b3265fbd6e143acc9
MD5 296e0b016f829d1e738c3f4a5476eae2
BLAKE2b-256 f5fb80d302568dd3eacf4e1d1cbd4f7727cf768f1e1354b9aed09e69463e7bef

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_beta.120221005-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 0495ec94e8613eb1d5a2767304a8d30fac38b50c8b5362bb5a01e4e3f7e4cd76
MD5 eb388c0976f2eb0bb8237fb5a2a080b8
BLAKE2b-256 ce88ecf4ab0b5bfbde7e1eb5df645a4b83483e0b236622b90b355238697b4e05

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0_beta.120221005-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.120221005-cp37-abi3-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 ddadfe0187d8efce479de54270fc52834a9eb78cba96e2a34039cef6376c0800
MD5 92c58d5e699b767f7896db658c39e02e
BLAKE2b-256 3da6c4df0537ec3c7e9548018747d862139f03c3b0354c93a7f1cb6d64910b92

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_beta.120221005-cp37-abi3-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 44667f8e8f40350cde97ccb88099606357f86873c8070fb7b4042c400372cf83
MD5 2e4f390ba3c101eb2f8f7efd2f2b1961
BLAKE2b-256 f241c68d3a31d868537867bf7cd0c5a78ebec19dd97a1d396bb78ca698efcd74

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