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

Uploaded CPython 3.7+Windows x86-64

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

Uploaded CPython 3.7+Windows x86

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220913.tar.gz
Algorithm Hash digest
SHA256 502cda86042b486b552466a804a3028bea0e5d696a9b29798a61bfffb31f4735
MD5 34920421edd39efbfc3edc65909b0e51
BLAKE2b-256 67345afa03c9a2271b5b1be25f7d5008740ae26b5e880ed53e7907eaa48ef835

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220913-cp37-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 75089a65c4866d10230f21b5f3a20a8f2bed3cfea9b56a538e948d0606b84a29
MD5 bf867c2004f9079bdcc6ae5adb1f0379
BLAKE2b-256 852336fb2a92fd7575a8370015f8084d1b8db8eb1d20ab270d780403a3b418fe

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220913-cp37-abi3-win32.whl
Algorithm Hash digest
SHA256 3b8833b304411af330443c335eaf3c49d97a48a244fbaf15704955e53db38445
MD5 91e6c156871bf77607a57df033b44bac
BLAKE2b-256 c92bde9eeff1b696a641fb3451cbff413d00db36c15dbb3331d0443eb5f520b1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220913-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm Hash digest
SHA256 7fc732de1299407f54e136cefe36895de5b9192ab191449587a9755d5847a038
MD5 b43b7187405cfdf82e7bae8e903e914f
BLAKE2b-256 637cf90137d95e92b1373c00586ac35daacbf160949857e7952dddcda49129e0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220913-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 225ec434daa8a8e0dd34823b14bc51464b9451cfb5b08ab610e7be1f7d31be9a
MD5 f786da9e47cceb276537abf3f488c023
BLAKE2b-256 73999e1bfb780e568221974637977d54262b01305f37d43c8ef0075f5f65ac87

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220913-cp37-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 7acbe5135f662d6456db76efbe2ff36b2b09c09608a2b7e3bed9eaa422a27f59
MD5 cc8006c0ae422ed93836297a0c32c371
BLAKE2b-256 fc43170317a9a8e70c2b18da5fdceb28851fdfde805943f656b0029bf42bf000

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220913-cp37-abi3-manylinux_2_12_i686.manylinux2010_i686.whl
Algorithm Hash digest
SHA256 45f4699422a32b45793406cf9c5213ec46ad0a2aebb5ff393ef47f3ebcd63063
MD5 0b4af7f7424caf4b5814e546ec35f73e
BLAKE2b-256 1a549358ef74a457b569efbbbc5aab0ed3b892f7eb53dafeca06f83ac09b7144

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0_dev20220913-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_dev20220913-cp37-abi3-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 f24c3367f99bd9b6159e66fb7307f5bf29b95331162fc93922bd2baeb8fcb7c4
MD5 f1cd7f56a6a3a4945b40e4db40e60b42
BLAKE2b-256 82d808f909667001f0a33c296eee26415a1eefa999ea4cb8c601223a81342941

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220913-cp37-abi3-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 cd665654abee9be46189831452b45c8b5eaf8d56f5a36b5117a1d78f384ca4f6
MD5 599ef382700a71cfc0c12cfcd4e376a2
BLAKE2b-256 5446be72df489095b8554c75bf94cf343d3ebdd898e34c80796bdba5c18d693b

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