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

Uploaded CPython 3.7+Windows x86-64

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

Uploaded CPython 3.7+Windows x86

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220912.tar.gz
Algorithm Hash digest
SHA256 de6fde65a3752df8ebd1a074cf59222293afc83bd005d4b03ca116652d034d48
MD5 526a289711982fa039fa01cd122268d9
BLAKE2b-256 8ddb3a48672efda19900949c2894aa10a551a3366de02724e2d9417f481cfe79

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220912-cp37-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 b2593dcd482d1dbde1a793c7481a63082a3b898a07b991c4ec891e3174819aea
MD5 0b0a236b9287d2271a8ed66e1c93a51f
BLAKE2b-256 f5f1ee0dc8893abf2272cab723542272a13bbabab4dc8f849105241236e72119

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220912-cp37-abi3-win32.whl
Algorithm Hash digest
SHA256 1d3f43c75f07a8c0d1a0fd5d53e92c990a8cf361c8c0303502de36bd53f5ddbc
MD5 a64bebfd2735332c7fff565b11b80fbf
BLAKE2b-256 06c1220356408d09612dce4b2ded71f1559f5eb38614d49ffe8db6de43b09fac

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220912-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm Hash digest
SHA256 e3a4ac79bc3313caf0fb1869909926c8728cec0c4d14027ed627d85855dd3bdc
MD5 10214350cc7792826ff91efac1ffbf9a
BLAKE2b-256 e6730150b7204447a834b5116e026e2ab3591860168d3b536b998f23707d83d1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220912-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 f6a14c30d868900c0be8c448d84bee9f5cbf1566fb26a7cd8d94703ccc868fe3
MD5 92ae29100b5d2b4fc9d3e484c653780f
BLAKE2b-256 e50d676d7ae9107cb588e0162ecaf2435ce9e310fdde8828f7b5eb1160f7d2d2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220912-cp37-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 6f454786320db3be8d7dff3fa1b81fca1eb72f984b3104af685f7de762deb511
MD5 9ee2687de64cb47c20538781f6db1c6c
BLAKE2b-256 1780de035c3e2dae4c22000ae8ffa9eb0ad515bd38bdc78cf402df594b7de753

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220912-cp37-abi3-manylinux_2_12_i686.manylinux2010_i686.whl
Algorithm Hash digest
SHA256 6d1c18960074a7e41e282345499e0f6daa0309978cecce8802d64768671f33a3
MD5 d42e3cd67f33bc724354071e11d2920c
BLAKE2b-256 1213f3e3ad5b4133ebbd62ea13bec2750187e55728f969b621acaff1374e1842

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0_dev20220912-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_dev20220912-cp37-abi3-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 27a8e0dc080e6943aadc759a4f2a19d89ddfab9797c33be463fbea7db43277b7
MD5 c81ca7367b6fd7eeb3c4c388e0817a3b
BLAKE2b-256 b1fd6be688ffe9dfb3c9c64d7f662dfadb3d96f6f56e2c046c40cbf349810a6c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220912-cp37-abi3-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 d01caab6c212654634681cf6a3023685333102592693183460ccc6f43447cf7a
MD5 5969827d810d2e28d0fc88efa50e8f40
BLAKE2b-256 4bdc832f9f3d5ed402e859b57c8463d0a83f816771fef724dfa317b04b18a4a2

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