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

Uploaded CPython 3.7+Windows x86-64

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

Uploaded CPython 3.7+Windows x86

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220711.tar.gz
Algorithm Hash digest
SHA256 5f15123316f8a00277b9f98a9531c3c056dab6fc125777f6c7f0055d3a09a3d4
MD5 14a6a3b406b192f15e209182d0ed2490
BLAKE2b-256 2958ed5216db935cdeb127480736344b3c616f4e0d996b0b8f221de034a2e661

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220711-cp37-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 82195315a9e857065daf01e995440e7dd059637eda8a4b358dffb695668dda3c
MD5 e28d3190d6b042b3b7534c2a56e79ee3
BLAKE2b-256 80b823d64d17d84c5e5f85526e54e751a949ae0493dabaf2881074aed50c7ba7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220711-cp37-abi3-win32.whl
Algorithm Hash digest
SHA256 5f72edcae5ef1b93c9293b217d837848847b8be7c3fb008e400608c1873f11f2
MD5 048ad0780882fa6994ba55513b93a7ad
BLAKE2b-256 5761028d248ec6ff0a55c6bd5d3009f3527b385cad3f6f03f769b80baf5c2428

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220711-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm Hash digest
SHA256 c440e43418fb6d67acb9bc61623b58dc7570a0dab3f04a60f5e11e49f8e3b5ce
MD5 b0c1e63744dbf49b346064cfa04e593a
BLAKE2b-256 6e05bf1eac835cb5cad9371370bdc315196d7ea7b6bacf2c10c44fe8c3ce4f98

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220711-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 af398dc0de7032f4413829f335d3fa47873a584d8e95e63e58542bfd5be88d30
MD5 766b461041dd54d3fbd3fdffa488f11a
BLAKE2b-256 7b3dfcdf5768441922361e65118209b095ae402b9d0461ff1630f6aed5bc62b5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220711-cp37-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 dcc04c6f4a2a4ef2ab20b476551076a74536ce4cab1dd129ca3a0c5b585eedf3
MD5 f8cb93139547fbf6fef391e1a7540523
BLAKE2b-256 dc7faf4c35a810d8cf1fd53dd9271ac1596b446d8c2332be2e5a92d9f7596e2d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220711-cp37-abi3-manylinux_2_12_i686.manylinux2010_i686.whl
Algorithm Hash digest
SHA256 20eefb9a0c778dc91a3c881dd6c3de5e4be6241e71ad14875ce4979e6910e6b5
MD5 eebeb68b4907005b43ebf75a84ccf7bd
BLAKE2b-256 74e7cae84f3423ee29e106cad84c2af428ac45e1db3a9a3ff0b1ed27c45d29c1

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0_dev20220711-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_dev20220711-cp37-abi3-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 efbdc3627e1a02ff9716ec3c2866bc64ce0c1ed33c82fb700de62150380ea5a3
MD5 7454fe62859e2054e6a3ac32eb8993f9
BLAKE2b-256 edd8f2cc8c6cb543e25e0e6e1563f544e34e3e6ea8f1d30993ce11bee7615acb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220711-cp37-abi3-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 1bdc6ddddee7062708a0658897d18323934bbf10ecb9b333a4c7f752467c5427
MD5 7c248bb4b039edebe34766805f8b25e9
BLAKE2b-256 1e09eca53658bc6767616954e1b5f10f581fefcf32adff851883df46da300a95

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