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 (installed by previous step). For example, it is placed at $HOME/.local/bin/maturin by default on Ubuntu 20.04.

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

    • With a virtual environment active:
    maturin develop --release
    
    • Without one:
    maturin build --release
    pip install ./target/wheels/<there should only be one .whl file here>
    

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

Uploaded CPython 3.7+Windows x86-64

eclipse_zenoh_nightly-0.6.0_dev20220923-cp37-abi3-win32.whl (4.1 MB view details)

Uploaded CPython 3.7+Windows x86

eclipse_zenoh_nightly-0.6.0_dev20220923-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (7.1 MB view details)

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

eclipse_zenoh_nightly-0.6.0_dev20220923-cp37-abi3-manylinux_2_17_i686.manylinux2014_i686.whl (7.6 MB view details)

Uploaded CPython 3.7+manylinux: glibc 2.17+ i686

eclipse_zenoh_nightly-0.6.0_dev20220923-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_dev20220923-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_dev20220923-cp37-abi3-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl (9.8 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_dev20220923-cp37-abi3-macosx_10_7_x86_64.whl (5.1 MB view details)

Uploaded CPython 3.7+macOS 10.7+ x86-64

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220923.tar.gz
Algorithm Hash digest
SHA256 1864662af3f09076743d96f2d4560b28df2bc5851b242600a713167fb401276b
MD5 9bc2a1a241e4e6d5cab589e2e0e1e8bf
BLAKE2b-256 c74ede8322ac822407da8c2f1431bfe1317a7957d07c463ef082e8c830637db0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220923-cp37-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 287d1b527972c623157034a5d321acefa6a9964d5f2ea5b2723a6f1642077eec
MD5 6173b315be4339a1fedbfccbe1d763ed
BLAKE2b-256 0f82cd4fc17ace35a02b7b47ff40c709b4433faf23d0bd00869e5d4460b287f5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220923-cp37-abi3-win32.whl
Algorithm Hash digest
SHA256 593fe676138b0f41235fcda58ae4249031c9b0fcba45eeb82230e8348a24ed68
MD5 151bf9cafb1379c2e0bee79fec24676c
BLAKE2b-256 e725448e99447891a919d3dc5f1ecfd311d601c2ebd8836c4bab63c9d7887573

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0_dev20220923-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220923-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 c21a1c680293779b4bc41fc68dc3fbb7e08440eb365c316eb029be71c3fc56d0
MD5 7761bac430bb655253305c12aa0a8dfa
BLAKE2b-256 7390399a18acaa3a28c1e9e07ab3a17040bf7bc8acb6f1a5e62d3e00542c31b4

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0_dev20220923-cp37-abi3-manylinux_2_17_i686.manylinux2014_i686.whl.

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220923-cp37-abi3-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 9d4791cf7aaf3296efad9127d003797c369b65006aa1db9466e13ccb0dcb23fc
MD5 bfa5c7a4c7bdf4e22fce50f3302ea988
BLAKE2b-256 23e12f967c2c8f8dfc279fe796272a4dc96f9dd3467accfa8eb9cf27bb5e08e4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220923-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm Hash digest
SHA256 f37728e6485d232c05ca5f453fc95f696ed3118b4f51f0dc5d953f5d972c5982
MD5 88513f549c4b802997ac5f8c3a80f7e3
BLAKE2b-256 25301d06cec03e25b7308241bbd2a7aed1b77f8fc5b42e2e6a6bf28987e88901

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220923-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 a9b25a8f48ccb24624cfb29ae8732b2467af4e9abeae6f1ef49788961bd7278e
MD5 6c7fa2deff4c1a3b596eb0d511ac8ebc
BLAKE2b-256 5dbd3185f20d801965dc8cd38fa3a05ad6a33686795e0a7541421ba595372537

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0_dev20220923-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_dev20220923-cp37-abi3-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 a20cc05916477c1aa4c24917e6c895cf9801e9cb2ab77706a9f183081b11711d
MD5 8b6c173bb641a9e5212918a0b0ceb15c
BLAKE2b-256 dc1f61369761b3effda43c4e7fe20ae6472c49f9308856c6f622c361b6be9e54

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220923-cp37-abi3-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 07e4de1ed65180d7eb8fd1a1c255fd45c95d0241d5abcbe41c1379367f49f011
MD5 52553b9d1da0a3e09d7449202d69fb5c
BLAKE2b-256 d74efece84f2d5d1968b8f833e33a6f21481429f0b038a963524123e302fbffb

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0.dev20220923-cp37-abi3-linux_armv6l.whl.

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220923-cp37-abi3-linux_armv6l.whl
Algorithm Hash digest
SHA256 dbad4dc650b87442c5b71c878535b1595fa7bf26e973b9e1a2ad63d1a37fcc5a
MD5 7a11abdddbf5b467bbc50382f9a9f8b0
BLAKE2b-256 23ba2348f79aa14fcc2215c623cb0f950b19ae3589c8b543ec7f5f962fc63fd2

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