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

Uploaded CPython 3.6+Windows x86-64

eclipse_zenoh_nightly-0.6.0.dev20220210-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (5.6 MB view details)

Uploaded CPython 3.6+manylinux: glibc 2.17+ ARM64

eclipse_zenoh_nightly-0.6.0.dev20220210-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (5.7 MB view details)

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

eclipse_zenoh_nightly-0.6.0.dev20220210-cp36-abi3-manylinux_2_12_i686.manylinux2010_i686.whl (6.1 MB view details)

Uploaded CPython 3.6+manylinux: glibc 2.12+ i686

eclipse_zenoh_nightly-0.6.0.dev20220210-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.dev20220210-cp36-abi3-macosx_10_9_x86_64.whl (4.1 MB view details)

Uploaded CPython 3.6+macOS 10.9+ x86-64

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

File metadata

  • Download URL: eclipse-zenoh-nightly-0.6.0.dev20220210.tar.gz
  • Upload date:
  • Size: 44.2 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.62.3 importlib-metadata/4.10.1 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.dev20220210.tar.gz
Algorithm Hash digest
SHA256 8bf3e66e43082db1dceca3681a896c875fbd84116e5ce6bf69310a69d772a04d
MD5 88eaccb22be0330a3edc2928857bdc9b
BLAKE2b-256 d90b2f1fc00ee98398d070782329cb89103515d173133856f29d3b4b83b9af07

See more details on using hashes here.

File details

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

File metadata

  • Download URL: eclipse_zenoh_nightly-0.6.0.dev20220210-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.62.3 importlib-metadata/4.10.1 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.dev20220210-cp36-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 d1152c6b8111b0dcc47d3f206a2976c2bfcdfdd2a351ebbb08b75e61e0282005
MD5 730def2d2b5c146e1e2f50ca3d2b16a7
BLAKE2b-256 b53b8c8df477a8094f310bf659204a9de6acebfa1ebf7fa5a12db5ed2954be95

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220210-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 b9fa5caac7b17e170fb1f89ea7021d99542313e44d1686214f8141863694d648
MD5 6f47b5be207c5ca6c04968afc7d96468
BLAKE2b-256 ceb4877bc986bf42ed72960d0654f8237d9af02facadefbce36868a7d60befe9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220210-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 f9b18e5be9799bb094fe560a63e98a4d135bd232a8b1007bf5625f96e9fbf9d6
MD5 f538a8a9294e545995c61c37ed3a2174
BLAKE2b-256 2ed6544ab18b50a36139f9c991bbbdfce8282734b5c9f5d9def5e005bb9c2726

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220210-cp36-abi3-manylinux_2_12_i686.manylinux2010_i686.whl
Algorithm Hash digest
SHA256 54bc71baedf0cf27cf16c473a240ab7189dd0b1169e3c962eff9310e90ae431e
MD5 d428a872f8ba7dca9e0977ee38d4802d
BLAKE2b-256 3e4a6f0b178ca214c3b09a86716a3d3163e59dc367fdbf07086ccdcca5ceb20a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: eclipse_zenoh_nightly-0.6.0.dev20220210-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.62.3 importlib-metadata/4.10.1 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.dev20220210-cp36-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 91769292fcac761a9c43684fd40df2226e69a29ca7be7d7401de3441e20b9443
MD5 4c212a4144513043d5da90cceb00fe81
BLAKE2b-256 7c524dd2f2ee53d9e7802718c3acb497b3944198aa76821d1f7885252d92547d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: eclipse_zenoh_nightly-0.6.0.dev20220210-cp36-abi3-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 4.1 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.62.3 importlib-metadata/4.10.1 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.dev20220210-cp36-abi3-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 d50416341be812ce4677749441250dabc8074cde1be755eda308dc20b57953a8
MD5 53db37bc1269bdd199c8d815d60565fb
BLAKE2b-256 1fb7e810ea92452189136a73e6e190c0a7cae7417f3a053f1e63d7c8d8bb5d96

See more details on using hashes here.

File details

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

File metadata

  • Download URL: eclipse_zenoh_nightly-0.6.0.dev20220210-cp36-abi3-macosx_10_9_universal2.whl
  • Upload date:
  • Size: 8.0 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.62.3 importlib-metadata/4.10.1 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.dev20220210-cp36-abi3-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 1b2aff9e528dbc62d89a9276898635eb6032ef32d8a0a9b499387a676896690b
MD5 cbcd7b0b00b7b46839109a8c9a56db45
BLAKE2b-256 fbe6a8048e1628cebf119e1eb9a835b5d3a3ec1d61ec0be4d7d3e2078b4d9333

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