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_dev20220808.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_dev20220808-cp37-abi3-win_amd64.whl (4.6 MB view details)

Uploaded CPython 3.7+Windows x86-64

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

Uploaded CPython 3.7+Windows x86

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220808.tar.gz
Algorithm Hash digest
SHA256 4e6ca66b9fac7495039f3d046456f6dc95318200fe2e47256db1d26819af05f1
MD5 f59d91bfcae6c60af14cf66d9e53fa74
BLAKE2b-256 eb01bccc638ea86c771e03a46b467d618276e8d9ac1deb6bc4943abe2d1e81ba

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220808-cp37-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 caec6b1aad8a614051b74c7197729053f9e45431006704dd03a8e8e15a38b99f
MD5 74d6516dfc6a2a3aa1c051011f95fe6b
BLAKE2b-256 202eceefe18a597856e19f71c25d60064caaf3571312ab67249ae55d4cfbea15

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220808-cp37-abi3-win32.whl
Algorithm Hash digest
SHA256 0ee7ef406db81ccbb724eaf9da763117c76e783bf753e7383618684bfa7a8218
MD5 3553a54ff25e83d21a7b5dd45477b379
BLAKE2b-256 23642cd69357f376e6646d0b7e77cca6829be64d1a08d35b61e186f05e2637fc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220808-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm Hash digest
SHA256 aa19fbb15a14bf71052fa3b9ab2c956b9684769a30acb80bc1d60ba1a60f4289
MD5 d1acc81e37776070b20f185e42d98be5
BLAKE2b-256 3ad19e3206350a6b7331ed60659df770ada2c7bf068e09ec0f2f7ea202e8ed68

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220808-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 c9b7a3c5c07fac0bc6cac261a646329a7209a00cc1781c36b7e2a98fffcce279
MD5 854bd6fb56e99e4013de3d1b0719b574
BLAKE2b-256 85aabe6eebf2a3f303b341ff7ea5b87d919637e0f012f14be4a344a42450f18e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220808-cp37-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 4572c79f8e033426637bcee59a06b2f8013a79bcf17252a9cad42eda2d999c01
MD5 bcf025a1c280bbd310e136363998a0c9
BLAKE2b-256 a60473059146e4d78647959942c3568ad24d673da9643e31fd6e6dd495823288

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220808-cp37-abi3-manylinux_2_12_i686.manylinux2010_i686.whl
Algorithm Hash digest
SHA256 9b8cc22c371a513e4ad73375c69e78e9692816efbff56235de688b16c2848587
MD5 7c2e6b2be8e02c4f63701f53ab59a5aa
BLAKE2b-256 70ad966a2d8c39c824f70091323008c932023c109aff4f83b3b3a0a9d0427dfe

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0_dev20220808-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_dev20220808-cp37-abi3-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 1b2f4c3aba0eeab0636b67a2362a8a23b2841c9b542d46ece1445becd79680fe
MD5 c1a8709b70a26539e8d24553d2a1d56a
BLAKE2b-256 ab5d612d19da7c5e114c2a664544732172aa8eec81fdae99e66135bdcb39b22c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220808-cp37-abi3-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 2c2eacb2b2ef38761a84e2c61301b9f50ea9876b9f66ad2b347c3b452e4d9acf
MD5 3d99fffedd1b0368bbfd5eb21c3a0b41
BLAKE2b-256 802f1c7a505910cc29e50d15755e1bce57fb635a3c185c9acbee424adc1d4a14

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