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
    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.dev20220525.tar.gz (51.3 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.dev20220525-cp36-abi3-win_amd64.whl (4.7 MB view details)

Uploaded CPython 3.6+Windows x86-64

eclipse_zenoh_nightly-0.6.0.dev20220525-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (7.1 MB view details)

Uploaded CPython 3.6+manylinux: glibc 2.17+ ARM64

eclipse_zenoh_nightly-0.6.0.dev20220525-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (7.2 MB view details)

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

eclipse_zenoh_nightly-0.6.0.dev20220525-cp36-abi3-manylinux_2_12_i686.manylinux2010_i686.whl (7.6 MB view details)

Uploaded CPython 3.6+manylinux: glibc 2.12+ i686

eclipse_zenoh_nightly-0.6.0.dev20220525-cp36-abi3-macosx_11_0_arm64.whl (4.7 MB view details)

Uploaded CPython 3.6+macOS 11.0+ ARM64

eclipse_zenoh_nightly-0.6.0.dev20220525-cp36-abi3-macosx_10_9_x86_64.whl (5.0 MB view details)

Uploaded CPython 3.6+macOS 10.9+ x86-64

eclipse_zenoh_nightly-0.6.0.dev20220525-cp36-abi3-macosx_10_9_universal2.whl (9.7 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.dev20220525.tar.gz.

File metadata

File hashes

Hashes for eclipse-zenoh-nightly-0.6.0.dev20220525.tar.gz
Algorithm Hash digest
SHA256 0a5491e051e2285de83085baed08d5bc0c3e374b0997626c150c254a74b831f9
MD5 c9f1536454d89ff7d5ccc45eee68dbb5
BLAKE2b-256 1b73fe18e5594bd20e188e40ee3b18f9e3d128893570d78b1dd7c07dee9fd767

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220525-cp36-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 14809afd353d4396c435732e0564f5d99bffd33219fb90622d3102e12ff0fb1d
MD5 582a79852ae2fb187098fe8777cfca69
BLAKE2b-256 a0c427146d145f39ea5a09bbe6011003535940cd649cf5a5936354b1d9703aff

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220525-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 7bcada82e3365fb08dd9db33a4a56c6c1b7893ead90588a7bc646a156b43b98c
MD5 39b71a4fcf0fa0aeca72afb52c30f4ef
BLAKE2b-256 38b321f159e80e2a2bc9fae8f2a22b19434d9bbe0269777306a545cea22e41d5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220525-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 e5ed49dbfd6bba34ba63eff26fb1db5172dabaf813c43b13e8a322f3110517e6
MD5 5d6fbe603be7590897208c9483d78314
BLAKE2b-256 72a1dad23f837f77bbe3c3f27a13896fd773e1b88ffddf937d8c240e9428e573

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220525-cp36-abi3-manylinux_2_12_i686.manylinux2010_i686.whl
Algorithm Hash digest
SHA256 4dc2a6d08a93462cdece681568121bd00ae2fffa7a7cec037a4056c6099bc65e
MD5 c3826e6dcebd0a354c6e7965c0df7e2b
BLAKE2b-256 03a94c93bf08abd4e001b9c18cbc6536c789b00501da40d2ee600494f58d2da6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220525-cp36-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 d99990f5479265e84a68fc9460aabf41a265f94da7dca854dff0692f2688d20c
MD5 af693db84c4747561411c24824690f12
BLAKE2b-256 40a492986087e632504e7da9b9ad215f1e4ed622db53666571114bd5b2fb788a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220525-cp36-abi3-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 eb951ba0f0e480de690904feb8d9358fd8762e49cafb58df69253f0c7bb014cc
MD5 0b98568dc40bcce0a29c6477cd049d82
BLAKE2b-256 09caeae07a61543377bd9fe0298d724d0a133f5a8e44b5ebe749a23bf0284545

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220525-cp36-abi3-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 5657fa21ac31aba5af427dfca3784d5a00336573b5b566426b5bbe686e8906da
MD5 7b56f7b9815b23755826addd1f155adf
BLAKE2b-256 e8a64dc91d52601bac8f11d813140939898659f4912c6be830da4154424e4c99

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