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

: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_dev20220629.tar.gz (107.4 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_dev20220629-cp37-abi3-win_amd64.whl (4.6 MB view details)

Uploaded CPython 3.7+Windows x86-64

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

Uploaded CPython 3.7+Windows x86

eclipse_zenoh_nightly-0.6.0_dev20220629-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl (6.9 MB view details)

Uploaded CPython 3.7+manylinux: glibc 2.17+ ARMv7l

eclipse_zenoh_nightly-0.6.0_dev20220629-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_dev20220629-cp37-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (7.2 MB view details)

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

eclipse_zenoh_nightly-0.6.0_dev20220629-cp37-abi3-manylinux_2_12_i686.manylinux2010_i686.whl (7.6 MB view details)

Uploaded CPython 3.7+manylinux: glibc 2.12+ i686

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220629.tar.gz
Algorithm Hash digest
SHA256 6092e19df55a99361bc3e3a42c3cf7202b4fcade080bea6000994cfa22a3fbed
MD5 169799ddf56445e9d738f9447039695d
BLAKE2b-256 f436ac1ddf054f5d336a912818cd58876fc9c8b11d863b45829252b655a25f41

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220629-cp37-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 0199293b6dbc07c16aa515c2171653950656769b0e72d2f4215df780aea41472
MD5 cdff65c8baf89fc721e81cf792320f3b
BLAKE2b-256 ca498128356612c4b0002bccf7d324f99eff918f18040910b8a8f199ff105213

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220629-cp37-abi3-win32.whl
Algorithm Hash digest
SHA256 1ee25e388fdf096832fb6ceeb4b708d861c05c51a7159422b5c466721f2e4d20
MD5 af493c49f4e2409a572b24da182b73e5
BLAKE2b-256 f14bfed27293ab0410de229b8a487dc4cb452cebe37309d1292a32f61d2b58eb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220629-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm Hash digest
SHA256 cc1caa201829ad7683a607b06765c1d8fe8586a779f04140632a3a209d9d66b3
MD5 7e52106ef51116de0bba16a0ccf31b6e
BLAKE2b-256 7662cf4cdd0e88f0994f9079522809143d5648e5f1f84858b8b1d96acf7749b7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220629-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 e15d350e81899508cf69e4fde874d370101e724be912d096b3191299f9d0b154
MD5 bf8194607ac048286bd57f076c3d6a5e
BLAKE2b-256 59ec99dd54afd92c7ed237779e1c47698086497595615d36cd0236564fe4bb76

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220629-cp37-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 8aca2f43740365d61ab4ed3f994ba13f0ada16bce71a67d385f3f96c576d7865
MD5 4272b244f9930743bc3121382946038c
BLAKE2b-256 0e8c6d43eeab8cd149f62ac85af35ea821f3906e197df3ca9e6a7f0d867d68a2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220629-cp37-abi3-manylinux_2_12_i686.manylinux2010_i686.whl
Algorithm Hash digest
SHA256 c206d744834ea6a6df084d5229edc6c32cb851e9f2859138feb4f1b731ffb5fd
MD5 170b3a733a5c7ce8beb78287d45e554f
BLAKE2b-256 7f98c96d4e729be620bf9aea2a8abaa9333de2053c4f93a8a3f315a4f2353138

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0_dev20220629-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_dev20220629-cp37-abi3-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 cbc68e28d0f8f9e070251d591bf82ca6838081e572fddef7756acda28d5c2d0b
MD5 d6dffa7eb612aaeba771283ab9cad8b6
BLAKE2b-256 eae3d98269999245a0a555cdcddd7fe616307177e48f468d9f4c700ef1e8edbe

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220629-cp37-abi3-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 3815b6b145595d7990fecc4d428088f3069fdf38b13b759a777076942545ea0a
MD5 2f592aef41cbed71c94e15849b974e9f
BLAKE2b-256 38d3fed15c55b3edcb1599e702dd2772ad64491305484a514e341114af49a1c7

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