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

zenoh banner

CI Documentation Status Gitter 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.dev20220401.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.dev20220401-cp36-abi3-win_amd64.whl (4.4 MB view details)

Uploaded CPython 3.6+Windows x86-64

eclipse_zenoh_nightly-0.6.0.dev20220401-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (6.5 MB view details)

Uploaded CPython 3.6+manylinux: glibc 2.17+ ARM64

eclipse_zenoh_nightly-0.6.0.dev20220401-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (6.6 MB view details)

Uploaded CPython 3.6+manylinux: glibc 2.12+ x86-64

eclipse_zenoh_nightly-0.6.0.dev20220401-cp36-abi3-manylinux_2_12_i686.manylinux2010_i686.whl (7.0 MB view details)

Uploaded CPython 3.6+manylinux: glibc 2.12+ i686

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

File metadata

File hashes

Hashes for eclipse-zenoh-nightly-0.6.0.dev20220401.tar.gz
Algorithm Hash digest
SHA256 67852ad7d036390e6faa1027fb2e78c520b5997af4124a2e753480ddfb46badc
MD5 3f4eb85dcceb40447e47d0c4b0899cba
BLAKE2b-256 c84cc04a3e05890439e967d9720d2a9a3fe8dc9215b2fa11fc4ae1cf681c87fd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220401-cp36-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 181420801d192d5fde4c7181f5ad2960e26281f3d51dd339b27870ba2fbb23d6
MD5 9b7f97ecf838f36e03c72413d2131e73
BLAKE2b-256 a81d4f8b9285e90b47b114c8d5a445c020a407446045f2ec4bcea670d563aab4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220401-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 e3248f6e9aaee6492ee622c02aa64d171f6d68a08bd8b2db0234f6eab6c0f30b
MD5 c415ca993d146424ebfd29641ebe0637
BLAKE2b-256 15f1c6a886c2ba3f7f8ebd9f3981b7c188f8a467f41cebe75550c31a1d436df0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220401-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 055347be2d539722111bdc60747c24f3d049ad99b6c753a843a4c865e06082db
MD5 20591d23391a66052ea458cd592485be
BLAKE2b-256 69321c58736b0581ff682e66a1cd2c1de9c6c5b63c7642c441500fd9180a56f8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220401-cp36-abi3-manylinux_2_12_i686.manylinux2010_i686.whl
Algorithm Hash digest
SHA256 4bafc9d554e1a056225de29aee0543fe47012cdaf2d5c735629b3af906d32553
MD5 fed26b3a00e192b58fb93c48204ee9eb
BLAKE2b-256 105807a990ea055a307e4eed01cdb8791f8c7f23a72c9e8ae11d0f820445c1b5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220401-cp36-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 bd22d568f322f31a8166007a492466b70d6988a8726b51f2e0f56cebc6404cd5
MD5 db49073bb66be975821dedc510809714
BLAKE2b-256 2a663264cd7de8b8b8ddfff005ad7e48d391c1f317465a223315e24add2a1f05

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220401-cp36-abi3-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 064df72bfc82b2d30d27770a10d7f83f261e6bbb96734359bf15b655a7edc7dd
MD5 44f3b2f8ecad632cf387738f6547c648
BLAKE2b-256 8749b445c411790a52827c16f2d71c6d366f2eb268ef0be4c91a3b68b3a5ae8c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220401-cp36-abi3-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 8b7f77903f93f77428020d873cfe0bc28d15c03748623d3563c4a71b32b9e241
MD5 77afec56bce946f2bea597d7fd28a1ee
BLAKE2b-256 af7be5f3bba280282bbfc47bd98d51988a6772c9b98d54a85f60a2e0178794e3

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