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

Uploaded CPython 3.7+Windows x86-64

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

Uploaded CPython 3.7+Windows x86

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_beta.120221018.tar.gz
Algorithm Hash digest
SHA256 05ad2decf655d56e95b981977ed5ddbfb2b4b90a00d051ea011e9d5b71db7b17
MD5 3ab2c5c72bd3f81fed2e4fa3a683c4e3
BLAKE2b-256 36e2fcbbb320adb3f36cb020fb49769f2259b5fd7b31bdb3ea4690d706a6ff48

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0b120221018-cp37-abi3-linux_armv6l.whl
Algorithm Hash digest
SHA256 6f6f6cdf2715edd8543a7fa9f99f15124ec48bec1e0296e06d920117914e2870
MD5 00061700e98321ed2e38577f33a7c192
BLAKE2b-256 18350a3d0c595d10b8d15385fca18ff555ff7d6b820743eb67f18efc7c06f778

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_beta.120221018-cp37-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 a4a2c626e0f949f51b514f2a6b434cb9094e4c7c9803320a0229e97024c3b1e7
MD5 2153c88b07cde909699081e0df1500c2
BLAKE2b-256 96a8f7a1273c6cf6456b35b67eb7d753e2b7347156b8f7c1b55c11ba527c09c5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_beta.120221018-cp37-abi3-win32.whl
Algorithm Hash digest
SHA256 e4957dece125fc5772a03d62d3dbfe7dd8eed9d0867b69d4eb1bca86bba521cc
MD5 7b35043fac07a7ff275195610a565146
BLAKE2b-256 fd92babbd6b5c0a983663b2b0a864dd2b78eada43b9b200da7042ab5f3fc2606

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_beta.120221018-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 f1d677fa144c919e319d2c14a70076aeee46735ca6de64bf1cf2b2d14f2de15e
MD5 783bd52d4f4fdd619cfc27f4930ad15e
BLAKE2b-256 5bd73fa8012449511c6c1c9bc013d3c3e711e87294bf05027077fa2468b8a18d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_beta.120221018-cp37-abi3-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 6abe1dc93bde8ffad3bf0090beeaa214e178add53d91bcd30bc8911ba6cfcb86
MD5 5357272d2a381bcded2b948637b77f64
BLAKE2b-256 784eaf13014cc2e0f26c4e1e1dba093c10c97bdd06cc7cd2ddbf44dd8a7a955b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_beta.120221018-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm Hash digest
SHA256 272cc96ffb6ecafe292bf4e9ae7a2cd6bc7055236784995886f4106044803803
MD5 7fd886da47c44f981f165235d9dfe1c7
BLAKE2b-256 baebfaff6f97e771b4929e10285feaa8e225f93af3230c42c463c45d3b954a4d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_beta.120221018-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 6f7767b8c16d3808f214675eba773f127c6842a3fc23357105326dd63cb801a7
MD5 b3bf548e8bdb80ba8a129fba7eecdf76
BLAKE2b-256 98bd067d15d0668abb25e496a643b82c9f710443803e32ccc9b77c6b3bfa82d6

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0_beta.120221018-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.120221018-cp37-abi3-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 670c0d38a037a337c523cb1e45f3390bb204016301d0f7a949412a28446997e2
MD5 3df8c60bcfa921e7d0acf1c4a03190f6
BLAKE2b-256 8c1f5265e7fd8519988395c8e2a55804a0a6dfb9d81aa6aa074a921a5d277ea2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_beta.120221018-cp37-abi3-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 2afc2f1399e0aca8e7cb52141103b37ff34d5b8d1b1f7d49e4c38fd6f6d0f97d
MD5 ed29aeb186654319a12801cea85b6b2d
BLAKE2b-256 839644c2ceeb930fef7350637dae0f25612398d49dce90c99ea73716dff97230

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