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 (installed by previous step). For example, it is placed at $HOME/.local/bin/maturin by default on Ubuntu 20.04.

    export PATH="$HOME/.local/bin:$PATH"
    
  • Build and install zenoh-python:

    • With a virtual environment active:
    maturin develop --release
    
    • Without one:
    maturin build --release
    pip install ./target/wheels/<there should only be one .whl file here>
    

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_beta.120221027.tar.gz (94.1 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_beta.120221027-cp37-abi3-win_amd64.whl (4.3 MB view details)

Uploaded CPython 3.7+Windows x86-64

eclipse_zenoh_nightly-0.6.0_beta.120221027-cp37-abi3-win32.whl (4.0 MB view details)

Uploaded CPython 3.7+Windows x86

eclipse_zenoh_nightly-0.6.0_beta.120221027-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (6.9 MB view details)

Uploaded CPython 3.7+manylinux: glibc 2.17+ x86-64

eclipse_zenoh_nightly-0.6.0_beta.120221027-cp37-abi3-manylinux_2_17_i686.manylinux2014_i686.whl (7.3 MB view details)

Uploaded CPython 3.7+manylinux: glibc 2.17+ i686

eclipse_zenoh_nightly-0.6.0_beta.120221027-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl (6.6 MB view details)

Uploaded CPython 3.7+manylinux: glibc 2.17+ ARMv7l

eclipse_zenoh_nightly-0.6.0_beta.120221027-cp37-abi3-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl (9.8 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_beta.120221027-cp37-abi3-macosx_10_7_x86_64.whl (5.0 MB view details)

Uploaded CPython 3.7+macOS 10.7+ x86-64

File details

Details for the file eclipse_zenoh_nightly-0.6.0_beta.120221027.tar.gz.

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_beta.120221027.tar.gz
Algorithm Hash digest
SHA256 139f88b2228f10fcb414382cd015f1536f321503cd9de2dab2c4e105bc3175a0
MD5 72a4dc479f550e792ed3e0be85745406
BLAKE2b-256 1b40d070a8c739f9fe78abec363a86afc439ed3fc832f250a721d3ec03589d8e

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0b120221027-cp37-abi3-linux_armv6l.whl.

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0b120221027-cp37-abi3-linux_armv6l.whl
Algorithm Hash digest
SHA256 9761feae73e3df23bc2ea64d5ce0eaefffd3f7d47765c2cf366acafb3a1c557c
MD5 0d4e6b8beb789545db88729449544478
BLAKE2b-256 4347585317135d25e9fdefbe7fc32e8ffe149107e87b4f7fbcee5729bb1c3975

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_beta.120221027-cp37-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 f3f11ef0a330dc9f29094ddd49ff8b86a5be5b783275d6a6408d58776b97d0f7
MD5 8d2f18d070dd3f4fe4e4ca39c79e3d75
BLAKE2b-256 181dff5138ac080f5944ea1f22c9cf25052995b54e2306c863a370056b7e2dab

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_beta.120221027-cp37-abi3-win32.whl
Algorithm Hash digest
SHA256 aff1647e51328185ad0ae742dc75e21e04b15b4493880af830f815890b74e17b
MD5 67aa589f681b31a3ef4721e5c39d883a
BLAKE2b-256 dd9d7c2918186c214d7ec579f365aa96fa33a939f57443b481d92cc421881f60

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0_beta.120221027-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_beta.120221027-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 6915db54bedd71372dfee17136a26262ae9c1d8bca5d676098fa57f93cc60216
MD5 8f1e4161b5918ab9f8aa9a6a53629db1
BLAKE2b-256 5ff521499270a5b65cf30564df2164111d0ecbe37ffa455210c953aa976e5be1

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0_beta.120221027-cp37-abi3-manylinux_2_17_i686.manylinux2014_i686.whl.

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_beta.120221027-cp37-abi3-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 6f63291c3b1e777321281d4314e30781de03950c83134ed08a9a6cee10c3ba7b
MD5 2ae98deb38634cff713ea10c4a1f7234
BLAKE2b-256 15ad1587a7359377deb884f6f62fb99ff1fb84256fa6f7f946c7e282955dfea1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_beta.120221027-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm Hash digest
SHA256 b0034659a78ed0a0aa61af1917e63b2eddcb11669c7a02eafe769ca0d0610eb0
MD5 94c0526199f9529f8e915fc43fc075f2
BLAKE2b-256 30019eb12d8fc2e2b70eab858579fe1ad9bdfdf358486bdf94047ae2a27426a5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_beta.120221027-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 2117a085966f127c52bd2d997d74f9e935c52eb5ed1113ad33951541247b7653
MD5 e972a829627df181a898cb02cfa179f1
BLAKE2b-256 b0e31e6520f5cc946d03dcb8c8d4e7895edb66d2e4de77640e9660811580ffe9

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0_beta.120221027-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_beta.120221027-cp37-abi3-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 45542dfc37a430bf093ae5c46828b3b25e07194eb71a5b5616060c176a9ecf3b
MD5 cb255dd9ee529af6041dd2fe5e5aa5ef
BLAKE2b-256 5ccb4a56c8ab406a86171b9fe0ca81222ace07130e6c9a7f6ad8198e52234c61

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_beta.120221027-cp37-abi3-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 0c9b73d1850090f77816f1d42636fcb411b8276ea3165472d7280a3c5b2503ed
MD5 dca2ef35eafeb47022c7264bd9ab4783
BLAKE2b-256 1af71b53b7f7cdfe488cf6e238e0fd2b561a992ced24a7522c7c7a966450ec9b

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