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

Uploaded CPython 3.6+Windows x86-64

eclipse_zenoh_nightly-0.6.0.dev20220329-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (6.5 MB view details)

Uploaded CPython 3.6+manylinux: glibc 2.17+ ARM64

eclipse_zenoh_nightly-0.6.0.dev20220329-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (6.6 MB view details)

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

eclipse_zenoh_nightly-0.6.0.dev20220329-cp36-abi3-manylinux_2_12_i686.manylinux2010_i686.whl (6.9 MB view details)

Uploaded CPython 3.6+manylinux: glibc 2.12+ i686

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

File metadata

  • Download URL: eclipse-zenoh-nightly-0.6.0.dev20220329.tar.gz
  • Upload date:
  • Size: 51.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.1 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.12

File hashes

Hashes for eclipse-zenoh-nightly-0.6.0.dev20220329.tar.gz
Algorithm Hash digest
SHA256 5ac8afeb61d36d581d382752c68255de65a7944d8c1cc6ec0b0eee8a1d01953c
MD5 7d53301f73a28404a4dc02a17e2b2b75
BLAKE2b-256 3dccd34c00b1b9ba05c27b6c0275312d8ca88fc88e54673b7a26b07b36f9f1cb

See more details on using hashes here.

File details

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

File metadata

  • Download URL: eclipse_zenoh_nightly-0.6.0.dev20220329-cp36-abi3-win_amd64.whl
  • Upload date:
  • Size: 4.4 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/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.1 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.12

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220329-cp36-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 d3991735e70e50a8194a391c6ddd28667a59d37db98421de880f423c495e7704
MD5 4606302cf00c6da721d9f1efe304a2cc
BLAKE2b-256 1241a5f3789d27fca2bae89c7a1c7b0f2ed0e10a59a832bb0c62e5be8467439c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220329-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 3e87b29e634a30a26f7f0ed7217c337b30c4b99a1f50e2b32a11dafd304994ad
MD5 77100c29c95bbf0719a676d2796d97cc
BLAKE2b-256 56bcaeb1dd8062d97b353676c5d6c7ddcd693a534a925befdb939759953d809d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220329-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 49a302632c8171e80a21f3e3d352e01925c687cabbef03e9eb48b0432dd2f887
MD5 47ceb038369c29410f74a18d84c4106c
BLAKE2b-256 c442ac9ca7c6f4e0c085bcb3f8790c7e70afcddf440229b7e123e0a568afca55

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220329-cp36-abi3-manylinux_2_12_i686.manylinux2010_i686.whl
Algorithm Hash digest
SHA256 c8d26e06eb6c52a5a55e21f4bab35d64ffc8660df6a1000ffc04c9aa821c5391
MD5 73e739e040f4cb9374eb10a0b3f16519
BLAKE2b-256 ed5e767aea941015ecc1f5e9c9ed9eaf621f4fabc78bc1002ec79cd3dd819431

See more details on using hashes here.

File details

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

File metadata

  • Download URL: eclipse_zenoh_nightly-0.6.0.dev20220329-cp36-abi3-macosx_11_0_arm64.whl
  • Upload date:
  • Size: 4.6 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/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.1 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.12

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220329-cp36-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 c0d20a8ba34130d7731efd183d7abac17e809a9c6731c7eeee79d82a94d4e352
MD5 972eca163521deb546fb55feb27fbe5e
BLAKE2b-256 d4e464f45c4cfe835ecdff9e4839c8dec8f10729ef228179f1c2d4546622cc1a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: eclipse_zenoh_nightly-0.6.0.dev20220329-cp36-abi3-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 4.9 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/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.1 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.12

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220329-cp36-abi3-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 85119742f1a96c297f61e0b0e3cb6c11d626a3c06315f70f9281a61298bdb22e
MD5 3ce6e4afea2aa2f5dad6ba36737fbea5
BLAKE2b-256 dd8c678c9ddc0b7cd7b1ca8fd1e47a4a94877396e6b7b141f37bf2f15d247d09

See more details on using hashes here.

File details

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

File metadata

  • Download URL: eclipse_zenoh_nightly-0.6.0.dev20220329-cp36-abi3-macosx_10_9_universal2.whl
  • Upload date:
  • Size: 9.5 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/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.1 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.12

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220329-cp36-abi3-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 ec32bc415e3d72bfaef864bb47abba87f3aa70098b15a422474d6f5dd917c4a6
MD5 5e09d96b8f51620acc968ed9b2be6db4
BLAKE2b-256 1fe819f5e07411c91232571b25db62bd9397180aaf5ccc3d1ecf30953e0d9dfa

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