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.dev20220524.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.dev20220524-cp36-abi3-win_amd64.whl (4.5 MB view details)

Uploaded CPython 3.6+Windows x86-64

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

File metadata

File hashes

Hashes for eclipse-zenoh-nightly-0.6.0.dev20220524.tar.gz
Algorithm Hash digest
SHA256 c77486bd908525b320ed9fd3bdf45e162b6c4a6cac079d45ae56347da1af6cb7
MD5 57e939833bdc2c67d26feaeaaa2e209a
BLAKE2b-256 b31e400d46b7896ffe68f612ebcf7ccf0d59c17b5b9706259ce2ac9187008dec

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220524-cp36-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 7c9eb671af126375e516edc13b0b44660e461e90b5fd35e066bb5924e1e5fd26
MD5 3e9839ef63c81ed52e4f63ef395b4559
BLAKE2b-256 6ae394b1f6dc2ea678470ff9c9a8e9b6b154f50076c2c0706733329cee434b84

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220524-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 979ecb723f3650f553ed11377e000edf70de62921ff144d853913bcebae00201
MD5 89b4d537decf4b1df96f26a4027e7b9a
BLAKE2b-256 42e6beb89cfedba4d55742e6b036478d3c4b48f9f3d1985631662e9654bc5e2e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220524-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 ff4b2ba0a063d8fd70164d198ea040bb451f1764b42fc626571aa21d2ae87a5f
MD5 f740d32bfb3ccaaee154dbf5e544b2a2
BLAKE2b-256 9662477ab473b8bd6d00e37104932ea0cfd327d7b04d9ed517db4e51dff1c000

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220524-cp36-abi3-manylinux_2_12_i686.manylinux2010_i686.whl
Algorithm Hash digest
SHA256 5cc0d74e4643be51528def54ee6fe2595c02dd12a6b76c1ec8d0a8809ef4263d
MD5 83b977f90adaac35a4b23104c88a3862
BLAKE2b-256 bcb4e9ebd9c751f9cc07d2e518e8bad928a1018d17e5072ddfa4d9b1b4837925

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220524-cp36-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 440a0f3a4136211aa4860c52516ad93f8dc654a4eca6ed4cd4ce29ca70950501
MD5 f5f9f77c665b71066c51774280ede7d9
BLAKE2b-256 c7e11e8fe88029d4804207c661f92c9825b661e0698d8d8d946f605fa9bda5f9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220524-cp36-abi3-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 7a3604f1921d20832441725ec52a69cee59a027de65855e4b2a58bd20af83631
MD5 90e79cf65cf1fa50b461116ac32c2723
BLAKE2b-256 2070a76f0497882a12e31dddd6000e91238596c9952187ea405ee9c3b42f5d92

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220524-cp36-abi3-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 0b8647491fb440a82ec130a0d6d02396f4ae5d73876a8a159fc18d6444e340dd
MD5 e9a439891f67069c1e6918e6f8c9afe7
BLAKE2b-256 8834659e10d9b4174312a0680c6fe6bf6a8d04c18afa9e753efc1ec47e17ecb7

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