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.


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

Uploaded CPython 3.6+Windows x86-64

eclipse_zenoh_nightly-0.6.0.dev20220509-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (6.7 MB view details)

Uploaded CPython 3.6+manylinux: glibc 2.17+ ARM64

eclipse_zenoh_nightly-0.6.0.dev20220509-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (6.7 MB view details)

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

eclipse_zenoh_nightly-0.6.0.dev20220509-cp36-abi3-manylinux_2_12_i686.manylinux2010_i686.whl (7.1 MB view details)

Uploaded CPython 3.6+manylinux: glibc 2.12+ i686

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

File metadata

File hashes

Hashes for eclipse-zenoh-nightly-0.6.0.dev20220509.tar.gz
Algorithm Hash digest
SHA256 633c41da45d4875269b32546d02b62db0adbb36d53d3ee500c5752b57375c403
MD5 756eb921be390968a4c8ba97b0f1ca76
BLAKE2b-256 9af1015bc6e653724e3e8f295d3564cbe8871d1a06e471106b1c2388318dc0af

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220509-cp36-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 1b39b620c479dd02cc1203c84b6ef7176c2969cbdd1714d9fdf8373594532d9c
MD5 bc1f0a500ec0f3d5ed1232492da86b1d
BLAKE2b-256 92f3240b0216143ba1f304c03cefffe2279edd4c217009c887e28f7c93d29aee

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220509-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 aa9112bacd5f6b0843f54986a093ee3d8e335d9a91f4103e520b8ebfd8dfa842
MD5 cf5f3e8d0f5a09988e61ad24ad0f3897
BLAKE2b-256 193811fff04e29e11c2788d8bd3d5b6b1bf622fcc2000392d78b0f0303cc1d8c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220509-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 85bceef533e935f1667e6e4af4052cce3f285448030f990b2b7467038c398aa5
MD5 729ecdfeeb59808482cfe1c70785669f
BLAKE2b-256 0f98188726a3216b919630962e25d2022f581b4dadf420c2646965f47e25377e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220509-cp36-abi3-manylinux_2_12_i686.manylinux2010_i686.whl
Algorithm Hash digest
SHA256 68a3ffdb59618f0244b592e891a1889c43377c2776b10f0be8f55f0e389b4ab3
MD5 efb6d53d156427ccb067e5ec867a9543
BLAKE2b-256 b9619180750964e24338feb9d36202b03096bc9951f67edfb2bfd0207e3c44e3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220509-cp36-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 43d014eebc434e341055edc536c030243caea60fb59dc4aaa98ff3eec40f9a5f
MD5 12e43dfa3bfd9ca8d440fcc199419877
BLAKE2b-256 6e47372fd7fad5c1b0950c1f39f0f8f3e71382ade4323854c376b6fd380c3f3a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220509-cp36-abi3-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 bc6b8a21c923178d08fa2252f046e6fe1f8a6dabc6490a2bfb60b3ff304d8dae
MD5 04d662b7bcee40cf8ebc512477832e5b
BLAKE2b-256 5845f1b90df0fec1a3e6477dd3e8ecd6af0179ab7c57c73cefc166a43d75334e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220509-cp36-abi3-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 40182ee1faa66074b5c92ddb5e5df246ee1ec2ff98d6a24535c6d9d83037a38a
MD5 730276d1a4c3a80ba4adba61270855b9
BLAKE2b-256 d29871aa3f1a3698f86cb030b975548dfc7d47e67d28640adb636eb8dc0976c0

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