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

Uploaded CPython 3.6+Windows x86-64

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

File metadata

File hashes

Hashes for eclipse-zenoh-nightly-0.6.0.dev20220408.tar.gz
Algorithm Hash digest
SHA256 147d9599a7003d58be784edfa6aa15285a14415f9047c151435b516cec3245dc
MD5 8fdd93de38de3cac0e178509a84c2d65
BLAKE2b-256 2c4818538a16d5af700b34136a9ce6f112c92a627f3b4d8af45c8f2f6ca8bf65

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220408-cp36-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 f2563487564a0c8f8b0c87e1f4a4cb8fddbfdac13d6b5d67da6f73310eba5676
MD5 d78c4620f1b8e5c994344e5ca4e313c2
BLAKE2b-256 84b35b207df4a6fa6f73f4ffe5d88056e0b307b8865e87525e406407955a026e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220408-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 0f1ae32a86d5c622637d9fd8efd25b0749357b07d02908ff9375403b27d400bd
MD5 aefc0bd84b15997a11a12916319d17f7
BLAKE2b-256 9f3624a98650170de354ed47ca6fea41fdb4a7ba9cd94d0d871aedd528f6437a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220408-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 6f7e3a187ef089c9b56b8ca28f4b0c0139f7120e0463e5d71aff3edca6bba044
MD5 afb51c6a99ed308f8569ff0856541f74
BLAKE2b-256 cf4c57162347cd25bc17058f2372ece77d2b111cfef2325dd62e08c171bf5213

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220408-cp36-abi3-manylinux_2_12_i686.manylinux2010_i686.whl
Algorithm Hash digest
SHA256 3eeb31aceaabcd9481eb48432b1f2149cc6deb98482dc781b3c9b26cc47157bc
MD5 bb13919937a1883d387e9f0cae0a3f81
BLAKE2b-256 f8785677bf70a0d2025bc6b5afa6dfe8ace1fec34ce27bc829883ce3e7d9cdae

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220408-cp36-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 d3d6c2c69aed416778a4044421575f4e9b7759b8b2228951dd85704ce6649e77
MD5 0ed672506c20b2a042f73539fb6eeab3
BLAKE2b-256 7d1d9a86aad762388c156a5fafcc6afdeea6fe6ca2cc485d7a65bdfee6506267

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220408-cp36-abi3-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 5293d3e1b361e6c73bcbd10418d404a78574c5a926de11785a5af9acb1cf6d11
MD5 3b68abe6de307716a1b8da927eea379c
BLAKE2b-256 fa2a7ab243611d88055aef5f03525fc4a92cb9ca4a1a91ac854a261b43489140

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220408-cp36-abi3-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 f863d2bec9d4a5eb342777ed135714febc8699601f25b1565874d03352ac69a8
MD5 55c97c35521d1dd3cc522a7dc2f4753f
BLAKE2b-256 b81b57a815be4945686dc52dc2fd7a11de376d85b9a4e05b9d30fb091dcbc604

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