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
    
  • Ensure your system can find the building tool maturin. For example, it is placed at $HOME/.local/bin/maturin by default on Ubuntu 20.04.

    export PATH="$HOME/.local/bin:$PATH"
    
  • Build zenoh-python

    maturin build --release
    

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

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_dev20220718.tar.gz (107.5 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_dev20220718-cp37-abi3-win_amd64.whl (4.6 MB view details)

Uploaded CPython 3.7+Windows x86-64

eclipse_zenoh_nightly-0.6.0_dev20220718-cp37-abi3-win32.whl (4.2 MB view details)

Uploaded CPython 3.7+Windows x86

eclipse_zenoh_nightly-0.6.0_dev20220718-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl (6.9 MB view details)

Uploaded CPython 3.7+manylinux: glibc 2.17+ ARMv7l

eclipse_zenoh_nightly-0.6.0_dev20220718-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (7.2 MB view details)

Uploaded CPython 3.7+manylinux: glibc 2.17+ ARM64

eclipse_zenoh_nightly-0.6.0_dev20220718-cp37-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (7.2 MB view details)

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

eclipse_zenoh_nightly-0.6.0_dev20220718-cp37-abi3-manylinux_2_12_i686.manylinux2010_i686.whl (7.6 MB view details)

Uploaded CPython 3.7+manylinux: glibc 2.12+ i686

eclipse_zenoh_nightly-0.6.0_dev20220718-cp37-abi3-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl (10.2 MB view details)

Uploaded CPython 3.7+macOS 10.9+ universal2 (ARM64, x86-64)macOS 10.9+ x86-64macOS 11.0+ ARM64

eclipse_zenoh_nightly-0.6.0_dev20220718-cp37-abi3-macosx_10_7_x86_64.whl (5.3 MB view details)

Uploaded CPython 3.7+macOS 10.7+ x86-64

File details

Details for the file eclipse_zenoh_nightly-0.6.0_dev20220718.tar.gz.

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220718.tar.gz
Algorithm Hash digest
SHA256 adef3706c52776b07baed1c1b7a75abe7be04a9bfb24a511bea12f4a86bf79cc
MD5 9bc637c6facee760c9201b5413ffde8e
BLAKE2b-256 4500a1de09610e56f0c352f3de294857673ca1ddde5655c79f342c9de2a7c3ac

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0_dev20220718-cp37-abi3-win_amd64.whl.

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220718-cp37-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 2fbb074abda9032b95b387eb02ec9dfdd7adc70b389c3111945e476bda13e37b
MD5 e687a819a652c47a53ef2e02bad1681f
BLAKE2b-256 131167fcad405639e2df37417c2f37881d8b03d5434e9539fc30e0868a7d60cd

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0_dev20220718-cp37-abi3-win32.whl.

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220718-cp37-abi3-win32.whl
Algorithm Hash digest
SHA256 205093641bb0756a6a2a1cfec40f058a2b69f85444961a1ee5610f8d232c0b23
MD5 ea0f345e47cc656b1a8a2d0bb2911d0c
BLAKE2b-256 18403871dd1129886171d28f13ed4e238c54689c87261a9b9a951d3965cc197e

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0_dev20220718-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl.

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220718-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm Hash digest
SHA256 a66cf345384b0f7e2158896a476e7fa03b751acd5ddaed78805b98821799dbdf
MD5 16850b62e49e5e88d017cec2269d43ba
BLAKE2b-256 6a682a50a283c179dcaa5abcac2603e82968c170ba2c485a8fba1e963d860413

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0_dev20220718-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220718-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 c732938e1e159828243f76c3ba743923c2cd77c365ebad13636b5792d6b6e26f
MD5 fe4c75c437e59626bc4a5076ac410d5c
BLAKE2b-256 5d6055c59a1970519fd1504153f914d2bf89ca4fa49de60574aafbf2721c076c

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0_dev20220718-cp37-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl.

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220718-cp37-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 be41fadd82dd4baacbf284d9757f33b2b5cb86c67eb824de704c7af19a9cc81a
MD5 ff4c8d0680d6d0fe485772effc24c65d
BLAKE2b-256 929b8bc6e293aa9fe1bd5388b02f8da50d1ae16a34924a386ed797755300dbca

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0_dev20220718-cp37-abi3-manylinux_2_12_i686.manylinux2010_i686.whl.

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220718-cp37-abi3-manylinux_2_12_i686.manylinux2010_i686.whl
Algorithm Hash digest
SHA256 771d6028b15c07164a1723d84aabd1c6dc14b7583019973b47e784bc55adb4ef
MD5 ebfcd4c1586d281068afd59268396b28
BLAKE2b-256 8152fc871e06c065d8a4f03b93523c1150593796489f328c167b70fd638a8a82

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0_dev20220718-cp37-abi3-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl.

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220718-cp37-abi3-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 2b14fadbeb304a35cb4a56495a49755ac6e6489f4ab7655942783ec13243997f
MD5 a308f72203a832fe530f45cd821ede98
BLAKE2b-256 0f04d4e28b3fc0ea8523f601b655e260dde543e4ba38f8b5069ca2b74ad944cf

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0_dev20220718-cp37-abi3-macosx_10_7_x86_64.whl.

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220718-cp37-abi3-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 b50dfe5f00191cc5d7111fdf7026132c1bd486e01fc9cba61b0c289aae7ee851
MD5 07de563008a9ce97b53aaee97aa87355
BLAKE2b-256 966ffba20aff44711a8a764030cf1cef12e4555fad0727c5e5ad0d5f6d22b58e

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