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
    maturin build --release
    

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

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_dev20220608.tar.gz (106.4 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_dev20220608-cp37-abi3-win_amd64.whl (4.6 MB view details)

Uploaded CPython 3.7+Windows x86-64

eclipse_zenoh_nightly-0.6.0_dev20220608-cp37-abi3-win32.whl (4.2 MB view details)

Uploaded CPython 3.7+Windows x86

eclipse_zenoh_nightly-0.6.0_dev20220608-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl (6.9 MB view details)

Uploaded CPython 3.7+manylinux: glibc 2.17+ ARMv7l

eclipse_zenoh_nightly-0.6.0_dev20220608-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (7.1 MB view details)

Uploaded CPython 3.7+manylinux: glibc 2.17+ ARM64

eclipse_zenoh_nightly-0.6.0_dev20220608-cp37-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (7.2 MB view details)

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

eclipse_zenoh_nightly-0.6.0_dev20220608-cp37-abi3-manylinux_2_12_i686.manylinux2010_i686.whl (7.6 MB view details)

Uploaded CPython 3.7+manylinux: glibc 2.12+ i686

eclipse_zenoh_nightly-0.6.0_dev20220608-cp37-abi3-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl (10.2 MB view details)

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

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220608.tar.gz
Algorithm Hash digest
SHA256 e01758a9bc8fadda5ef3af132bb3364dd94a50ac910f16d078f9c7da8d572da8
MD5 0c0bc9658f2c0540c78c723d5cdf6590
BLAKE2b-256 25e50ceb3f580326c45736882df5cd154cb40e502d4eb027d9875bc79a00ef08

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220608-cp37-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 8df5c1834ac53671af81e6bc21ca666a389f5a27200ecfa07c5ce3d2a1f106d0
MD5 a6d90b5098f61ba90063db4870e569fa
BLAKE2b-256 eeac70034543ec5ee7a949a5c4817589c505541f568d03f7601879e5009a144d

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0_dev20220608-cp37-abi3-win32.whl.

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220608-cp37-abi3-win32.whl
Algorithm Hash digest
SHA256 212b68180e49e0daeb7bf197ce6db9f03ad3b507ac90be2eaa493cf68a8631eb
MD5 859b69436bcb538531a1eee8ce114e5a
BLAKE2b-256 cdef2d57bbd8f14a4a708f0f179b91264cb5613efb770759c9fc34324513429c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220608-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm Hash digest
SHA256 298258d3b02fff924a5a54ef9486bed49d072f577278fa62ea51345f450e189d
MD5 acea7a63fbb673be657e44051480bdc4
BLAKE2b-256 bb550364e7fbd6e8c41cc8b16ebcb02b145799c3f288bad21be4415bb87a2804

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220608-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 a9502040bdb9e763b424360a9bb78915ef2eacc4f00d6a32ab5db7fb72c932a9
MD5 8ba468e431d2d246bafdc2b822283956
BLAKE2b-256 b2b620f043eaff21183e35c740f27c317bcd5f754be5d88cb12f9040272f2415

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0_dev20220608-cp37-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl.

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220608-cp37-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 3a057e7bc1e8426d54277dc45e220aaea6207006dc31a4c39ae7a35b2b49747b
MD5 7b2439a93a560ba147daa7b350dfc57d
BLAKE2b-256 e9bc9b4f04d62a7108f04f1fec8b2327bd562801405e334788215fd08fbbb5df

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0_dev20220608-cp37-abi3-manylinux_2_12_i686.manylinux2010_i686.whl.

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220608-cp37-abi3-manylinux_2_12_i686.manylinux2010_i686.whl
Algorithm Hash digest
SHA256 4b420ca0713210b8fdfed5d84515085c53683c515bcce25f3fa9587c653268ea
MD5 9665fb821be58efcf78816d730aacf71
BLAKE2b-256 3ff58eec10c716ba8dd8ec36026ef9d7197b5881cb0797b7f388e85327fc0c99

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0_dev20220608-cp37-abi3-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl.

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220608-cp37-abi3-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 caf13353d9bf106d01ec3ab3982fa22c2b1737e20ea804f421ad1d96273e3960
MD5 653f65cb1e620067dcc95c31647a3cc1
BLAKE2b-256 e4d32eed46f06463418bf6ebf0fe322eb742fc604fccc74030d83cfd20172b90

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220608-cp37-abi3-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 7e4401b8fec3609eebc9c3adadd631b0724869e0a45d142b2d0c0334eae4cfaf
MD5 a53adfe852f09e6ae7e388d90fe13ae6
BLAKE2b-256 482823f8e4bfc6e2fc4f568e4f5c3e8296e79a599c88dbb4a27cb5504df06978

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