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

Uploaded CPython 3.6+Windows x86-64

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

File metadata

  • Download URL: eclipse-zenoh-nightly-0.6.0.dev20220209.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.dev20220209.tar.gz
Algorithm Hash digest
SHA256 fd3bf9856a748a51fef72daf48e43a455326846fb8e98779f2348878b8d61669
MD5 e81d484ae5d33495bc8b8bbc3ae2950b
BLAKE2b-256 92a16d435a28daf816cafee7acffd306fdcabab056e7d7c4fbdd206eb5ba7d6b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: eclipse_zenoh_nightly-0.6.0.dev20220209-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.dev20220209-cp36-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 b78fad7513401709692501f6df1420eb70b8baeea812eb0e0681131deda750fb
MD5 99c78b917d3ae493cceb07efb47311f9
BLAKE2b-256 f5a109a6305b362e4ea5cb0d8e7c00ed0bf7cedfdc486a342920503f68d9991a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220209-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 2f0cb93155185bc422c2b5478c63e1fe92780dc2ff3d29c256818a1dab8c98a8
MD5 b351d885cae852faa14c758deede8683
BLAKE2b-256 5e99f4f8afee7e4cc831b9dbd40c7c506d3263282c7bf7c7d8a7a72c647de786

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220209-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 c7bd43ff82b31d5551f9d19ea775a99d4ac429cea22222f0e6db9c8b8e7ee36a
MD5 45428b15496595115220758e9c22b6af
BLAKE2b-256 23e40210559f2047d6edb4f70ff5d0b138d865e0cd27dfe70ec76ba699ab4fae

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220209-cp36-abi3-manylinux_2_12_i686.manylinux2010_i686.whl
Algorithm Hash digest
SHA256 d2a5c7b446b874f07c0d3a92a4ef0c24622beefa3457edf5179f79c55b88ac38
MD5 545e793733d831681baf11ee31d5592f
BLAKE2b-256 fac8a07f61f4c7f59d1e403403d5a4eb02b0d9c1f50a42fb778a8b9c09b08a64

See more details on using hashes here.

File details

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

File metadata

  • Download URL: eclipse_zenoh_nightly-0.6.0.dev20220209-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.dev20220209-cp36-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 c50278a9b549b4be378dab875349ed120f98e0cf93bc12196ab03553ccb01412
MD5 3b0a97b9fd93077efb8b8d5e83e332d1
BLAKE2b-256 ce16d494cdb8332ec8b00af7f4e3efc2278e34561e90a2c52bd6e908368bf28e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: eclipse_zenoh_nightly-0.6.0.dev20220209-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.dev20220209-cp36-abi3-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 dc47a71f17f7eabfbca6f9efcc41d2df6d15975a897234eecf2cbbd4188eae74
MD5 354e2f73a182c1405d983daff12384af
BLAKE2b-256 c8c5abf510c6fd06a09c7732d1f3c563eac73dbeb966eebdea99b8fdc0b7f474

See more details on using hashes here.

File details

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

File metadata

  • Download URL: eclipse_zenoh_nightly-0.6.0.dev20220209-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.dev20220209-cp36-abi3-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 156394abf81a285d7bd4ffaa74a151941b6361147795d43bcf4aa36e84c54fb0
MD5 b1d4228d830375af427a443992ed4219
BLAKE2b-256 f45781bc2699bd2b6a4d1cdba8b0dacc6db5bdda3397f9effad8018c3c499350

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