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

To install the latest nightly build of the development version do:

pip install eclipse-zenoh-nightly

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

Uploaded CPython 3.7+Windows x86-64

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

Uploaded CPython 3.7+Windows x86

eclipse_zenoh_nightly-0.6.0_dev20220922-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl (6.8 MB view details)

Uploaded CPython 3.7+manylinux: glibc 2.17+ ARMv7l

eclipse_zenoh_nightly-0.6.0_dev20220922-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (7.1 MB view details)

Uploaded CPython 3.7+manylinux: glibc 2.17+ ARM64

eclipse_zenoh_nightly-0.6.0_dev20220922-cp37-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (7.1 MB view details)

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

eclipse_zenoh_nightly-0.6.0_dev20220922-cp37-abi3-manylinux_2_12_i686.manylinux2010_i686.whl (7.5 MB view details)

Uploaded CPython 3.7+manylinux: glibc 2.12+ i686

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220922.tar.gz
Algorithm Hash digest
SHA256 2dffc074839d5838e7ca016274c26c91cb3eca3035081bb80f11ce6aa442d265
MD5 203dbfc0c9d7ea4d3fc3d6de195273f9
BLAKE2b-256 a174631d68f53551c5872a85a525fe4862b042afa0a839d04331998193d30be8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220922-cp37-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 47c244777c383e0a96e3deb7a4065f6195ff9ffc1f2ca6f5ec81364eb5c3deed
MD5 04acc71b7c00fdbbd516d1098f9941a6
BLAKE2b-256 9111c84e61d393e388a8b600d828c193f6351e8026e0c7814d3f2e869788d189

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220922-cp37-abi3-win32.whl
Algorithm Hash digest
SHA256 28dc607b0c69f3e2edfdd9af7bc6240acb555f61831c764442ecd888dec48a3b
MD5 a74d24c6f40eb98e2fcba42d2eb0a370
BLAKE2b-256 26e40f4894f0f71c6f3271ac7b0d975d2185da4d84c5319060991ee04624a2c4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220922-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm Hash digest
SHA256 91198095ac9ad8f98340d4d545c54f4fed207759a45d1ad7bf76a7119c73c791
MD5 9f421dd1bf86c4f1c1c56192c327aa05
BLAKE2b-256 a172fb54f37384a5e7dddcfd169ebc71406226a3ffc7f215fa7d2f5d3cdc11d1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220922-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 acdbbc7b506cd96468e976d69d8df631e0fba378fa46a7f7c3ccf8933057971c
MD5 4751e7190d1825d2fd3f5edc909d8bc0
BLAKE2b-256 0554a7cba1eae61b0a10d9a3eeac2f66a2c16a8ef98a66a2d4b0989a72848fd6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220922-cp37-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 5bed491231988c79e5751fbde44669f738542155ba9dc9a7196b55b15b7c15ca
MD5 1f2e6ff75a8679699234199094ac1231
BLAKE2b-256 f142a39a763cfe83e5a97206b41de71dead2bd484bed04f98631efbebbb3f757

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220922-cp37-abi3-manylinux_2_12_i686.manylinux2010_i686.whl
Algorithm Hash digest
SHA256 2ad35a6b69d77f2adb6f81a1a14f1873e259f603ff5b440ee8ce71cb06b1b515
MD5 3d8a3aec56b9638c27caf451377f62e3
BLAKE2b-256 52254f291305e11897b0eacf59c0ad90e2eacf026e07a723fb4dd6aeb6d2c10f

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0_dev20220922-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_dev20220922-cp37-abi3-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 fa6b332b7fbae62f0057c99ce794e439f98aab79c0a13355573a8802e4ec1305
MD5 262df586e76a9cad901c09a7234d95c5
BLAKE2b-256 7210a1967b167acf67c10f75f9d6b02b475f6b2248aa4147651f94fd5ce50a5a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220922-cp37-abi3-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 c9f115bfe744b26e1f42b23ffd1cffd7f9148a38f23aac0d50b2bad3315ce307
MD5 efbee759678a69448d1b86f516795b86
BLAKE2b-256 8e9a0b9d68bcda42110c0e2fe357adfaa4d94d939c92322bcd13c4fb6ff30913

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