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

Uploaded CPython 3.6+Windows x86-64

eclipse_zenoh_nightly-0.6.0.dev20220404-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.dev20220404-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.dev20220404-cp36-abi3-manylinux_2_12_i686.manylinux2010_i686.whl (7.0 MB view details)

Uploaded CPython 3.6+manylinux: glibc 2.12+ i686

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

File metadata

File hashes

Hashes for eclipse-zenoh-nightly-0.6.0.dev20220404.tar.gz
Algorithm Hash digest
SHA256 e79ef9b456afef1e7824100b379e0eb581f30823a507c8c485ab71f12c117c53
MD5 2734731c6b12c932f0b76d5086e9bb0c
BLAKE2b-256 54a201a6e8c9c8278a0291fd43baf2d31ab63ac77d7bb929a248239e3d25d964

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220404-cp36-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 b82a528d5df19d1cd0e03075e1e50669b0d6abc1e85b97f2483e0924058a6346
MD5 8e9af608d5527ab2f37ee1336a44c969
BLAKE2b-256 d15b354ed325263f101660e859c3d7544ba0b66dffd0332e161bc855731793a3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220404-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 ac50393689b5f8bb112bcaa396be69c930bff02914e55898285be67e36ed7ac9
MD5 eb69d405581ec821785c28d05a1fa160
BLAKE2b-256 9efd77fc0f188746067f2f7394c6064e724aad04bf9b1beb615b7e35abaf1c14

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220404-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 48595c4cdeb351c3b4110557b8f29a6b17c270c9fc5944bcec672a038bdf9205
MD5 7ec4acc83449794f079a4d845d24b355
BLAKE2b-256 3f709daba2dbf3435c194bcb01d7d20228ba0e0ade44ea0458e69e381b550a38

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220404-cp36-abi3-manylinux_2_12_i686.manylinux2010_i686.whl
Algorithm Hash digest
SHA256 9916d6efe2f9c7babbc968f8de80dec85bd190823c8a2304aa6f7bc2ab2c8f59
MD5 a4299ac63677b7ca93f8011bc6f050f8
BLAKE2b-256 94c86e72412791f6e365bcbc92bc6e0b9730d290cae018776055dffc70be3804

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220404-cp36-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 d5840c24754c027f3a4d30371d12a8cd2a63e921300fc8468cfb63c747e0cc00
MD5 45892386f4e4bc6082ce1022d0d84275
BLAKE2b-256 753a7c9ae2f051cf4c71be832aedf80f0c2f4dd23d1878fc5b151bba5e6ca633

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220404-cp36-abi3-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 405f47f247a407c115bcb294b69861255a65907cabf3abaf4972d6f2e4c16f19
MD5 85c8e4be797ddc5c7100fa8692da2a03
BLAKE2b-256 64a6bd25c38f04bfea8c591f1e026c7ea7b2dbfe3a6ae052f4f861ef8993192a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220404-cp36-abi3-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 87b3c1c1b15d7d600503d6549b93c6f4a980c7d53dd9db55175844a23c175aa2
MD5 8682f69d0bd55fa2d64f82570119fe1b
BLAKE2b-256 d40fe40325482b8f266c3ab17b40c054508b76478278af87245cf93d75390b75

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