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

Uploaded CPython 3.7+Windows x86-64

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

Uploaded CPython 3.7+Windows x86

eclipse_zenoh_nightly-0.6.0_dev20220928-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_dev20220928-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_dev20220928-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl (6.5 MB view details)

Uploaded CPython 3.7+manylinux: glibc 2.17+ ARMv7l

eclipse_zenoh_nightly-0.6.0_dev20220928-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (6.8 MB view details)

Uploaded CPython 3.7+manylinux: glibc 2.17+ ARM64

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220928.tar.gz
Algorithm Hash digest
SHA256 e7e89de993a8aba9a18ecc0379d7846248934fea0cf2da7922ef57c76a7b561b
MD5 fd2a7fb0e78d42adab4f1d36cfbbac1e
BLAKE2b-256 f185b1a1593209e45e7436106fc11d7fde993125dc605f9e8a57d5db5c83d46e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220928-cp37-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 c70785ba339d645929f08e105e73f87c12f9bf811e7c4524b2de00d35c45ed1b
MD5 78a6f3fa4eee2b153a4a3971bac1c42d
BLAKE2b-256 53ebf14d4883a4fccb419d7d0f96dbcb7a13cc489109431efb6bfdb4b5b45c9d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220928-cp37-abi3-win32.whl
Algorithm Hash digest
SHA256 901bd52f18bde1082238dc6ac8187bb72ef3eb934247d6e3d970e5b19140602c
MD5 832886526f2069a37e3de334298fffbb
BLAKE2b-256 c9cbdadc18930e9ba6b5a7a529e915e53f85887ddebdb373a0481edb083c7a83

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220928-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 e2c41e6933029dbcf43619c681ef8ee2a6fab070bf53fa07e45dc35d602fe00b
MD5 670e0051643794596a64737a8d9466a6
BLAKE2b-256 16e1a74801f448b54435819ac48e607289fe739181adebb8f4cc87c9ccaeff08

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220928-cp37-abi3-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 07a7af69af35744791f61bf9293be60ec42f60158e4bb2748321ff71355be2cf
MD5 d03a05f260200d52899d924bb0e1c277
BLAKE2b-256 02755ab8625b866051ddb13df31d901836e031fef87c9c3597ce0166e760e3e4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220928-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm Hash digest
SHA256 34d41e6ba1fa7bb0b478179ab361d6057355dec7f53184edb9234df07d40b1a5
MD5 30d59ab31f086cf13000862f92db3f81
BLAKE2b-256 b66ea015d66f3034b0761f782d469bdc3210b13bdbff3853c897b8755f6191c1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220928-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 e1a244db7cd8122e2aa6076182e08d0659d28473ea70957602e6ccfad2a914a7
MD5 297903cae6c4dbbcb9db71ee96c81c04
BLAKE2b-256 a73773b0376258c34cd6c46f4894d4a28da090bcf8056c837d5ace46292473ed

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0_dev20220928-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_dev20220928-cp37-abi3-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 6e5bcbb473a0670b79d401b7aba482cbd22716d44143906a00e7e6c5bdf0b946
MD5 431226a2beff3a01bb0661e904fca76c
BLAKE2b-256 3381bf7c9f5880a53dda6329a14bc49044c2dd666856cab1100e5bf9b2a25701

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220928-cp37-abi3-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 3bea2ef120df3335ac3fb169fcfc6e1c885c39355e1316ef3ad09772211d0393
MD5 60f07f95a01465da98891592b880a83d
BLAKE2b-256 6e4538e333168359ee8c4b90a44f41f7b731edf02278d487259478d58064eb17

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220928-cp37-abi3-linux_armv6l.whl
Algorithm Hash digest
SHA256 8aed1c0526f7a7639aec5d4474d6b7d12b793bf2cfe162726dbf3d9cb287282e
MD5 914d9b9329a6f59a6c708b0910edfb27
BLAKE2b-256 941d1590f4b0ff860d72c51fe95f29be369528ce1d048c3829701c3ed1ba3789

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