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

Uploaded CPython 3.6+Windows x86-64

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

File metadata

File hashes

Hashes for eclipse-zenoh-nightly-0.6.0.dev20220510.tar.gz
Algorithm Hash digest
SHA256 01889741d67316914b80efe7add463e7c578e77fccf423d8c066fc50d7fafeb6
MD5 34a7449ed933803416b69c351c14f35d
BLAKE2b-256 c801ffddef66a36ebb07f65b46c4b21cdbecec9b0d1983d715dc375dbc57dfba

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220510-cp36-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 e1d5c3e70b2458a54a31ccb15266b13344cde7dbc094f77917dd386e7ae1224c
MD5 7121b0758844f8cd5d7bb693123318bd
BLAKE2b-256 969cdc7451ae240dee3f79a58acdeb4e2d6cf574e57da8fe344c61025492c135

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220510-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 c04a7519de468a9d6d3f08da36cfe220e44ac87ae838899c2374f9ac382b391c
MD5 73a6b4f59bcd94c652840bd830b6842e
BLAKE2b-256 845929cca90bab38d29a15fd1bcacd2116f471b339b86def078cc06c1db63804

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220510-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 2397e5dd1dc05f1a60c9672abc880b3b37a9faa320c942ea08dea2dd2667a066
MD5 b4ae76a6df1a26070e6e279fe23d8337
BLAKE2b-256 9722f8c495e764900826f734c614471e7d50cd515714a63c35f2bdf36d8e445e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220510-cp36-abi3-manylinux_2_12_i686.manylinux2010_i686.whl
Algorithm Hash digest
SHA256 07543cac1178d8a49fb62e0ea36a41cf25f2702216eb72a558dd5dcde1b84777
MD5 17c419bae1f95f6817d6a80788314ca5
BLAKE2b-256 f2c45fc06531e22ba63a4c3620f4511fd1146163e168c2ab084215bae4fbe5f3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220510-cp36-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 20e1d0fa7ef0602a24753884823b9cfb5857f2b41083d88497040faaf2c69e91
MD5 47e662a20cbe2ac96083912a2914478f
BLAKE2b-256 519c4389f2f887a468aa6a2bcc571e441cc17e44b4e0f2a38bd2a62ad5b65257

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220510-cp36-abi3-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 15f4d54696396918a723d5d2e0280d363193a9d85a7ddd2c8d74419c0b03a824
MD5 5dfa2bcd33cd2d3f5b85b496d973e6e0
BLAKE2b-256 3b3048c0971c8f4dd952b00b896642f182fb2e8db4b97cde6c0b7af0423b3d41

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220510-cp36-abi3-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 24e3fbe6aa70c3c9aa2f72f8910b953d3cf68c51f21ff86bbe7b969f8afe6a99
MD5 92a6531709074a5b2ffd8ecab5eacbe4
BLAKE2b-256 81d40ade003533098436ebd79ac7ce2bc6234958b8f5475e99fc7ba7aee5560d

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