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
    
  • 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.dev20220520.tar.gz (51.3 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.dev20220520-cp36-abi3-win_amd64.whl (4.5 MB view details)

Uploaded CPython 3.6+Windows x86-64

eclipse_zenoh_nightly-0.6.0.dev20220520-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (7.1 MB view details)

Uploaded CPython 3.6+manylinux: glibc 2.17+ ARM64

eclipse_zenoh_nightly-0.6.0.dev20220520-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (7.2 MB view details)

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

eclipse_zenoh_nightly-0.6.0.dev20220520-cp36-abi3-manylinux_2_12_i686.manylinux2010_i686.whl (7.6 MB view details)

Uploaded CPython 3.6+manylinux: glibc 2.12+ i686

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

File metadata

File hashes

Hashes for eclipse-zenoh-nightly-0.6.0.dev20220520.tar.gz
Algorithm Hash digest
SHA256 9ba0f09eee02bf73967c796b65593c4e12899cace0519f5f187c23273bffacd9
MD5 74fb447a922528070f7d332d6c7a1d42
BLAKE2b-256 59cd4ed87cacdc71eb3657574f8eb2c94a73e20786c54e02da578a792bd2e422

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220520-cp36-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 df725cdd95ec96350a602174695c4d836987dc10d33ebe99f0bf2c13b2598551
MD5 b07039ebda815b4544d0c07629c3f744
BLAKE2b-256 ee21f6ac7969baffd38c5c7c120e494c64e25384875a4f9fa5f8df39a8c72fd0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220520-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 8537feeaa8625689a3985479643d2d925f9ac9643a4093b6b6406915019d020b
MD5 72afe653462eea3a348042c6b3bb12bc
BLAKE2b-256 35d2602b29dbf9f473b609f494037d4ab5c22fdf3bee4db50ee5656bf3271092

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220520-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 a3d64989630c67c6395f326a85fc6d67990802eb398e2229683f7c69638632fa
MD5 effa254fe1eb8b4eba41b9a14c725340
BLAKE2b-256 8f73d747f59a5f52444cb91f9be7a46f275c7eed2c6c57f4bcf3bd0e533eb3cb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220520-cp36-abi3-manylinux_2_12_i686.manylinux2010_i686.whl
Algorithm Hash digest
SHA256 50062f3fc3095815108b158727edea732f3fc9d8e17520694b6d045672459c9c
MD5 7a4874f63548c1ac7eea93b136ec19cf
BLAKE2b-256 5b095338a72c07dcd700c40aa187807177570113de002c65b34c7e314b509e7e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220520-cp36-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 46b08088f73bdcdcdebd5d1cabc3ce4bbe163947d4be0ed7cc8fef4dc978e335
MD5 7edcf05cfc1ee63a82d0e985c6fdc45b
BLAKE2b-256 c05132a79c52b0df0ab77e9730a52723b8fa2bbf91ec36d14e9f858b82eec199

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220520-cp36-abi3-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 61acfb735b1930d9a6dde82ffcabda8d0802dbffaf3a9471ee93a29cd9a75217
MD5 769ebd8d1138abbc2fd3975f7d18a7f8
BLAKE2b-256 1c776c947c536af1e18b99294a91d97600faf1d63c7543f5532f1fb0ad0f8664

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220520-cp36-abi3-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 f7b958ce6483ba0b29f95afdc21512db199467725a373e2defcdf19a55f156ac
MD5 30dd8907072235d790fc566d48846f9f
BLAKE2b-256 70990168b709c838022d9969d6f0bb45119ab555d05bab0c5b7835657407b524

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