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

Uploaded CPython 3.7+Windows x86-64

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

Uploaded CPython 3.7+Windows x86

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220719.tar.gz
Algorithm Hash digest
SHA256 f1cdd7510b19fd6bf96cb59a1b68b6bbd663d464875a2806f9304aefa70b3102
MD5 f5dce4c351e8eae35fc9c91b1aab407d
BLAKE2b-256 e58fd71139cfb48dc148f2dffbdfcda0ebd3470f76fee45322f072e6581ecf60

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220719-cp37-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 d42a4894e1639153ce22107d0e7bffe7edc1ee354f3c25073b709d016a6a3b70
MD5 14bad36f6ec67eb4ba41314ff0af5f0d
BLAKE2b-256 b335a5fd6e59cd5f02050180ea90a202267df3d6350fd5a384b87eabd67c550d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220719-cp37-abi3-win32.whl
Algorithm Hash digest
SHA256 2c9b927620eac64fa23594e8956dd0cfd1446cd6fe69e3f0a8ec3fed88227e5b
MD5 90847298bdf3920d2ea7e1881d79bc78
BLAKE2b-256 639e90662bca550d74ad713fa6d0781c9f563234cf246b534860ea388636dea6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220719-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm Hash digest
SHA256 838a1db20f95d14526a4fa703bfa7117cc4569be324fe9113cff830b0e952f50
MD5 bb560a8b5937052cce5407e950897390
BLAKE2b-256 7972db4ecabd5c499129d8447e90d1e46c7d1cf678c631d7e6417dd7181262fd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220719-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 d0c8e2b3e10ee72a4103d4557f12b708a059e8653076ed912f06f79fdce6453d
MD5 f46229a303d591d3c06d3a21f5dab876
BLAKE2b-256 07ccb670e48f27618df2e845f2bb6b7ce168f84ee0fd6262f7397b4690f3d6ee

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220719-cp37-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 05487e8a7df87fdf1bd93b1209e44b51fe1ef9fdfcd92303bf2bcfc68d348e2d
MD5 eca44e8ea5979ec6ff846ae66a628a54
BLAKE2b-256 d5c32e2a49c26fcdbf166582766404ecb777abc3f12b9b506cf89045f79b8c36

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220719-cp37-abi3-manylinux_2_12_i686.manylinux2010_i686.whl
Algorithm Hash digest
SHA256 07d846d76ad23f7d1dc4dbfdc294cc3b3ba327c9bb81cdaaaed9f487b231ae4b
MD5 e907bedad0cc70a620667d07c7d4cf6a
BLAKE2b-256 00b065b1de086d4a18e477cb7273622e4b73d70774895e3785ab4e59a8368205

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0_dev20220719-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_dev20220719-cp37-abi3-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 8fab419b015a5728ccec2d3d66dc77d693242373949adbf85d487222f93a2515
MD5 f2002bd8cd01fd330cda71390e226a7a
BLAKE2b-256 3bb6d8cc0bfeba38b04004fa5f7a1fe52de64cb84adebab27bf7ce5d2876247f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220719-cp37-abi3-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 f75f8fa83e6db6a7b0b3163326eeef37fd16d39507b2ac1fbad23af3ba6d5dc5
MD5 1fedacc5dbbc8ae815afd5a3808646bc
BLAKE2b-256 9a05ecef8fa7cf401592f2a20165fa4755729ffaa294d81304c78f865f0fd906

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