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

Uploaded CPython 3.7+Windows x86-64

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

Uploaded CPython 3.7+Windows x86

eclipse_zenoh_nightly-0.6.0_beta.120221014-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.120221014-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.120221014-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.120221014-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.120221014-cp37-abi3-macosx_10_7_x86_64.whl (5.1 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.120221014.tar.gz.

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_beta.120221014.tar.gz
Algorithm Hash digest
SHA256 f48e5ca76d3d03404fe7becfa483e285b54a56a0b19dc0718f60209afbba7b1e
MD5 012b2cfe9970d55ac449d17c2bb630e4
BLAKE2b-256 aa99dde473282ff10b5978d12685a7de1210f5c34af74643e4028e28db29d32f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0b120221014-cp37-abi3-linux_armv6l.whl
Algorithm Hash digest
SHA256 a7828d73b0c55d28cce447d3f0354f4c660533bd1c4b6e11cde0028a2277f335
MD5 f7b7ff9fc9f9310fec210f3ede71b355
BLAKE2b-256 0b31884d86861865682080007ebbdae9fea63b839ac58682236cc6e1bb88f2d0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_beta.120221014-cp37-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 b709688492139dc1e09328d3b0472b5bd63a54a5dd517637e4fadf50eea75c2e
MD5 21c3c0c9ae3a70b85b13d57169c8144d
BLAKE2b-256 013c39eefb5259b3353b98ee32e81629954ba7f8ca087104706e1162940f940d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_beta.120221014-cp37-abi3-win32.whl
Algorithm Hash digest
SHA256 38fd31966cf7afaa4735b18ffeda87df34799c3196d6f3f9ebc69d02e5ab0f54
MD5 cf94c6ca2cefab910bc84e06e5192513
BLAKE2b-256 2e29a62b3c65e31d14ca873048c9c826789ee0ce786c610e0d99b85f29a0ce57

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_beta.120221014-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 d2a8755e9b715c66ac3a184baf56d2139fb1318aafdb8f8016c05d79c52ae0c5
MD5 ce4a734361473331c686fae3bbdb21cd
BLAKE2b-256 1dc6b9dd13e422fe0dfb05ca5981bb64febe689739ea9bc73e7102e753ba5ceb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_beta.120221014-cp37-abi3-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 3d0249026acf41d471555d815fea366c0e3aefca74b35958b7c102e3a274c544
MD5 f32cedcdbb3ed282c1bf2504a8ea0944
BLAKE2b-256 be65c5867454e6d445fc91124d00a6293db0dbae567c451a83174eb175a09468

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_beta.120221014-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm Hash digest
SHA256 dde44346e1e654996e89ec770a8ebf5ec177a7874da939e63af960505d77ec57
MD5 68187db60edd76349d910b8fc13b8f24
BLAKE2b-256 25bd52a2505ab5ea063528e7d63c01d2ac2bd2ad76d7e4613bc629efa9f42b91

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_beta.120221014-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 06da1f7fbadd2e615ee81e9a6bcd8c917cd74b913c40e90792525612cc0aa0f6
MD5 b86fef79bc2644caf20cbe882178d027
BLAKE2b-256 e1819a3b9c3fb251e65a08c7989bb7e327b715dcab88467474fc484d4bde6739

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0_beta.120221014-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.120221014-cp37-abi3-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 a76db2363e870e7b2ecddda2b1ea92e766107e7e9c6f10f96984fb53a45a1cd2
MD5 eb530f039d2825c1a5e1189f8683fa3d
BLAKE2b-256 b60004099af8f88e1dffb40ceba41ab3a54447d0316cce07e148d763d2856f60

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_beta.120221014-cp37-abi3-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 b452e4b8ed034df869a26971c2800f918cca2e74eba6080c5c1dc46a4ec67d63
MD5 71ff6b25753031e36b4f92bc77c338e0
BLAKE2b-256 4d5d715a74a959bed5f03188ab9ab19acf7d0535c4ef125ee1bf353b4791252b

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