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

Uploaded CPython 3.7+Windows x86-64

eclipse_zenoh_nightly-0.6.0b120221124-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (7.0 MB view details)

Uploaded CPython 3.7+manylinux: glibc 2.17+ x86-64

eclipse_zenoh_nightly-0.6.0b120221124-cp37-abi3-manylinux_2_17_i686.manylinux2014_i686.whl (7.4 MB view details)

Uploaded CPython 3.7+manylinux: glibc 2.17+ i686

eclipse_zenoh_nightly-0.6.0b120221124-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl (6.6 MB view details)

Uploaded CPython 3.7+manylinux: glibc 2.17+ ARMv7l

eclipse_zenoh_nightly-0.6.0b120221124-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (6.9 MB view details)

Uploaded CPython 3.7+manylinux: glibc 2.17+ ARM64

eclipse_zenoh_nightly-0.6.0b120221124-cp37-abi3-macosx_10_9_x86_64.macosx_10_9_arm64.macosx_10_9_universal2.whl (10.0 MB view details)

Uploaded CPython 3.7+macOS 10.9+ ARM64macOS 10.9+ universal2 (ARM64, x86-64)macOS 10.9+ x86-64

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0b120221124.tar.gz
Algorithm Hash digest
SHA256 9d3ad687e466a11a6f28a66acce17d14f552a80587de747baa8b38d8a9cc8238
MD5 74c5e9e1eb312e337d73e3e093bd4ce6
BLAKE2b-256 dadd9269bdec37dcf39a2c6b93d64496156bb8f9685f714e3287e7a25e1fbe90

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0b120221124-cp37-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 825c44ee9d8059bfd4c9b25362cb043dd1e32d730950ee19bca445887e41c144
MD5 91d861c46d75fb649a563f489e868f6f
BLAKE2b-256 0d1ceb92213ee47acab742e5093ac3e851789414c6814f17ff9849d0269beeb3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0b120221124-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 7817ab5e79ef971f766a489b582077ddd40bc46f500f289624a45ef5d934fd5a
MD5 a57f923ff59e0ae9cb1e92450c839c66
BLAKE2b-256 3a95c4141c90afeb017956604a33883e012a7d0c136ee55e93fb4bef7f0d3f77

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0b120221124-cp37-abi3-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 4acb847ea1a6979095b22a4b4c27281444a4a95b7074e4ca20d12d5cba35b915
MD5 3565011821c9b3a6ce40e89c78f50e75
BLAKE2b-256 bc6d3df10cb18c536960c06aaa493aaa170ffce67a278e55a236993d2c9e430a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0b120221124-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm Hash digest
SHA256 c4c16109093e80047b0d87df238225bffacfdd25c2fc088f15ee7ad59b3502ce
MD5 436fccfbc3082dffb09f43f433940d9a
BLAKE2b-256 6b14995e92ca3cf0d247c0ea746f9456599703e7203c84154818e90f223ef94f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0b120221124-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 bcf9d799cad92b9b0f18727f222e4814c41f80cec4dbb7805a79df4d243a1b40
MD5 e61beb1971b935feab43e9f15045332f
BLAKE2b-256 a5cfae0e27c095b88cacae3f9b80acbbb43f57a600f47358e3c608da857133f9

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0b120221124-cp37-abi3-macosx_10_9_x86_64.macosx_10_9_arm64.macosx_10_9_universal2.whl.

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0b120221124-cp37-abi3-macosx_10_9_x86_64.macosx_10_9_arm64.macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 cc7643168403674708424134a75b4fe80f94f3a285d828f0be80d6c3eda85c9a
MD5 f674f4737008a1e80729c996b4aeff32
BLAKE2b-256 4915d96b7e497dbff8c160c5aee1adbdb060bc7538258c57f9d38a08ddda22d9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0b120221124-cp37-abi3-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 0990514b31c8c811adb7e9cc028f28404921cf45bb5cac81a1f7c73dd8cc8fac
MD5 55c043af9e125a614851037542331982
BLAKE2b-256 515bcdd843f0689ee12504d91c532c0312f0df447e73cbde2cee37e9322733f1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0b120221124-cp37-abi3-linux_armv6l.whl
Algorithm Hash digest
SHA256 ccf114448f69aa6d340c753766650edce6211790acf3edc3cb9da752fa7aa808
MD5 f09efded82464629046c18560290e97c
BLAKE2b-256 a09536739068f393d7b1d60b331eaeadf2265284589c7e4f64da8b24d74bd0ca

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