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

Uploaded CPython 3.7+Windows x86-64

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

Uploaded CPython 3.7+Windows x86

eclipse_zenoh_nightly-0.6.0_dev20220803-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_dev20220803-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (7.2 MB view details)

Uploaded CPython 3.7+manylinux: glibc 2.17+ ARM64

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220803.tar.gz
Algorithm Hash digest
SHA256 637b5d1577ef469abde69aa2973981e0d2f976eda9ebc769212052c2fbf3aaf2
MD5 155198398183b1d0551d8211a861dbd3
BLAKE2b-256 a48e61ab933c142f99caa5346a5d08a040beb004035ccad4187e24f0b3771eb1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220803-cp37-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 467ae9d9134edaaf6879d1670f440f474401726464df820b347abd3caff54ed4
MD5 41a9bc4651359e36a2b3937599694b22
BLAKE2b-256 46bc4a8ba0eb5134be907e4821ce5e866a43a0d3c1f6af06888eed4b3b8f328f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220803-cp37-abi3-win32.whl
Algorithm Hash digest
SHA256 f14a910d5d8b0be9211a62f93bccccd4ed551250abaa055034eb9653b8baf5ec
MD5 8ea327f78d8bf13237ff4c439fd82b08
BLAKE2b-256 1d6ceb25c7df5b67403ff133c1e48b0300542248d165fc57232cdeb5f600602a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220803-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm Hash digest
SHA256 02cca13bbaa1a7dab0fcab2f1d04792f14b6b0763f16bdc3b1149360a7e2148f
MD5 44ed1ae330a65b55c7db8030cabfdec9
BLAKE2b-256 08b27def0c82572ccbab19a25f42448e216f29eb4553098e0b1fc1dbcf59fa2c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220803-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 19dc92ea9072f0f00fa9aeaa18c15f059bdee673c3fabd9e4dda64f3233d1791
MD5 d09462dcfb0fccb7a818791c5a8cc563
BLAKE2b-256 7f5ea566bd869bcc235f46dd7f29702caaa9bea34fe9a6974f13b40ab16ca0a6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220803-cp37-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 58a4033889794a8a8075ef2ee9ac791e970acbc84d1f95c3e22c9399d803f359
MD5 77c6603ad189e6a74f74f26446e13b2b
BLAKE2b-256 0588e5e9e478cbaa1c210de636ed4cfeeae277bdd3b468ba3a096e90d880d948

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220803-cp37-abi3-manylinux_2_12_i686.manylinux2010_i686.whl
Algorithm Hash digest
SHA256 bd05be3abf75b34957767e400ffb794489f1be03c53924a8e161f47b5b8d5c92
MD5 4c043e7ec92eb3d9d93bc5550a249fd6
BLAKE2b-256 15522a496a0e93a156cf063f7ca542500eb4fde8a359ae37c90f142fee36e8b7

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0_dev20220803-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_dev20220803-cp37-abi3-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 f70762e62609d8e35f0d0f5df3ce935f4ec79eee058072a349f10f12701788d1
MD5 a49bc2bd12bd0eac5dd3ef4bbc53ea2d
BLAKE2b-256 26ed9eafd96f842fe7a43de7a6916e83b3e6db4f484e54d4b1cfbb9da914fa5d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220803-cp37-abi3-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 fb6ca8fe790d8ce261229cfef08338c4bd5e03b01989a7fc1b5da4fd67d441cc
MD5 d08a370fb65a7e6f8ad7b2a30a7ede63
BLAKE2b-256 3d6642fa8124246cd97d755e87dca5ccec73c06399a35606ae5bb5f1fd87bacb

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