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

Uploaded CPython 3.6+Windows x86-64

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

File metadata

  • Download URL: eclipse-zenoh-nightly-0.6.0.dev20220307.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/33.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 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.dev20220307.tar.gz
Algorithm Hash digest
SHA256 4df92018fd09148d7fbf7f68f799d9a524c43d2439cc676f088c7bd46f29739c
MD5 9f142dafe38f8374daf63ea6708415cb
BLAKE2b-256 bc497c8ca1f9c1c0a079dc00c134e87b3b90127041292af02a66b2db7cbe345d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: eclipse_zenoh_nightly-0.6.0.dev20220307-cp36-abi3-win_amd64.whl
  • Upload date:
  • Size: 3.7 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/33.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 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.dev20220307-cp36-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 72087ca6a6fd00d4b72a0604975391777422544b244ef45d3d05df40458fd2f9
MD5 a672fb021645689e8023e20a60af5d6a
BLAKE2b-256 c374aa83c8cd11492577adb9f9b156b544c9b49c4614dab4eb042722564aef3c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220307-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 007d844731ffe0c1e06bb43fea362921531592e4a1b8b37a480ac47d67da5b51
MD5 b610db2ea77e3dc3c76f49218dbcba79
BLAKE2b-256 8cdc6556e03d245d4994d058b422fc7f8231dd15d84a997750f878ba6658e9db

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220307-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 7fac8a1617dba2b57b14ddda0a387c5253889b1d9767f13237f0e7f70c843315
MD5 cabc4f86269a4d29a93755ca0cb808c5
BLAKE2b-256 958adb78b2d521a25b8b6915f3f638c134e32ba662eb890ac9a49179aa745580

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220307-cp36-abi3-manylinux_2_12_i686.manylinux2010_i686.whl
Algorithm Hash digest
SHA256 4265eb34101e76e731a3eea9d1be9f3e8c888329fd76ac710ffb31d7e6f1c465
MD5 585c5e12174d5be2792f92dd4c436f15
BLAKE2b-256 3917858dfc9dee252bcf9ee7c64edeaa25a7b584abc039d9619b6974e14992da

See more details on using hashes here.

File details

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

File metadata

  • Download URL: eclipse_zenoh_nightly-0.6.0.dev20220307-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/33.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 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.dev20220307-cp36-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 ee8a9e56db45f313b636cabc2192f6278008410540ba788a8652c2b528e75b94
MD5 341409a5f93494c7c0bea7fbe81cfda4
BLAKE2b-256 df982828c8d7156e2bd38c1d295bedb7c92260c8a86f75846f4448ac658a1ad3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: eclipse_zenoh_nightly-0.6.0.dev20220307-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/33.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 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.dev20220307-cp36-abi3-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 9c847d09678240b5d4a955d838130cb5abd46b04ebbcc6c04622fea2929759fc
MD5 68a49cf41e13da76a99a2b3fbad1821a
BLAKE2b-256 66758e6ba437671f5cb7dd1ee1985344e799cdd37d8b9d98a84f4fdf75d93e96

See more details on using hashes here.

File details

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

File metadata

  • Download URL: eclipse_zenoh_nightly-0.6.0.dev20220307-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/33.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 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.dev20220307-cp36-abi3-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 5cb6f0637484f4bd41c242278d6cd6b9d26e51ea4287630c7c3f695af974fb1d
MD5 334ee1705f768f81dd609d266b954d7e
BLAKE2b-256 29c24e41725f8187c384d9ae3059f21639cf9dd9c6d30c2d55dd15fd8c4c2a23

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