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

Uploaded CPython 3.6+Windows x86-64

eclipse_zenoh_nightly-0.6.0.dev20220527-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.dev20220527-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.dev20220527-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.dev20220527-cp36-abi3-macosx_11_0_arm64.whl (5.0 MB view details)

Uploaded CPython 3.6+macOS 11.0+ ARM64

eclipse_zenoh_nightly-0.6.0.dev20220527-cp36-abi3-macosx_10_9_x86_64.whl (5.3 MB view details)

Uploaded CPython 3.6+macOS 10.9+ x86-64

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

File metadata

File hashes

Hashes for eclipse-zenoh-nightly-0.6.0.dev20220527.tar.gz
Algorithm Hash digest
SHA256 144ebd6d202c31d4d3ea7fb0d3adc907fd92468a5099de068d1c9d78801766ec
MD5 4c8e81b94d48f7b4011cea0511cfbb83
BLAKE2b-256 3702b73835a2e307eb2227eaa5edec86128d28056c80ee9595c07aaf58cf9ea7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220527-cp36-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 703dfaa0d6fde91fb3c1e8481f55a5d6f0d0dfd02494532068987a8ee5b5e3d0
MD5 e9734dffc815d09c3fc1a5b6052fd987
BLAKE2b-256 601246d8ed46305f852503ddc7759e58042291c6da13f489dc399ce748961cc7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220527-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 194684eb8ca7c55c03559663f0915db9d13aafe765351a29036cd1383ab3b27c
MD5 fcfe54a75becac9ae210de0f0676e40e
BLAKE2b-256 dca81aa8e267c95d9dd4f4f675cebea1cd3723bb3b082e3602a7c0371a8f9f31

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220527-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 8359adfe0444efd2dd6abc09ee08884e13df2f2b87892c9df156c7a99ff1deb3
MD5 d11c250fad5147b14fcb2c62d239ad1d
BLAKE2b-256 f78e0298f98024fb7d77b35820b6a562dc6dba5c50ba69c10519ddcb2a6b005c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220527-cp36-abi3-manylinux_2_12_i686.manylinux2010_i686.whl
Algorithm Hash digest
SHA256 b8f69ce6ab0c1b2b6dde0a6052f47cfc5f5b773cab0a15d43f54b4d25ff7a385
MD5 4c0b41494e8c314f202474a86938afe4
BLAKE2b-256 e92d5a4d5c2e779e7c4230593ec84916958fe03cf22b312ab530e98a215f3555

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220527-cp36-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 a82010b6fccaeb51f3881b919f1be677c0f3959a6b377cf8d3008806fab38448
MD5 92e50bcc94b31947bf9d8c98d23971a3
BLAKE2b-256 cc78beedc31c9cd7d1e96ea8fbbd47322e3b821adf37edcfa468c980ff4a9191

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220527-cp36-abi3-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 d033644cb5ef821e65251841f3f175d3e3767ad20c61f10a3039107fb0aca941
MD5 069dfed8b84315525706465f37efac61
BLAKE2b-256 b5e294b2fb011045229de8958dfe5545d22cd389aa78c7b9cecb008e592ab9c7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220527-cp36-abi3-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 6578a1615503d8e34db80d37236e0e2cd82899531385f617b33d1d4f9f603fe5
MD5 0f6ac86b88a4b08b7735c7df71f4b1a6
BLAKE2b-256 e84547d6a05637864767821188a90bdb4f4f13593f1e1938327d0780e2424968

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