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.dev20220228.tar.gz (45.8 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.dev20220228-cp36-abi3-win_amd64.whl (3.8 MB view details)

Uploaded CPython 3.6+Windows x86-64

eclipse_zenoh_nightly-0.6.0.dev20220228-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (5.4 MB view details)

Uploaded CPython 3.6+manylinux: glibc 2.17+ ARM64

eclipse_zenoh_nightly-0.6.0.dev20220228-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (5.5 MB view details)

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

eclipse_zenoh_nightly-0.6.0.dev20220228-cp36-abi3-manylinux_2_12_i686.manylinux2010_i686.whl (5.8 MB view details)

Uploaded CPython 3.6+manylinux: glibc 2.12+ i686

eclipse_zenoh_nightly-0.6.0.dev20220228-cp36-abi3-macosx_11_0_arm64.whl (3.9 MB view details)

Uploaded CPython 3.6+macOS 11.0+ ARM64

eclipse_zenoh_nightly-0.6.0.dev20220228-cp36-abi3-macosx_10_9_x86_64.whl (4.2 MB view details)

Uploaded CPython 3.6+macOS 10.9+ x86-64

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

File metadata

  • Download URL: eclipse-zenoh-nightly-0.6.0.dev20220228.tar.gz
  • Upload date:
  • Size: 45.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for eclipse-zenoh-nightly-0.6.0.dev20220228.tar.gz
Algorithm Hash digest
SHA256 039771e75e41475793583b874421776407f9316e2486f4842148ca551c09ce03
MD5 4e37dfb6716b817011ea77e73f32b151
BLAKE2b-256 8dd6f9e6f3bab24527db04452dfd5adf8cea86f12af72d948ed1a67aa2dc4d99

See more details on using hashes here.

File details

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

File metadata

  • Download URL: eclipse_zenoh_nightly-0.6.0.dev20220228-cp36-abi3-win_amd64.whl
  • Upload date:
  • Size: 3.8 MB
  • Tags: CPython 3.6+, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220228-cp36-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 c9999a3448776bef5c77c73f55106388cad2bcfa3ae89f0608efbe990895e66e
MD5 a41ac41a112aeda2044da7a01f920eeb
BLAKE2b-256 3a6f8ae57b63b0652cb7f4355bdb3da97627d4f0792f4767c87732c8508f88e9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220228-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 4ceaca9729ba3c18ef7615e5dc14acb48f43785765fe2fc56a7e18b6b854198d
MD5 3b1eae838902eb2bf1e9392bf30a1b2d
BLAKE2b-256 3e273f5481662257a235f08a8a9b81d0b3478d78abf8d4659908cd534de96bce

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220228-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 9f26d09395330e4be52b1263458af2a13b6151af535f780d61738ee10b4b31d3
MD5 19181dd92659ab353fa5899a1b6ec4ad
BLAKE2b-256 9ff275d8c167c79618df0d8552056e7b0493170169a9732e673ec6f25c434de6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220228-cp36-abi3-manylinux_2_12_i686.manylinux2010_i686.whl
Algorithm Hash digest
SHA256 069190caddcea52ccc14760f3a81cc0d4d4a9a8f8b39ae86bfcf449d4a90d4d4
MD5 75032c1ae5c562fb346a4b43c661185f
BLAKE2b-256 1096732095e56e3968f8b27c930a158647ec2054e3fd8840e526d8243003052e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: eclipse_zenoh_nightly-0.6.0.dev20220228-cp36-abi3-macosx_11_0_arm64.whl
  • Upload date:
  • Size: 3.9 MB
  • Tags: CPython 3.6+, macOS 11.0+ ARM64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220228-cp36-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 b8c31fba41e8da829298980923272c28c3215680c029eb13a127fdd564b5a684
MD5 9beffc501064be2548397b0ae9d89e95
BLAKE2b-256 ac4a3a5209e9e81badf319938be3a24355c3a4035c89e5c3ac725e3c8978e2de

See more details on using hashes here.

File details

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

File metadata

  • Download URL: eclipse_zenoh_nightly-0.6.0.dev20220228-cp36-abi3-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 4.2 MB
  • Tags: CPython 3.6+, macOS 10.9+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220228-cp36-abi3-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 847611ca5bad0b941818e971dd259b22ab0fc8632de16aa1e5d850a61f62a476
MD5 345c16e744c58ecdaf522e6396f822ff
BLAKE2b-256 739f10785cdea76b8712478e28de9c70441a57596a637591adcb40c248beb98b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: eclipse_zenoh_nightly-0.6.0.dev20220228-cp36-abi3-macosx_10_9_universal2.whl
  • Upload date:
  • Size: 8.1 MB
  • Tags: CPython 3.6+, macOS 10.9+ universal2 (ARM64, x86-64)
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220228-cp36-abi3-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 810aeba942cf832b6de038a1089093ea65c1b590fa4b7eeb08108d8dc6de4844
MD5 2848287c1836356643be8975fc7da810
BLAKE2b-256 3e3f5940171e3eef767169768c779db1ef13a46646609607ade1d0d4c4621e20

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