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.


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
    
  • Build zenoh-python
    python setup.py develop
    

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

Project details


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.dev20220425.tar.gz (51.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.0.dev20220425-cp36-abi3-win_amd64.whl (4.5 MB view details)

Uploaded CPython 3.6+Windows x86-64

eclipse_zenoh_nightly-0.6.0.dev20220425-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (6.7 MB view details)

Uploaded CPython 3.6+manylinux: glibc 2.17+ ARM64

eclipse_zenoh_nightly-0.6.0.dev20220425-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (6.7 MB view details)

Uploaded CPython 3.6+manylinux: glibc 2.12+ x86-64

eclipse_zenoh_nightly-0.6.0.dev20220425-cp36-abi3-manylinux_2_12_i686.manylinux2010_i686.whl (7.1 MB view details)

Uploaded CPython 3.6+manylinux: glibc 2.12+ i686

eclipse_zenoh_nightly-0.6.0.dev20220425-cp36-abi3-macosx_11_0_arm64.whl (4.7 MB view details)

Uploaded CPython 3.6+macOS 11.0+ ARM64

eclipse_zenoh_nightly-0.6.0.dev20220425-cp36-abi3-macosx_10_9_x86_64.whl (5.0 MB view details)

Uploaded CPython 3.6+macOS 10.9+ x86-64

eclipse_zenoh_nightly-0.6.0.dev20220425-cp36-abi3-macosx_10_9_universal2.whl (9.7 MB view details)

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

File details

Details for the file eclipse-zenoh-nightly-0.6.0.dev20220425.tar.gz.

File metadata

File hashes

Hashes for eclipse-zenoh-nightly-0.6.0.dev20220425.tar.gz
Algorithm Hash digest
SHA256 47dc0617c93ab2f7a27572590f25260e84c5b68d892723001aa48b774939498d
MD5 41fd9169d67581361c38cccbd58f64aa
BLAKE2b-256 721aa38eaceca738882a14c7ac3063386e38612242bd074bfd4bc50b4862b6f9

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0.dev20220425-cp36-abi3-win_amd64.whl.

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220425-cp36-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 4ac6bcaf0986a0334cd2efb2c30839d869247453631ee8343d9f5a914dc5e773
MD5 2007d3891e514e6f45618978226bbc7c
BLAKE2b-256 7b884904b3fdb4b8549c38d18cb9a68399bb5a0afa07ac96101a75fdd6d7bdc9

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0.dev20220425-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220425-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 92e2f2065efdf7ca6bb7f449221721cb90813a322166db60ae43d0e607eaddab
MD5 35f244e319ff389aca33e4a69f0b7628
BLAKE2b-256 4b566cd20257f9e891d6fdde5c9c11ad6f69d229b9bdbe60074c757819af6664

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0.dev20220425-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl.

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220425-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 11461eca58d0544e2bb0c3c5d45a41e3cfab7b624fee6bc0672408591a0ba1f7
MD5 fb37ce256c11a61ed771a8e3d0c252da
BLAKE2b-256 6d89dcb696db13fa68ff30068d97bc35ab243442f8191586fdad74e4dfe88da3

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0.dev20220425-cp36-abi3-manylinux_2_12_i686.manylinux2010_i686.whl.

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220425-cp36-abi3-manylinux_2_12_i686.manylinux2010_i686.whl
Algorithm Hash digest
SHA256 aca87da91117cc08c56eee18d3a39df9900bf9daf778b7431bb86583a7224199
MD5 b193670ba805d33254d366699771856d
BLAKE2b-256 b990e49429978531382c38060c1100907e858fb4b8b0d69546cbed8f3ba33a76

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0.dev20220425-cp36-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220425-cp36-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 e83c1fa52ba44398993d37e8352836bf1871065744372429598cd6660f95f758
MD5 fa7c895ab2f26c99b686578013cd055f
BLAKE2b-256 5c67471b8af8fac16f4f1480704267d8a1ff01edc1ecbe1a25e8983dc5c06a4f

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0.dev20220425-cp36-abi3-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220425-cp36-abi3-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 748ee9cc85c69e0903db9eeb9ac02712850b32a4b64b5d530744f02b8ca658c4
MD5 5117fafa5b2c535e2867da6f8d89e2fc
BLAKE2b-256 3bbf0671b7b897422609e06ae45fd8243b022598ca7cea2ab1b7bf1b05cc7819

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0.dev20220425-cp36-abi3-macosx_10_9_universal2.whl.

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220425-cp36-abi3-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 334c8211bcbf3ae57f9f3e58a4c3274c380c29fdd21b1ad2ab711b3090ec9509
MD5 5e217ea59bc7ea14b9ef12fe6404e66a
BLAKE2b-256 56d450992d3a78583daaa6e33191c2737a567f78084674ad99b864ae8962a426

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