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

Uploaded CPython 3.7+Windows x86-64

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

Uploaded CPython 3.7+Windows x86

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220909.tar.gz
Algorithm Hash digest
SHA256 6b2d5eafac8a84d62a63ff0093d708779ee605f4a8d99a4040fea4d0e686f61a
MD5 198d0941dc7d83d70f7424f8f0587546
BLAKE2b-256 64511ac670c0b97ae54ed21b54e7aae1f33cd669276a24614fa9119c71dd5946

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220909-cp37-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 171cc685eda5ec69ba97b5fe1a8e05381eb4f0430e5e646927ebd09b6a4667b5
MD5 3da56ef75fbd4dd0d961742bc2dec835
BLAKE2b-256 ed448fe576f404782d36a43aff3c7d2ea1c78edcfc9062278a485a987a07e013

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220909-cp37-abi3-win32.whl
Algorithm Hash digest
SHA256 762556f9a126a6ae575a2e1b0cd3c67101b7621416ff324b2ed056e5cbadbf76
MD5 953cb92a64a8d0d11b2a83b8385aaefc
BLAKE2b-256 6411bf5714e1c471be85059ab0ff31875c9eab3a6c7a8987692c6f47a731e841

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220909-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm Hash digest
SHA256 9406868cb3f5bcf2d2b6c7d31446442a7485494d5c26763ed53e8056dfedaa8c
MD5 d689a4c198bc0ba7c3ddef15f10e939c
BLAKE2b-256 227bd6eb5c86f55555469413b0d5919510f8b67ca8f9204c552a5cbae58cb13d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220909-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 05325bcaba6af2316b88af3ddd8e656d745d3f0c18a830c380ccca53a5cc8cb1
MD5 e06ab0fcbc513a0d486e39e495782fd2
BLAKE2b-256 bacd375ab08f799ac62acc7d43b6295e32cb1709de8a10f93bee2c4d07505050

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220909-cp37-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 32a3515fd5908e695599cb0e73163f4e3b242676e8095eb8971c65c5901f85ff
MD5 f935cac9b59efe14eda83c9ade400a9b
BLAKE2b-256 0bcfa6772f07eb2906a143aa598b418cfbd4e14e79ffccc00e33c81ea2519052

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220909-cp37-abi3-manylinux_2_12_i686.manylinux2010_i686.whl
Algorithm Hash digest
SHA256 7594a0a4be493693f60077d33f5a46db7276764eb63f9a0c9d15eda1c25b27bc
MD5 cfc39baec593c82aa04b6715e5991ad9
BLAKE2b-256 c8028c14f0d8424b0b01d66744299a387ff9e9bfa42f4c40704346d279892a58

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0_dev20220909-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_dev20220909-cp37-abi3-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 0b938016d239dec00dd627ea0423d7cd2e6be723a85b804fe9eb987c4a8e5fe2
MD5 c6cbd63e045840888086f177ae39f5f7
BLAKE2b-256 bf5b53fe9fc0b4167327f616cb0e0e600fe74b52d48d40bbb9d8da6333bded05

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220909-cp37-abi3-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 0bd1d84b1b975d35309f2c735d158b5796946b254a1411235a102879f9145709
MD5 83648f784c6837a4c96e31a3b9c00a62
BLAKE2b-256 1caacff04e20dda0550ccb6cd7262efe5169a8c1b78e52e99325e5ad3510ea97

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