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 (installed by previous step). For example, it is placed at $HOME/.local/bin/maturin by default on Ubuntu 20.04.

    export PATH="$HOME/.local/bin:$PATH"
    
  • Build and install zenoh-python:

    • With a virtual environment active:
    maturin develop --release
    
    • Without one:
    maturin build --release
    pip install ./target/wheels/<there should only be one .whl file here>
    

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_beta.120221020.tar.gz (94.1 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_beta.120221020-cp37-abi3-win_amd64.whl (4.3 MB view details)

Uploaded CPython 3.7+Windows x86-64

eclipse_zenoh_nightly-0.6.0_beta.120221020-cp37-abi3-win32.whl (4.0 MB view details)

Uploaded CPython 3.7+Windows x86

eclipse_zenoh_nightly-0.6.0_beta.120221020-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (6.9 MB view details)

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

eclipse_zenoh_nightly-0.6.0_beta.120221020-cp37-abi3-manylinux_2_17_i686.manylinux2014_i686.whl (7.3 MB view details)

Uploaded CPython 3.7+manylinux: glibc 2.17+ i686

eclipse_zenoh_nightly-0.6.0_beta.120221020-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl (6.6 MB view details)

Uploaded CPython 3.7+manylinux: glibc 2.17+ ARMv7l

eclipse_zenoh_nightly-0.6.0_beta.120221020-cp37-abi3-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl (9.8 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_beta.120221020-cp37-abi3-macosx_10_7_x86_64.whl (5.1 MB view details)

Uploaded CPython 3.7+macOS 10.7+ x86-64

File details

Details for the file eclipse_zenoh_nightly-0.6.0_beta.120221020.tar.gz.

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_beta.120221020.tar.gz
Algorithm Hash digest
SHA256 758259b5f0cd42f5e5d6ed96c82000b24e5b3f81e9e3429d2a67f5f677be1d4e
MD5 7f306fa7f3e12ee70a17ea02c4964593
BLAKE2b-256 d906a9b7023a93d0dd47e051f96928ffd842e255d70a22ea85aaf53f29914de1

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0b120221020-cp37-abi3-linux_armv6l.whl.

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0b120221020-cp37-abi3-linux_armv6l.whl
Algorithm Hash digest
SHA256 35509c488997a7cab1d688dcfa2a566979ff595ee1f8ea16b271af9e2bdc8da2
MD5 628b47a0d6ef1c897478c12d9a63dce7
BLAKE2b-256 74560b81e95d5e21ebeb835d0ace667706f70930a0aa47ab8abc91b93f1c0823

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_beta.120221020-cp37-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 9ae3fe0ab4c5ecbfc5c452daa18955cfd505134c92399cb65e6f3510a383cc4e
MD5 b13bf93759e226c7fc032614b80892ec
BLAKE2b-256 6178baf3e29c22b31ceee21bc02856f2bd293e7cbd9250bdc93e3fbb3e356ed8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_beta.120221020-cp37-abi3-win32.whl
Algorithm Hash digest
SHA256 58d65a4d3e364d05f902e22de46abb20ff3eee701e35094f0796dfd54c55630f
MD5 472c4fa957eaafcfd76bea5a3290647b
BLAKE2b-256 ef701f18ac742945620764c19494c38fc2917079fc5ab54179441801f87d3ecb

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0_beta.120221020-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_beta.120221020-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 61dd3a31ca0cdf9880dcbceab53188d1f02f6279ccf42c16ad670d14c8e2b158
MD5 60e6786d262fb24ef3fd8fa6fc230f48
BLAKE2b-256 13eeb6ee9af24187ed858a1674f9f60ecc75dca2d008f079802e637760d636f5

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0_beta.120221020-cp37-abi3-manylinux_2_17_i686.manylinux2014_i686.whl.

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_beta.120221020-cp37-abi3-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 b57b08085b03aa3c8eec39a545740d77bf1a55a28e2f62bb0b3082faeaadcb60
MD5 40fcdaba8078f13b0237f0873f905548
BLAKE2b-256 4d083f713d9927cefb27cf7a9f69d6ae924e608f2afbd613309caf41ee976000

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_beta.120221020-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm Hash digest
SHA256 b1edf1639575812f2a30ebed48cbcff2e47fdb1aa69bcb4f503c6d8deb2416d1
MD5 2adf6684037f1cfab2994f5ca98e2fd1
BLAKE2b-256 88abb0b9ee7f7615baf07798e1ac4bc9942eef3d783b907c31f982e284cf1bc6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_beta.120221020-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 7a29f7a1caac28187be5b7c8468cdc9fdd356537bb718a3c5d53626069a0c87e
MD5 039c18417ec496192a56fc4e67913d30
BLAKE2b-256 105ae366d910ead1cdfaf636362d6beb2f2ec02a461ca94b9cbb99524eb3ad54

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0_beta.120221020-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_beta.120221020-cp37-abi3-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 2f110eb72383967a5aab8192e025140c317888c416a5617b47c7e715d381e20f
MD5 9305f697e663dfa8fe3b631cd6957e88
BLAKE2b-256 8cafc631ba7648a55eb62b54aa8ca9536b147006df72b0964b2112d81d03092a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_beta.120221020-cp37-abi3-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 44d4d475f68a27fa5f54bf00be2ed2ad3dae3b215df3c06552069b7885594bc4
MD5 43585c7c386925d4f2c3a25b7db5bea0
BLAKE2b-256 98c5b33a038234c4b44dc9c1700be75c07ca42dd9696139408147ecbbf5acb6d

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