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

Uploaded CPython 3.6+Windows x86-64

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

File metadata

File hashes

Hashes for eclipse-zenoh-nightly-0.6.0.dev20220421.tar.gz
Algorithm Hash digest
SHA256 866de71e0ba2d58b0dee8cb2ef9030b774550b5d3f659f4be0cd548dce07d8b9
MD5 7f1f4642c018db6f40b8a75f9ffda75a
BLAKE2b-256 50038f358f78017bc2ba16abe786bcabf3f6a350a3ccdae63b94f173540b3d66

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220421-cp36-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 795eadbb00be4da83e23902db423321f2541570c3f2ded63424e37b4bf8ba4aa
MD5 5a496b5b78fc5fe303bcc8941ac47ee9
BLAKE2b-256 998cb4e7eea622e5954f5bc092c6744ac46609ccf4c0f53666df65b6579462a5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220421-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 86ce38f4a4769f2014043715555ee7972fce4c5313fd3918b4135dc32ae07087
MD5 bc4a642042d5b3c5165409287e36dd3f
BLAKE2b-256 34a306556dc0c5a8c9f68fb5efb5eaa76c438805a34ac588e7a88713a86432eb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220421-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 d4f3ef4b2abccc063b478f7d4189e22d368eece985a51d9a6d8171167c17e427
MD5 8788dffa9ee3c0cf9e864c9adf396fbb
BLAKE2b-256 28a7bb8f39e8b4c86846f2e782df6fe7f57b80d1e2feff751088f810f7dd6143

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220421-cp36-abi3-manylinux_2_12_i686.manylinux2010_i686.whl
Algorithm Hash digest
SHA256 9d5fc8c2de37e45e4114a2391956df6ab4701c76f567c714abef8e35ec851702
MD5 987feef490aeec768362858447382e47
BLAKE2b-256 327201397667dee565d613aa90d0eaf0ca3227f1b7ce88fbf5d10da06491021e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220421-cp36-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 6a0394f098d52bb627a38c66045f4d0a298f5a8fed0ee6ea101d0289b739f0cd
MD5 dade0ed1c974682eb6b6168f277e412d
BLAKE2b-256 d08353324b45d22f48fdd56a6e99cec4bba925e5fa1d058422ca513714a9beaf

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220421-cp36-abi3-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 78f786ebabe91bd5adb2a17f596ae8c622e88bc8013ac9810ab980fb8f483646
MD5 d96ce662b2ee7c9002c38da7ea2d4bfe
BLAKE2b-256 b3702d92bd239d7ccceaec67c367b3783c20535de4e17f719fda09bf8a4bddb9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220421-cp36-abi3-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 2ea7959f806e50c9823442d18d9ad1a2c46c89b41bf408a46a5c3340108d987f
MD5 20891ca1d36d1a0c003ee0d7ede029c4
BLAKE2b-256 f84ff80962543c8a422dd4b747049878156dd7f2a2faae1c931d22a98d340475

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