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.


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

Uploaded CPython 3.6+Windows x86-64

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

File metadata

File hashes

Hashes for eclipse-zenoh-nightly-0.6.0.dev20220504.tar.gz
Algorithm Hash digest
SHA256 e03680a8fb0d2b9e10c482c8541f80f8cfa4dce0e7eb01501b6e713f60ea1a86
MD5 43427d479db66bcfde12091bc8dddbdc
BLAKE2b-256 cdf2a88f34c8fac9f3ba46152d9f47ecedda3c4738fe16bd2ef8db352e2bf7a6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220504-cp36-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 b3af2b6217af11734bd2d0b6770247bcd2832255ed108ef1088c5f9c330d70b6
MD5 9b31b4e73a4842a8b5b7e0aadbacab71
BLAKE2b-256 fe28f6b14b934f2f597ee3b8817df68e648d4f4399b53b51906512db7a180ec3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220504-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 d16be95a1f0d8f45eadd22b704eb1701a30da7c6f56a36fc9c69e932b4b99d6d
MD5 528aa9922379d46013704bbba5d819e8
BLAKE2b-256 bf1693b73ffe08ca6cbc85a188429249170bf716cce37fcdcd6c4dcd0584b15d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220504-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 e9c304b3b6211ea87e79d918e761e2454505c9b9fc6a9aff0d92c652e7b60526
MD5 91ae6a91bace669b04627fa44301ee04
BLAKE2b-256 5d10642ada72c88419b75cf58f612e769f76a617ec0b998a794933c93264745b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220504-cp36-abi3-manylinux_2_12_i686.manylinux2010_i686.whl
Algorithm Hash digest
SHA256 fb24919156fd2ad642d50000cc29d5016da1c69130d3aed66f7ae1d45d7a9b55
MD5 bfe7636e0a46d8291d36fa1a9f5d327b
BLAKE2b-256 d74316636df7d138f2459d02f45c7cbfcbc8c27d931bfab5ffc66170169274b2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220504-cp36-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 78b0512a321b771b6e580914a52b797716b5833a1c6a779c48a15dffe140a737
MD5 470cfb49d6a48f71d015f61b678a7f2d
BLAKE2b-256 4f30401afb35ab38c339858b4584694c9b2a1e14497ad6956806520d3aad882a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220504-cp36-abi3-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 582a8cbc9559bcb2fba1be8de5f20f7e239b9fe50a07661b1dcd4d914f471c9b
MD5 7239cc42a9027e98ee4f3049aca5b1f2
BLAKE2b-256 873aad40db7dd5dd2864ae7fa286b2372321311b1c5c71eade39bd41709d69d9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220504-cp36-abi3-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 267b3bb70d4df4dc4354e94e23b51092f18084a2c531c8e51b636da56062dbba
MD5 a7b0b8a66b62ff57fb0fb6821d71d919
BLAKE2b-256 a2e31b7b801a171f01bf0fe6c2b2febca6ef1de0678bae41310c2fbe4c935bba

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