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

Uploaded CPython 3.7+Windows x86-64

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

Uploaded CPython 3.7+Windows x86

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220914.tar.gz
Algorithm Hash digest
SHA256 8f1daead91f2c54e2809d286bfe97557d1ea75965625c8b571a901d6a9e60c11
MD5 48b820d93535f84a5b4657feae5ed21d
BLAKE2b-256 8742e89f583b63f7d9f3edc75c38553073b556b05cf2d497bc841d91b82869e3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220914-cp37-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 8d77e465dcd10e148068e692a4e91965cff3b1aae5b80a4503ce59d2cd1403d2
MD5 66507c3524b5926ea465d0ae58bd9ad2
BLAKE2b-256 6c41837949d0cd67862a654b01c087579105f18cff420dc2c7cff8d6c3da4bab

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220914-cp37-abi3-win32.whl
Algorithm Hash digest
SHA256 ab78be6b4a0a90c37b177e65278d9fc3f3b46eaea8cf421d3965ddb476f4165c
MD5 cf8d67908e7dcc33a5d85518e40bfc0c
BLAKE2b-256 9d1015680e89e3c62c31ddbedb78e869a4cee7bbb304386dbaf93f233c54d1a2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220914-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm Hash digest
SHA256 1be1185905f20f9ce40ba73ad5d14b2c72416bde81b34c3234334d682acae829
MD5 3ecbb29a8ab4aff1e269da057ce5e67b
BLAKE2b-256 ce613daab2282a0c7624d1ff69a33c760c7c4b9bade42d5f13b2d7c4e2b664e8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220914-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 5f32720a353809052d875aa9ca57b87b0ae1f4d00f32838d6f25589b327e53d0
MD5 9acf193bdbb8cad6435d4ba4f50fd2c9
BLAKE2b-256 abe98c3a6f5f44e4cc6fe4c2f252abe0a0ac4071340141c22d027ba296229b00

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220914-cp37-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 3f6472c5ab6ca7752bf985c7f587e569e419910c3db3d3a59a84a2e350349776
MD5 29d032756ad1a00f3f342ff78d376000
BLAKE2b-256 fd848cfa6cb9a82a802a7c46e7d7d016468461dd464b7357367c7bfd16e9077d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220914-cp37-abi3-manylinux_2_12_i686.manylinux2010_i686.whl
Algorithm Hash digest
SHA256 f853bbc3862880af9ceb4340717407e232dc0956715ee6f84e514b15801823cd
MD5 a0b35e263fcac8d546b40a630d763511
BLAKE2b-256 ab2984c145710ac61fb1150598310c5380274a7043ef19a33e1b194477bf41cc

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0_dev20220914-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_dev20220914-cp37-abi3-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 6efe94917446788e03bae933a0541398027f9aa50b5bb9234aa314432af70353
MD5 298ac47100ee7b627fe193071b4795bd
BLAKE2b-256 9fe0e7adc04c9b0107e18059e40b466e3644b965bd2f617bfc08f161709a03e5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220914-cp37-abi3-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 3879e214ca7f4c663900bdb0c490bc73a4b033ead0520964f67b154e0cac0f36
MD5 2d34dabf6253e6e2de427db2ad7a3354
BLAKE2b-256 8c0c90dc99420686c92adcd4682879fa2996e5e4c3098adc16b5840ca23fa508

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