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.dev20220314.tar.gz (46.7 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.dev20220314-cp36-abi3-win_amd64.whl (3.6 MB view details)

Uploaded CPython 3.6+Windows x86-64

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

File metadata

  • Download URL: eclipse-zenoh-nightly-0.6.0.dev20220314.tar.gz
  • Upload date:
  • Size: 46.7 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.8 tqdm/4.63.0 importlib-metadata/4.11.3 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.dev20220314.tar.gz
Algorithm Hash digest
SHA256 3e21cae5996062d36363afbd17e22ff327ddda730523f7c85ce583a98cffe7ba
MD5 ddec0ead32950626c4cd6e72b4ac2d1d
BLAKE2b-256 ed7d987e2a9ad2ae466f15da7af6d5eeab31f08d4310ad9fa27cb838eb53cb59

See more details on using hashes here.

File details

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

File metadata

  • Download URL: eclipse_zenoh_nightly-0.6.0.dev20220314-cp36-abi3-win_amd64.whl
  • Upload date:
  • Size: 3.6 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.8 tqdm/4.63.0 importlib-metadata/4.11.3 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.dev20220314-cp36-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 8d0b1c8c7d8a91bd4adf5164d440998556959ecec3fd8385a1f2ec1b4b1cd0b6
MD5 a2c10a37927f5a9ec9493e8c927c0f56
BLAKE2b-256 419e9bd0a5077d3a0ebc303316993f987aeac1e0f4055d08f67171ffed4de6ff

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220314-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 1b55002a095f2478f654885ebd7930700273425c6bf1e6c364375fcd6d3ef1b6
MD5 db251490a87f851a19e1e28a73b0e681
BLAKE2b-256 fd2244571e019fd3527136c4fd588fe2a78cab158b0fad3fb85268e781e2ebb2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220314-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 0a8937c7d396f8faad5a92733624f302b4a7e6bb8b95ae72b283b472ac64d9ba
MD5 f084735c4b12a4d11051296b7e1218bd
BLAKE2b-256 8bbbfa1fbf1c5a9b8dba9dbb9c3ca4664ef8d3133d7d643c272e6cab222477a6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220314-cp36-abi3-manylinux_2_12_i686.manylinux2010_i686.whl
Algorithm Hash digest
SHA256 b387500b78206695fc412c64ab8dbbff624ddeea36e6f113c455b3f49fdbd687
MD5 2b6e0105ffd2ff60e5fa97bc1716994e
BLAKE2b-256 c046a70150976fcd0cab21c0aa3ffa8bfdd3a9381451fcbba93584ac623b5553

See more details on using hashes here.

File details

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

File metadata

  • Download URL: eclipse_zenoh_nightly-0.6.0.dev20220314-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/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.3 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.dev20220314-cp36-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 b53c700257b9c7a8022f9b79eedec249e8a4cb274c168d7640711488e4538348
MD5 cf4a3d9f5038cde6d89df4618e85779b
BLAKE2b-256 8d0ba4109ffa44bccff7d4e138b636ab5afe31e58a89fbf494c306c8a3051566

See more details on using hashes here.

File details

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

File metadata

  • Download URL: eclipse_zenoh_nightly-0.6.0.dev20220314-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/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.3 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.dev20220314-cp36-abi3-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 5b7d17678347a01816e10640a632c882c4b4b252281262b704be90ea5a669e9c
MD5 785c6068f28f8e8ba63cd33de09545c7
BLAKE2b-256 2fb97f54e4e165a0043b4d50917682a86e707ab488379eb1a07b2ecd0eb458e8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: eclipse_zenoh_nightly-0.6.0.dev20220314-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/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.3 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.dev20220314-cp36-abi3-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 d82c652154a16d35f686cfb9482e7da0ac185a090e1ad40e3e10df54bebd8915
MD5 84c01996197561b12c04cd0ab511eee9
BLAKE2b-256 c477d26a726bf44ceb8a3f1920d87ea30a417d6c87864bc74329c9af9bf9ff95

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