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.0b120221206.tar.gz (112.3 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.0b120221206-cp37-abi3-win_amd64.whl (4.3 MB view details)

Uploaded CPython 3.7+Windows x86-64

eclipse_zenoh_nightly-0.6.0b120221206-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (7.0 MB view details)

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

eclipse_zenoh_nightly-0.6.0b120221206-cp37-abi3-manylinux_2_17_i686.manylinux2014_i686.whl (7.4 MB view details)

Uploaded CPython 3.7+manylinux: glibc 2.17+ i686

eclipse_zenoh_nightly-0.6.0b120221206-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl (6.6 MB view details)

Uploaded CPython 3.7+manylinux: glibc 2.17+ ARMv7l

eclipse_zenoh_nightly-0.6.0b120221206-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (6.9 MB view details)

Uploaded CPython 3.7+manylinux: glibc 2.17+ ARM64

eclipse_zenoh_nightly-0.6.0b120221206-cp37-abi3-macosx_10_9_x86_64.macosx_10_9_arm64.macosx_10_9_universal2.whl (10.0 MB view details)

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

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0b120221206.tar.gz
Algorithm Hash digest
SHA256 9688ce3e76eaed456fcfd235b70a37dfa2c5ec45cc37c4716b2778edb654b91c
MD5 1c71f4b642564279c6c291fc3ed4e907
BLAKE2b-256 20a8783a8d5137047501330c77cab55a39ae74c3700a5c21337d2c40e4444631

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0b120221206-cp37-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 447224714724c3f7d2f545425a98a0ca3b4e6aa6c1ef9857ecffbf9bf4801a38
MD5 e77cc99148780969127473dae31a47cf
BLAKE2b-256 7afb835420bc35982fb234cc9c3b1398291f07b31f8722a3539a3e8148c3fbf7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0b120221206-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 9fb5455f3169afd9d5b3fa5b7df08c5351f803ae103ff903ac7ea10218f6c472
MD5 a128bc3421d85abec552e7d4182fd1a9
BLAKE2b-256 3456f8dfc61dec2945506ee339dd683d8ccf83c98396a2f5e799973c45e7a9fb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0b120221206-cp37-abi3-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 2537007ff723d2e41f03b9bcb906adfeda18e542128be67796976fde62e137c5
MD5 76d499543d6b3d8da47cbd90fa784721
BLAKE2b-256 f05e80796ce19dce186d65ea0135947367f144f3abc066b515fe32cca1f3d340

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0b120221206-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm Hash digest
SHA256 afdab0c81f7c0d457cf8001359338ce44fae732a9ec02ec7335d621e9961576a
MD5 d938867b0e2a458048af0322ddfd31cc
BLAKE2b-256 469a9a5420a53683718ac7f2b7db585a3a86ec8970811f3e2faad6bc1fc664f7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0b120221206-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 b6b0681c9ef8574fe5a797393d019ebf5c96185ee6b45cfbf8fddeb1e504a84a
MD5 f5e1d4bfdbf386b869a55458cb15942a
BLAKE2b-256 2533f026626a6d149925f526fb651911a095ab5cff5602eec2a2c7f007e3a83f

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0b120221206-cp37-abi3-macosx_10_9_x86_64.macosx_10_9_arm64.macosx_10_9_universal2.whl.

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0b120221206-cp37-abi3-macosx_10_9_x86_64.macosx_10_9_arm64.macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 185323c01ecd64286572977c17e09ced6cabf6f09b0b2c6a27186992e87b98e9
MD5 c5cac425d70351535af4c0ec0f6d2bf8
BLAKE2b-256 3a317d6b95f6066f71061a65248f51a59b43b2e9d0257e52b97bada88ef29c41

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0b120221206-cp37-abi3-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 a955f076c6cf64be23e66c2835f74930903b44a11058b4da7eb905de048c4abb
MD5 d44e734611fa7036247c32e3df471d25
BLAKE2b-256 6e2a8ad484caf3a5ede3380ea5807b7b9748d4b0e0ecf5dc42101d8aaf638b3a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0b120221206-cp37-abi3-linux_armv6l.whl
Algorithm Hash digest
SHA256 5374feaa140bbb52e57e962ea458bd75f20042c770e63cb6ddf1d2f8d39921da
MD5 9cc723ae43914d7953b8d73041f16abe
BLAKE2b-256 020ed8b402e8e4b991cecc456866fe27da39cbb494b3926267b938d7b393a0b6

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