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

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

Uploaded CPython 3.7+Windows x86-64

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

Uploaded CPython 3.7+Windows x86

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220704.tar.gz
Algorithm Hash digest
SHA256 d3add64386ad1942acac35163e289d859c26b37b56a39374d3f98ff11bf9831a
MD5 84c8d18212a9d0cbbee511fe19d8e672
BLAKE2b-256 e15b5c4be664dba0479239557c3cdf9eb6fc4711197e2c6b327267d7382b474f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220704-cp37-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 1f168000d84ebac6ba8ac898a45aeb0ceec4e5018c0bf6105e703e904dc70228
MD5 b21a983b5dbcf127f778587b0f80b341
BLAKE2b-256 3c057dff1b367628042b3f1a78ac697bf2fd988774d9a09f15d2a61461c4cc76

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220704-cp37-abi3-win32.whl
Algorithm Hash digest
SHA256 81e652b910cafe65eda8ca2f5977d635cdbcd695d678771292c890fc6c8427c2
MD5 191a6c9fb6a78f4ba7b41f3c2c07dd5e
BLAKE2b-256 20a1b84bbbc0bd00fc31136e373d700982c11b3fc3772aa78e7d350076d2305d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220704-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm Hash digest
SHA256 6497492c0be4c5cb9ac829b3dc5723a768979501e2667d04ebf7cc3e4dcca9b9
MD5 e5307f018362cb747c6acc092e7ffd2c
BLAKE2b-256 852b6b053878d641fc3914d93375208e4d69ae3412f4775b678e5790a8809b0f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220704-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 9b6f1ed0e0ad29f26cb2f7712f4e9e3468217368d7ca2058ab76425db674c8bd
MD5 dad47f4ba33029f7b28a450128b9419f
BLAKE2b-256 a1f7d93915a6f0849e920c86800a6b032341c29d26031d7e725552cf6a8a10d5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220704-cp37-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 b6b0c13022606f0c2ec02d499e4a123aa73e46b1ba603e59c8e35eb4e8672252
MD5 bca2bcc553aa5b6f856d8cbd655b1700
BLAKE2b-256 19f193d50054d7cbb7b6a960302688386f12554cff86e3026edbd4cf0d4a0f67

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220704-cp37-abi3-manylinux_2_12_i686.manylinux2010_i686.whl
Algorithm Hash digest
SHA256 9abdd4f9c42d39c0530a7eff54ac221b5aca49c2d3523e8e1ac377306d5d54c5
MD5 d5b0d011165463ba57ca2dbf3e43f6b6
BLAKE2b-256 4696e2e8687ef4b93b4d9f25b2a0e148233e6b05eeb2bbab2c967b69f15cb34b

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0_dev20220704-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_dev20220704-cp37-abi3-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 97567dc3d6bb022081348d9429c89ef6f8c210b6c6d4480ef0d6fd0108080405
MD5 73e41911ca1452843d7b9d200258ed37
BLAKE2b-256 c46efa3e12726a781bb66edfccc6d92a900d50fc629f2a72e7acefdea9bd66fc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220704-cp37-abi3-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 f0d73886d10badb3e864dec297330725eed61920b3ae702b48be5b45a2f5ec40
MD5 f8ec19e115b34a5c7e8bd7f3a77c6b13
BLAKE2b-256 85285a1a4c97ce9833a3cf8d7a8b7a5ba5ac3a5ede2c43e075759d0a7cc197f5

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