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

Uploaded CPython 3.7+Windows x86-64

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

Uploaded CPython 3.7+Windows x86

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220624.tar.gz
Algorithm Hash digest
SHA256 e9c14a0fd8d1d5625029f42f965601408417a66891e93380016c84e9646ec3d7
MD5 4f7620004af8fefa7765f5430ddc1774
BLAKE2b-256 021abcac840a673b03e6cd064fd02df6d32685b90603dbccaf022347b6bd70ae

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220624-cp37-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 cdf9df79745f7812ac923619b01b447e9fe27c352bb8a76cc5d97e9c962b035c
MD5 4bdcc9bbdca07502518bd055149dcd89
BLAKE2b-256 c583e66c582b81a09045d379fd411820fcf5583d35d2c6fda71144e8d01ef445

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220624-cp37-abi3-win32.whl
Algorithm Hash digest
SHA256 5443c9bb8160b714560ce37fb8940f6d4fec1ff27673ce420caff6c84052357b
MD5 5e2728b820fa22b18ae3f2eb40cb7daa
BLAKE2b-256 9d13db865e591209b789600dc0d47e0b51c8eaa4e1ddf3a0f8db6a1bf221274d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220624-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm Hash digest
SHA256 8071b46e04ee4051a292310b2de5c3bb43a3d29b22b6db45a7dd56951275b279
MD5 45eb410ec77b901ffbd910f485105dbb
BLAKE2b-256 d9c25e30890a5c36f8cd8c545a7f8a6f9a3b8b79fec030b16e7dac5c3a754c33

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220624-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 43e62b9e308d6de7124fc35793deb67149aa70f4fcf7a89a2cb20a83334bc03a
MD5 fc584ed88d8eef3de928a94b93330422
BLAKE2b-256 1630091a3a0c4ac40583adab40f69831e8cbd503600336cb5a576fb0f28394bc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220624-cp37-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 48878f7a03184f91fa27a692c992695661b74bd9c7b936990331865ec441fa2f
MD5 c001499b783bc408eea5298906efe842
BLAKE2b-256 c9b2a9860fd9fb501cff95dfbf4cb80c6aa1457fa805029f7dccebc2ea46db81

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220624-cp37-abi3-manylinux_2_12_i686.manylinux2010_i686.whl
Algorithm Hash digest
SHA256 e58f98f4b5dfeee3ed45f019a1ab84edd61e4663075497fe57fcec725b9ec9cc
MD5 9286801cc0f17033c54beae7380a88a9
BLAKE2b-256 5b8750bc61060dc219549c5cbdce8cbbe70a8bf63027f891f1f471d18c760ff0

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0_dev20220624-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_dev20220624-cp37-abi3-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 5b460885337cbe8ac944a2fb9ab69d5c83a403b62fa88b0f258b27e4ef797dce
MD5 435851176228cbce6b0e37ee368ed4e5
BLAKE2b-256 19f5dff231ca80ce9a2c2e7e51dec1433278b0cc3b2421801c8f793a7947f9b9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220624-cp37-abi3-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 e43ae2fc32007b3235afe1a20c17ee116a917e99c2886ca4097a1398de871e30
MD5 f8ffa852d5e7be869a3bdd5f178bf8af
BLAKE2b-256 7962303e73680fd5b0cae5f1308696a45e5da514ed0bce9c493b8a4d5cf4a993

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