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

CI Documentation Status Discussion Discord 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.

Check the website zenoh.io and the roadmap for more detailed information.


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
    maturin build --release
    

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

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_dev20220609.tar.gz (107.1 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_dev20220609-cp37-abi3-win_amd64.whl (4.6 MB view details)

Uploaded CPython 3.7+Windows x86-64

eclipse_zenoh_nightly-0.6.0_dev20220609-cp37-abi3-win32.whl (4.2 MB view details)

Uploaded CPython 3.7+Windows x86

eclipse_zenoh_nightly-0.6.0_dev20220609-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl (6.9 MB view details)

Uploaded CPython 3.7+manylinux: glibc 2.17+ ARMv7l

eclipse_zenoh_nightly-0.6.0_dev20220609-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (7.1 MB view details)

Uploaded CPython 3.7+manylinux: glibc 2.17+ ARM64

eclipse_zenoh_nightly-0.6.0_dev20220609-cp37-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (7.2 MB view details)

Uploaded CPython 3.7+manylinux: glibc 2.12+ x86-64

eclipse_zenoh_nightly-0.6.0_dev20220609-cp37-abi3-manylinux_2_12_i686.manylinux2010_i686.whl (7.6 MB view details)

Uploaded CPython 3.7+manylinux: glibc 2.12+ i686

eclipse_zenoh_nightly-0.6.0_dev20220609-cp37-abi3-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl (10.2 MB view details)

Uploaded CPython 3.7+macOS 10.9+ universal2 (ARM64, x86-64)macOS 10.9+ x86-64macOS 11.0+ ARM64

eclipse_zenoh_nightly-0.6.0_dev20220609-cp37-abi3-macosx_10_7_x86_64.whl (5.3 MB view details)

Uploaded CPython 3.7+macOS 10.7+ x86-64

File details

Details for the file eclipse_zenoh_nightly-0.6.0_dev20220609.tar.gz.

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220609.tar.gz
Algorithm Hash digest
SHA256 2feb05b4e9b16ce92779b63436a8095cab8c8879e8df82b36451cd0f8def3419
MD5 1f979ad43f4e3dd5fc3a44e5a23f7aef
BLAKE2b-256 4addfd001d25e00488cdfae7d64b11308b94f03b63af39e641bd88b78ac9e11d

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0_dev20220609-cp37-abi3-win_amd64.whl.

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220609-cp37-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 da7174888502627d97603c98dc6fdea9910b0814c9374c029bdee1fa1852903c
MD5 8f439bdfde6e41386154c79b72586292
BLAKE2b-256 be3a7e568f60040ea1d890cdcdcd9c1b39e5c6a838ddeaff1902cfb3f944ad1a

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0_dev20220609-cp37-abi3-win32.whl.

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220609-cp37-abi3-win32.whl
Algorithm Hash digest
SHA256 45390e6a642d464a69cb45f2324c768e09dd8132c2cbb21510901ab9d888a90e
MD5 ea64f4af3e97a31591c6c2ff19b3c8a5
BLAKE2b-256 216b86f25dc98e07fb56b0dcf4c8679da3d5c1835d30bb8c4cdc6c30ecd8d1ee

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0_dev20220609-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl.

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220609-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm Hash digest
SHA256 316e3476af6513c10e0a26e4ef06cf62706f8b686e16ce2f4dfcb61fdcb95d78
MD5 5d5d24eb25b3adfc3988a8d26e00f900
BLAKE2b-256 32c47cffbb82d175f724084bc11938f04b3d7eb6cf6f64ae9d9c0f2868b9ba4a

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0_dev20220609-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220609-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 b3771a25ae56d90fd0edf6b023e2c0ae02cee3d352b7922c9ad2decbb01da8af
MD5 69ad5d116de1f81ff2d63403718e0962
BLAKE2b-256 f75cdb55d0ca8e57014103434da907685bd394cf469ad7df40404be2295aab38

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0_dev20220609-cp37-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl.

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220609-cp37-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 8da50d2c932d0253593013144654b8d9ffc50d96cccbbccaebd01ab021b4a735
MD5 1b0b1e194e15c9b999a76148580426d2
BLAKE2b-256 e333fffde4c802ac337467c652d3d177142da6defd0c521906c9856d7b90f9b4

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0_dev20220609-cp37-abi3-manylinux_2_12_i686.manylinux2010_i686.whl.

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220609-cp37-abi3-manylinux_2_12_i686.manylinux2010_i686.whl
Algorithm Hash digest
SHA256 31c144d95ad97ccf428e080629b0a91ef8422a65c4b51b518ff93f01d03e7a44
MD5 0ee4d489be0cc2d687ba75952073e43b
BLAKE2b-256 c66c7c98b823f9e381ad1cb8df7534a1162d76ddafaa3d8bad85f7ab68006a8b

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0_dev20220609-cp37-abi3-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl.

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220609-cp37-abi3-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 857f4a716bb1606058bf263cacdb5914f8ecce12d1696b8e4a2fad9c4f581b0e
MD5 808f54facf0e79479604ddb687566467
BLAKE2b-256 a0e2200b962084da918a45e4036f8058e178074c736f245f8bd69193a188b34a

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0_dev20220609-cp37-abi3-macosx_10_7_x86_64.whl.

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220609-cp37-abi3-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 52d401e893afdb079fb9352374a589a30254fd1e7077d607a1545ddd3589611f
MD5 a0ba77bd269b5ba79c22b93b24af483b
BLAKE2b-256 2d9cb55b608eee05953f6123eb2b9a98f7c00629b9f21fae4ab7d489bf03a1da

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