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

Uploaded CPython 3.6+Windows x86-64

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

File metadata

File hashes

Hashes for eclipse-zenoh-nightly-0.6.0.dev20220412.tar.gz
Algorithm Hash digest
SHA256 962623376aa675d6f1b07e0a2a4feade93cd8a757f39715ad02412f14a03a675
MD5 bb886bba95afd97b3df76388a57147b5
BLAKE2b-256 2cd78b8ba16508a174dc6782519ff624eef32c4c89859260a63af4120b0700a0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220412-cp36-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 37e07c15c38e6dd27d4e117ece431c1c7c33032854a9e61f7e28a98b7dd61a3d
MD5 aaf69ed25117ed30c6de5c7dc87f7586
BLAKE2b-256 7831988d0ea1c19867f657f7530390e302d057a29270550cb37159c21e1b9ec3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220412-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 cde671e05467767bed1178b42d7839031b0ed78db93dc7eed10719f5de084a35
MD5 267e21259e4d9372578e477870374150
BLAKE2b-256 a6850067f16477a2ec33e4c095799b1abf240d2c436d91d9b42df3fec034a0ea

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220412-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 07d4344e315e49e5635e02febee840c17445475824d370fc92f2b06dc7a5a24d
MD5 23ebe24daa6ae28dbfc97a72237eb344
BLAKE2b-256 ee29e29071db83ce5edc1076519bdb1be18815e5668de3cba8e00e45c67a330f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220412-cp36-abi3-manylinux_2_12_i686.manylinux2010_i686.whl
Algorithm Hash digest
SHA256 6ab2ed664752fbb9e5f32af16598bca5519ce0f238e81240fcafb89eb3cc04d9
MD5 edfba760d3a336f7a5e41d28c038f043
BLAKE2b-256 b12f1444e8eb319184e562e49f94fcdb99a61ffaf9bd817e9cbbfebffca45e7a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220412-cp36-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 2f5da4d0ad0a482cdf75b4884d30b1c83f88d9d1df90fff67b4e9e5ca106d678
MD5 57f63828d373b75b66713359a324952f
BLAKE2b-256 5a2447a4cecaafbc866583a2796e40a3a9da4507776bcdfcc00cb14c8a206830

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220412-cp36-abi3-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 5d950456f5553419f0b594183a3dfac75d3a6cf7f22f7e937258f974ca4ec8d6
MD5 501e2018cc8d8694c929b7d2ff3ffae5
BLAKE2b-256 94134487021c4e53ca2623a95cd388c22b8ab9c6818a41ef765e6fdbf95f884d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220412-cp36-abi3-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 df8f1ec9eb8d2100994905771a4760fa2797f1aa692da32bd3e0eddecc5eea2d
MD5 23d63e93e95c729a5d2505863248486c
BLAKE2b-256 c7a8d1fa011f10c44d430420d7e0a02e35cb5af84ed0c7fd65b23393743c16ec

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