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

Uploaded CPython 3.7+Windows x86-64

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

Uploaded CPython 3.7+Windows x86

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220902.tar.gz
Algorithm Hash digest
SHA256 0d2707977a61dd4d872134bf9f4c1b3fe32269533c84525d8225cf06f7f1eb73
MD5 96fde9ea35e367a598e737c79a9a8003
BLAKE2b-256 f2916071745ce1c67929b47fe32f247f815c231f7c8f3b9c5bd237a4ad066469

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220902-cp37-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 bb1404527f63948f2bb93aef07667c515cbb50934bb5c47196bf44b28dfdc382
MD5 2c2247e5f123a01c92ff4699508bae87
BLAKE2b-256 e9707e507ced300a19ecb8fb35b13242bcbd6628edde7f6c49a063a6efa623a7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220902-cp37-abi3-win32.whl
Algorithm Hash digest
SHA256 80738aa1e647f4c5eaf79ed0a59cff58a7164eefd7ba011d4e25f04c112b5af2
MD5 b8da3575da349d5937b6f3c66ba663b1
BLAKE2b-256 04f3b86bac17a10923bb3759d290255aee68b3c372a31eaad719fe84599581af

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220902-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm Hash digest
SHA256 e03a614042d7a8359a72fa96dde2b58d8ec328869a7d3cd066d4f856c756340f
MD5 0552d67a2b219160df413e657f617fa0
BLAKE2b-256 c6b22bcb75bb5d126abb9d186b9c07947a45c5c3db8f332b28ebb1150cfe4081

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220902-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 b4278ff8d7585714b37f434b5e02c2ea04ef754e440188919cdd616ac430dd36
MD5 a47dd92d9ec200254f89a5f9127dc7db
BLAKE2b-256 92ef1270f0b0ac429a8e47c1dbf1b7663996670c3e66f6053fbce32574d8d29f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220902-cp37-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 ead5e5b79bfbabf594b7d0bbcc2f888ce53e09811d2f1beeff1dfd6ad8db1b20
MD5 5d7f58152fff1eb7d2dd6514eab419bb
BLAKE2b-256 301a26e0020f7afd7c2ae3a2400831feddb8bb126e3b5872fa1b534ab0a5753b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220902-cp37-abi3-manylinux_2_12_i686.manylinux2010_i686.whl
Algorithm Hash digest
SHA256 bc3cb8fb59595b19b4dde2e7b16f92dd7dd822310af88c5e478cd08b29584e76
MD5 80fde4d8b749c575d2f0eb6b6ac32b30
BLAKE2b-256 618792e7eaeb96eb4bd54381fc10d2061d8df3051a3ffb659159eae758620065

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0_dev20220902-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_dev20220902-cp37-abi3-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 29c6d64d47ed56db28d6c8c1f427bcdf12346ecdae72926614ad77e57ca53611
MD5 1bfc2f373cdb0515082f29eec152ef2c
BLAKE2b-256 33cb6b653be406239d0e8e0081ec3512d9d4ef3ae37d9b0e030c844439ccaf01

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220902-cp37-abi3-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 580101f80219d2c5436fbfa6eb60805c599d24ba526766bde2e339c7459edb03
MD5 4ccfa7989e676960cb526d4e3545b094
BLAKE2b-256 85c7fa04db9ac922432a356f3205c07a40563d1dc4beec01fb88133115e83898

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