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

Uploaded CPython 3.6+Windows x86-64

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

File metadata

File hashes

Hashes for eclipse-zenoh-nightly-0.6.0.dev20220511.tar.gz
Algorithm Hash digest
SHA256 d0e255e22c71aa42365c44fa59a958eae175c4ee04c27438b3bc38099e3c9a77
MD5 15ce578cff8b0b17f6e749c2e10aca16
BLAKE2b-256 d1df5fc7fa975628978c633ce2c777b9370a8ea62089c68e52fb86b0d60c8260

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220511-cp36-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 ed188471c379ed5112ff7a0d2a32c18cbd7b10feaa9df09204cd8c9946ffd37f
MD5 e295c55fa0bc8bcff8d38dc970658a07
BLAKE2b-256 76b246358d03433a5bb984431bb1a747d134fa29615d42c109a94563575f36c3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220511-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 aa6458dd4220cfaa1e4154ec378ef3f2c336a4daad7d7de0322ff3e293046d32
MD5 95ab496d83dd17fe693cfec24ccf55bc
BLAKE2b-256 0b7c4403a2170b75a1fb4569f1d2b07f30a6f5f1c674f32a4bb90aaafebe2f6c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220511-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 fb4edb3b00acd6c4e14d43898ae02937a3a96a63e8be6ce651bf16e39ecbb7a9
MD5 6ea4a3f99a81ff796dc49ed29eac9014
BLAKE2b-256 2731bac9e66e9325106e6a95751900f40aa1d0908a0cd76478a9f2de2f578b6b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220511-cp36-abi3-manylinux_2_12_i686.manylinux2010_i686.whl
Algorithm Hash digest
SHA256 8aabb2736df2586688b287d743d5765fde1ffac95c0f38874f32f6f432ebc4d2
MD5 413174f20dd06df6bcdfd34c001225d3
BLAKE2b-256 55f267b88814a602e2f8420ca0b736670aa7f429b668bf783a4dd8579c37e70c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220511-cp36-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 003a91d739a51953e4fd309d2502b60f608b3212e58b48f8975b9378fecc66c5
MD5 bcd1fe5624b0bd94e734c5b496f0eea9
BLAKE2b-256 b7b3ce1c193d85fc9dda419b8501209db91e27def79ffd01a3bac39862c72840

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220511-cp36-abi3-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 ef6c60d10fb15def96dfa84aaaefd3655f0abffa96866a378ec3ad5a5cddc829
MD5 84d6067e07d0e604c2587291ed77f2d1
BLAKE2b-256 6e3279ebb5fee01d2c20aedfe6a5aaf438b4525fa43d4881fea34c88c2a0cc21

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220511-cp36-abi3-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 b1cf7c5d8c9c8220864b4ab31051d6c086268c7ce288382468771636555db61e
MD5 55c7429d234e2fb9b20ccf87dd601960
BLAKE2b-256 2aba4435246b2e0efd580278b3d1106432bf8c19ae18855d5e23b0b4f85def4f

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