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

Uploaded CPython 3.6+Windows x86-64

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

File metadata

  • Download URL: eclipse-zenoh-nightly-0.6.0.dev20220330.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.dev20220330.tar.gz
Algorithm Hash digest
SHA256 ce02e2cb3487ad340ba2837d721d8d7ee045fc2556595303c3cf6afb996e9451
MD5 3d91057c2365d465fe289d82c5a95566
BLAKE2b-256 3fef7727d6c0d7fc92bd628b9ec433685668e22c80acefe9774dca3d434bc1ce

See more details on using hashes here.

File details

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

File metadata

  • Download URL: eclipse_zenoh_nightly-0.6.0.dev20220330-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.dev20220330-cp36-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 98b9bf5a168c98eaffc319fcc0969da0d2c23a4b0cca9ffe10615ba0166826b4
MD5 2b4726c396e5b0b62570597f3461b25c
BLAKE2b-256 6cb69a082de7387a581a09f10d848c3b07b54340c6c91d84871101d5f3d5ce7f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220330-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 d53e93bb71945951daa4b6846c780684fd1f3502b2b5a177dd1bdb67a39cac16
MD5 aa7f847a074f94370cb906f1958d24d5
BLAKE2b-256 38307cc968b9900816803a2c8c4184f012646aeb7f8c1ddac8743bd57de9b9f4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220330-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 9587df8642af7fbcde68ad95ad8ca1a4f440759fbf54da133082e4438c523ba3
MD5 1643b0b01f3b995b1b64896add578255
BLAKE2b-256 615afab583c6dee13ea507efeca2bfda7598149a19b73c9c499dd6c27939e21c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220330-cp36-abi3-manylinux_2_12_i686.manylinux2010_i686.whl
Algorithm Hash digest
SHA256 3f6b37c650b6b5ff0f3dc3e174805e4623acb966faaf46e7c70f5a401bd8651f
MD5 dc4ef9d204d2018d9dfc7a79a5d6f40c
BLAKE2b-256 5026d195079718bcd2bd7850e7b3b1874e89df46c983efe9406aff52f132225a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: eclipse_zenoh_nightly-0.6.0.dev20220330-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.dev20220330-cp36-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 365d1e27e8712eae104e59abbb8354223d66bdf66bb00787fb62041c841189d9
MD5 351fb5b7998ba8c5f9376ab64c96ce5a
BLAKE2b-256 ecc6352538bee61066dc80a6971378f2fe44728eb6cc82948dda1be12e8839f7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: eclipse_zenoh_nightly-0.6.0.dev20220330-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.dev20220330-cp36-abi3-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 3e7fc2256067093216137e1f263c234f0f2af1ebec860ce04ece32fc1bf9cd6f
MD5 a7ed534b1993a8e0bdc3433fca7f65bf
BLAKE2b-256 7367d44ab143f6257802cdea53d6a5c8395b05371432cb2160ce413a2d07f917

See more details on using hashes here.

File details

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

File metadata

  • Download URL: eclipse_zenoh_nightly-0.6.0.dev20220330-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.dev20220330-cp36-abi3-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 e3c866a3d9b3b1782e36888c1c9ba54c2cad489a8443f469527f8475da723e08
MD5 361b9f8ab49687940e0780186ed7cf10
BLAKE2b-256 340a8d7e34d80c35050dbacdfe732805877dcc55757942f166a7bf9cbbc7ba3b

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