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

Uploaded CPython 3.6+Windows x86-64

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

File metadata

File hashes

Hashes for eclipse-zenoh-nightly-0.6.0.dev20220419.tar.gz
Algorithm Hash digest
SHA256 418acd29779095b092ba1fa470df6a4aae138210d587d69f1c173e69ef1b4465
MD5 55d4e053e4ebea2f1a28f0fd228ee4bd
BLAKE2b-256 bac2ce160829e88ee4ab8d4aee0208bc61c6deb84bb9579b7e681990ba9b2d36

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220419-cp36-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 6377a86d5cf5ba4bd4536c9e477ada58423f82b014109a68c2df917d8ec308a0
MD5 e04998d3b9dd8100ed050aea77ed5cf2
BLAKE2b-256 40666f673663ded70137a92645526ef66225a2213b23c50e610c54f407c0b3f5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220419-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 a25d5e9fa57b20bb20e5300ff1ae22fe85af8023bb60135001a12f0ca273e997
MD5 c19392885b5666c0c02179f35ddca351
BLAKE2b-256 fa97db9f15656c79208005c930ae8cee6080a437c87c9eb7bd9cb21a47a01aa9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220419-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 e006c2a998e991135ffccd0c69bd50a3f09fa7e3b35058466d02b13a8d3184c8
MD5 e143bafda9edd1d24b40e22735a15979
BLAKE2b-256 87cb076080884248315b25dab49dd210e547ae30d50c96114a0fe4aa47e7957c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220419-cp36-abi3-manylinux_2_12_i686.manylinux2010_i686.whl
Algorithm Hash digest
SHA256 4d85b00b0e3d4af38581af2b3f6f3461a219081eb590660d8bc6091c9e21b930
MD5 c9a5abf7c1353d420c3814232fe09a20
BLAKE2b-256 37d3106dc75d992330337e8e24af70c52f417532cb9d8ad0353d0afb20b0939f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220419-cp36-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 cf5e6fea8724ca50f71772f40461c63149370f0d190900c0313a3ee3979c213c
MD5 b17b328a69f4b46249a851facda855fb
BLAKE2b-256 169542f007b8f5120cae752267581f1788aad3141955c85a753a70f51569cbb7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220419-cp36-abi3-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 06b9e318daf0ce60d337a8ea74e9ec7778b2de71f7d0a1ff72b9b35e401499d6
MD5 23a17b3fd84bcaf6106bc33e516856b8
BLAKE2b-256 64a04e4987a97645e07cb40e0fffcb3724f6d53fdfdc80b7b9d7dd900f910df0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220419-cp36-abi3-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 da0767011b81cef9124f9b6bb31e6b6227a7888b1e1040e256b15c2980702465
MD5 d549c9b4d7fbe09fca2838af8a925896
BLAKE2b-256 de0e4da8bccaf3fd4e4c22138834f5f72b685656f206973d082fb3521da6de2a

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