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

Uploaded CPython 3.6+Windows x86-64

eclipse_zenoh_nightly-0.6.0.dev20220331-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.dev20220331-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.dev20220331-cp36-abi3-manylinux_2_12_i686.manylinux2010_i686.whl (7.0 MB view details)

Uploaded CPython 3.6+manylinux: glibc 2.12+ i686

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

File metadata

  • Download URL: eclipse-zenoh-nightly-0.6.0.dev20220331.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.dev20220331.tar.gz
Algorithm Hash digest
SHA256 7da75fc8188e6f77323f3caf642d572391e3ff9ffcb65e596d5d2d1d95f72df0
MD5 81eaccc15d48306eab4302cbaa9e8d4d
BLAKE2b-256 c6dddad24d5740850a2c5389667b4b089c61f3b808b76b2e1e6ab498b2d3d541

See more details on using hashes here.

File details

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

File metadata

  • Download URL: eclipse_zenoh_nightly-0.6.0.dev20220331-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.dev20220331-cp36-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 61cb8bf500aedc2d13376f23cd90f2b54137c5ea15bbce85a7922534ba2533e7
MD5 c7dd2bae76288bbc80d988a8e84f78c2
BLAKE2b-256 4fb1840563fa16288f6b6a2f09f5097267bdfd1cd761edec1d1cda68b11fe881

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220331-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 23e118a8981b02e9b58fa8a71e8462a54e286bf9221daa0036ca35d88cdce771
MD5 65ecaa747cde7f9fd03d1d7be5714c35
BLAKE2b-256 3c0ceb61c90d6abfc12c5adbe0745cfece6e5b13788a3c1110d00647e2d43b1f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220331-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 c9ba9f928f6111af9e4abe537385aa2ace1fa057f9bb3fd1945b801b8bea4c43
MD5 a7ae1ed413b04b0a96d0cb1dda6cc259
BLAKE2b-256 edd1d184fc7746294f996f69bd2ebbfbb715db0305bd663c21ae497294a81482

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220331-cp36-abi3-manylinux_2_12_i686.manylinux2010_i686.whl
Algorithm Hash digest
SHA256 b0de046130b830c34acc833706218127e010883e0c9a7d8c319ccf01c8148e38
MD5 eaabbc44d9bd750bdab52e06eb51780b
BLAKE2b-256 6dfeb9cba1650ae97b16f992f776f35f4db83d750d9a6163688a053735a17a95

See more details on using hashes here.

File details

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

File metadata

  • Download URL: eclipse_zenoh_nightly-0.6.0.dev20220331-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.dev20220331-cp36-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 0f8768510f93dbd26b79586ca4130c7bf452516af1e242ce889c664401a04fdd
MD5 f5b2337ef5d02e49d854cfdf1f6a2c3f
BLAKE2b-256 4fef29c5f699be856c207604775593e4512576fbc793dd6c1ef6428aade3d453

See more details on using hashes here.

File details

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

File metadata

  • Download URL: eclipse_zenoh_nightly-0.6.0.dev20220331-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.dev20220331-cp36-abi3-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 f32403a10707a7fff6095ce462a65380495cbdfe796a8594b00df2b14a4fc535
MD5 350304cb1412d87267535638c363b1e8
BLAKE2b-256 b383872d592c4e14662d866bb5744aadadc8f86f09b52616adc738ecccb835a3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: eclipse_zenoh_nightly-0.6.0.dev20220331-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.dev20220331-cp36-abi3-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 ca7af080222fc52cabe32ce179994431a4f8c9bddb92d0bf719298229d91f8d7
MD5 ff89e326b98d7eb2da88ef1b6faa9138
BLAKE2b-256 d878993a06ebb96c18412523f91dab360bbbb95c6337907716c0383bf4786702

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