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

zenoh banner

CI Documentation Status Gitter 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.dev20220411.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.dev20220411-cp36-abi3-win_amd64.whl (4.4 MB view details)

Uploaded CPython 3.6+Windows x86-64

eclipse_zenoh_nightly-0.6.0.dev20220411-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.dev20220411-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.dev20220411-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.dev20220411-cp36-abi3-macosx_11_0_arm64.whl (4.6 MB view details)

Uploaded CPython 3.6+macOS 11.0+ ARM64

eclipse_zenoh_nightly-0.6.0.dev20220411-cp36-abi3-macosx_10_9_x86_64.whl (4.9 MB view details)

Uploaded CPython 3.6+macOS 10.9+ x86-64

eclipse_zenoh_nightly-0.6.0.dev20220411-cp36-abi3-macosx_10_9_universal2.whl (9.5 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.dev20220411.tar.gz.

File metadata

File hashes

Hashes for eclipse-zenoh-nightly-0.6.0.dev20220411.tar.gz
Algorithm Hash digest
SHA256 4702bd991b7eb78a07ad4ca00edc33a2f01c026f55c5d9ecbf7dfbfa47357f67
MD5 5a3753650b324bbb389dc06e9515e87d
BLAKE2b-256 ea2dd9f7c13a89a1348f16abd9c44273adf4288929524c80cd20436cd5f792d8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220411-cp36-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 94a784eac407d39fec2ba7f1eea612beff8bbe6eca8d88876203fb93353b59a1
MD5 8a04f7d31bc1b75b80ebb18191669de1
BLAKE2b-256 50f2c88fd4ed2e26a4f0edc16dc05ab6149462d059218df8ec1016639d3aadc2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220411-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 22e3e94707ea4fa65bde305001723077f5428ece78d29bddfc00b0077792b5ca
MD5 44a894688f45ff215fb42b0f70d4743e
BLAKE2b-256 93ef42ee3b4ce7cba7837d8a5a7377c924aeb3f2d83f2fc7cc5645f885a00ecc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220411-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 62d323d54cfd4200016eaf9873f68c8a2778ba3166ab8e3f95676465bfee67b7
MD5 e6496e831781d86d13f6200c2dce326c
BLAKE2b-256 78c04cbd82047d18461bd309c91b963f5e65407f78fb76dd0692b1e530bdf8d9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220411-cp36-abi3-manylinux_2_12_i686.manylinux2010_i686.whl
Algorithm Hash digest
SHA256 4cd1df8b241614b3e080769b47f46284a7a229176c43727ddf7a0a25817d6bd3
MD5 b0f2ee33fda3d701de0bdbe322a2196d
BLAKE2b-256 94136d106a3de9a445e10cdfa810bd3b9685b9ce54296f82e3e55138cc18b882

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220411-cp36-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 c046e4f21b0b091a18fd747e226f529a78d51a7c956a5a1f2aca2b0842ac30d3
MD5 3f894886b0a44585d70dbbfc9896e3f7
BLAKE2b-256 8d1aab2a30b1b037dddff6dbfeee59af2a1c86e54855298bd0354149572d72bd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220411-cp36-abi3-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 02a738139a101def5f629f9c5fcb0108227534356bc50a64219f69c28298dc0d
MD5 a1486a2139e5827d41cad84003210ddb
BLAKE2b-256 37d68fc759471ced3da1ba8ba9a8560bf6e6a57eb25f6ed123dce6d91e09b09a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220411-cp36-abi3-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 cd6960a722a51c8d6a5b1902639d948cc1db46f4560383e55da0e3ffc4a875f8
MD5 5e048a1edf6f2ee7205f30eff5a7127f
BLAKE2b-256 7df8e0bf79ffa736ca7d866192387a89e656276ef18ec0ff1657358b33253034

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