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

Uploaded CPython 3.7+Windows x86-64

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

Uploaded CPython 3.7+Windows x86

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220805.tar.gz
Algorithm Hash digest
SHA256 7f1d40ff3d71061c6f1175b581917347271c44d68227f95dd3dafe97ea07903f
MD5 777e5a4e4f2adad32e93bf9c0ca2d9ff
BLAKE2b-256 d7f622d8f600e3dd343ee3230a88a4d38a19dc7847cf6119e94e68f9a015dcaa

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220805-cp37-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 928c7638b08dd42d9f50170190cc1e842677cf49082f8a41212b4983f4961a67
MD5 f635d3aee553846a1472d1f501bebb22
BLAKE2b-256 1dbbfcdd79320a04bc1555c553b4fc7479caa4a7a5e48440a7477095ea75f903

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220805-cp37-abi3-win32.whl
Algorithm Hash digest
SHA256 3e0f5ecdb4661ed843cf930677a9e3970bbc26676e80762af666f5dd94953a70
MD5 13b16d151653b99184242ed70169dd23
BLAKE2b-256 4875fcaadeaad1295bbb5b5e4ae7145b58e97874979123e384822408eb811bbf

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220805-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm Hash digest
SHA256 db6fa21a2bd0ef63631f2eba00284592ea56e19f9dbf762ed4d4b28e1fdabacf
MD5 39ca036f75060543ac660fe31483a9c2
BLAKE2b-256 e826b5aed06e1f44dcec393e2d65de489faf9da92ad721a9c28f6cdacdef9491

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220805-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 5d54fdbb2dc56b09686f44ec5917bd2a9456d2e8abe0aa37b09382a68fae47d9
MD5 8a73c6c319db8058690f3c5db3c35d04
BLAKE2b-256 763540aa52e14aaf53b63798681b9b04aad74f7d0d515597e78dfa1d8e251a23

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220805-cp37-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 5505cd9864e334fdaaa4a96e680514ecf80cadac86fdc524d506f1849d84dd00
MD5 c67a4195172fa63ff1d537be423046c2
BLAKE2b-256 ad7dd7ae758ea4af435d176642fabcf34768c916804d64dc7ff2b42302e86255

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220805-cp37-abi3-manylinux_2_12_i686.manylinux2010_i686.whl
Algorithm Hash digest
SHA256 dcf34c1b1cd690d815b83bc8fc2b77af785472b42e6f5185874f9c463d1b0494
MD5 862fe3a60520a4189ccf3de7aeeefbcb
BLAKE2b-256 195055e5ee3eca6a2593b538608d5c35ad6da214587188fe264d429d018fc38e

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0_dev20220805-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_dev20220805-cp37-abi3-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 b5e532499dd7622cb0b7f253a092ed5fd0ff2a9c40fbe043d231a34590787310
MD5 2a16221a66aeb07368bd57539da08918
BLAKE2b-256 12dae820c1db62eab3590a95e34f1c289c34481e34455e62761744760f6895b8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220805-cp37-abi3-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 534f479b40befdb00056f39f160f7d3b20831ade8a98be0298a1f074a0e9dbe4
MD5 b5790c5ebf198393617e07cf42b0a2a3
BLAKE2b-256 03d69762f6c3b72392379c588f94935f768fa390181da2334ba2f25e0fdccb45

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