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

Uploaded CPython 3.7+Windows x86-64

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

Uploaded CPython 3.7+Windows x86

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220830.tar.gz
Algorithm Hash digest
SHA256 b95193561679051023159aaeebce7355218633879d9d3c178c186a9c210525a4
MD5 43ef0885b892f92de58bfce904f3ed25
BLAKE2b-256 74726a93fecbb97e025a9f81f4835336093fceb79efac7a0d1f396946a71f9e6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220830-cp37-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 a7d3e354db1b5316b24fa91b361b709fe16c5b619125e4f55e2ee495774171f3
MD5 fe35f6caa4c63d1a97a51d0480662506
BLAKE2b-256 3a2e53cc53ce524e295669f299830722b6914e1e37d0598612de24290f933f4f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220830-cp37-abi3-win32.whl
Algorithm Hash digest
SHA256 ff562e952e98586a5a95afb016943e275b51a488fc82871c5557367a1695f715
MD5 921ad24c781d12964637367acb788f7a
BLAKE2b-256 78646c7418cb53c4ec94b359ab7765278f2ff2e108b02f8eb5fd2526fff19faa

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220830-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm Hash digest
SHA256 a8b21c50b55d5bb437a5b58d72c970fcec45f8850d7563809b6cd27bee80b40f
MD5 3c6ab963073127427a35d77cd003b853
BLAKE2b-256 0809bdefae4b3a2e25e95e243418a72bf6a34fc8c823954cb709186aa884447e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220830-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 068e62e611b1710b3987c4d9da78016f9a0f5dc2d665a854138f889fd9794466
MD5 97d93bfe98829668aa7d8542dbf939ea
BLAKE2b-256 db14c906797d6ca76c2a05f45b494e649eb49221c1881be625d1e1978f429e23

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220830-cp37-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 ba709be16a0755cddd4783c76816063e799e673e62233b4a6661c2825bba29c8
MD5 0f3f9daeb7a42caf620b9e8763b639e6
BLAKE2b-256 8693f48fb91d97da2ac0500ae6c54b03cf2a62dc920fe5b2e0873da697464e3c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220830-cp37-abi3-manylinux_2_12_i686.manylinux2010_i686.whl
Algorithm Hash digest
SHA256 ad44f31158226f8f4a65ddf1319764f53bab8dccfb6eea4a93b75a87249cb90f
MD5 6ddf6188d56b383bf4b24e92b36e7233
BLAKE2b-256 f117ea9e9b452bcc388997af4966d595c665b23f8f473b5dfecfd0282f013848

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0_dev20220830-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_dev20220830-cp37-abi3-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 cfd3539f783334533eb7de280d92c799b9188bfeeec9d038a097cd851054ce04
MD5 74341269b141c242ba140874df314644
BLAKE2b-256 0fce3891153c8bfe7deb1628c07352d0d60c32623ef82be3db84d4a69ca5eb32

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220830-cp37-abi3-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 9f9cbf4a30881b3ab2e52a481cbf04e3233866124555c0d524d1188bf5af8577
MD5 41c1aa9044e19363a7807e35774a5f1d
BLAKE2b-256 e5bdd2d0f53be206d9e233385fa71e9260ff94ff80b54ef85e91acae77a0aa2c

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