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

Uploaded CPython 3.7+Windows x86-64

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

Uploaded CPython 3.7+Windows x86

eclipse_zenoh_nightly-0.6.0_beta.120221012-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.120221012-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.120221012-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl (6.5 MB view details)

Uploaded CPython 3.7+manylinux: glibc 2.17+ ARMv7l

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_beta.120221012.tar.gz
Algorithm Hash digest
SHA256 12c82cff16723d0015a4bc0e4c3829bef4ebb918929d2cc20b9646b5e752ead5
MD5 fee22b97504118855ee9a327f51d16f7
BLAKE2b-256 511dace23181f7952d5eaf88a8959686bc12d39af2a89763069e04cbf6e5e373

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0b120221012-cp37-abi3-linux_armv6l.whl
Algorithm Hash digest
SHA256 69d129450018669186838cd156252513769a10dd8058051d267482ddb4065dcd
MD5 e36357995e568300f251b5723d82c17f
BLAKE2b-256 0fe4061a13a83d8d17708c22e151128e4adda1542e0b52c43049e42f639d2e6f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_beta.120221012-cp37-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 0b097e6186500115e0fce404a8e65161adbe3fa144c77d1a3787e74c537c535c
MD5 6d875b3fa66a7049586fbbb12d1d0631
BLAKE2b-256 f576ff2b730d5189c20db59a805dfabf735388b94553e78eee44eb617b61cd5f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_beta.120221012-cp37-abi3-win32.whl
Algorithm Hash digest
SHA256 e8d1688fd12bce69a1c9737d9fd92824830e0ac5e9cbe9ceb5a599ff1640a9ca
MD5 b58e9f55e218e832e5540f4174406da2
BLAKE2b-256 30b162f45ba189f508a101d7190915aa7ad26c7baa71d09dbd928f3d34fc2cbe

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_beta.120221012-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 cbf341f6282e330af817c0f757acaf626cb1120b3a0af01d2c877d045c93d5a0
MD5 3f469a048237131b562193cb555b6635
BLAKE2b-256 4b9c36cf2e3027c15be427bdd509c308c0094548e9081a722bf0bda7b4a05f43

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_beta.120221012-cp37-abi3-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 a03e90a05b0af6715307568aea5de0544b9419283fdc21024fe3fdf80b5893d0
MD5 333e282fb5b9035396ee66b6ffaa9e1b
BLAKE2b-256 ebaa6b957a0c562198fed6ef8a736c73f7fc95ef88d56e6b295e94edc7daf4ce

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_beta.120221012-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm Hash digest
SHA256 08cf057537aa70492e6ec46dcf67fd0054e4885f30768b4696c89c6e73aaca08
MD5 1db489361235dacaccc4c1b63b50219d
BLAKE2b-256 cedf96122fbfd4c209837e613a9861089ef9350610087088dd560de7d9b94fc7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_beta.120221012-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 f0dbf60d4289cf6cec751862aea2111cd58e5d9d7aa6a0c3ea0e47efe7b3b947
MD5 61fe1e709f5ecad626f6374675c4b732
BLAKE2b-256 eea7ae5498e4e4e100c8ef9fd74a215b7ff74efa9a591dfc82a42c0cd402b496

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0_beta.120221012-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.120221012-cp37-abi3-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 f611f267c30e67b3ece2a5d9fde5f7dfeeb41b902662918570ce4fe8311499dd
MD5 159396dad7a5f8c505288519e2a64325
BLAKE2b-256 2557a5ef8c70939a104a966f533ad0166e3355ce113629423872d98f24544301

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_beta.120221012-cp37-abi3-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 c2aa718212825e3b9ed66130a21cb54a475718ab3e179875bdff1702b0b727f4
MD5 d91e87a91a8165bdd8ca01e8cf9101df
BLAKE2b-256 703b100fb52af5ee2e1e71b598442cf1868d2f1da23784c12dedb7f888509673

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