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_dev20220901.tar.gz (107.6 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_dev20220901-cp37-abi3-win_amd64.whl (4.6 MB view details)

Uploaded CPython 3.7+Windows x86-64

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

Uploaded CPython 3.7+Windows x86

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220901.tar.gz
Algorithm Hash digest
SHA256 c24d5f5456b31c3f00fda853133523edc15640890f559b62f857e9cd3bec2cb6
MD5 8f28887c79ff019714f21493bd66f6a2
BLAKE2b-256 884da628c9c7f5176515d75c9bdaad64504c52d86a5683ca92621e5e791e4152

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220901-cp37-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 9ed0afd5279a004bdf9e481ec9aa4adeb3f1865610fc8a8f94c1d7ecc1cc286f
MD5 a3127e572a2399be22f33fc2c5d44dfe
BLAKE2b-256 9233fad56ec415ea08fd6a30769af8125c11b16effe6c1e075cd256aa5f26b9d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220901-cp37-abi3-win32.whl
Algorithm Hash digest
SHA256 8644bf71815307a131b697c7010099bebf828eec251d143997bb9fec8c5fcf96
MD5 37b7088e57714a4961dd2b21b592c1ca
BLAKE2b-256 293c6fb100079037a5f3add90fe8d6282ac077b6bb8001bda0cc90d3894dc367

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220901-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm Hash digest
SHA256 27c548b43f68a1a187526578a40afd7678f3a5cca75b641a4e5c23c6ed2d7e9d
MD5 f5ce77e199f94e228fad7b845144226d
BLAKE2b-256 1158d2e48e715cb6dab186af38a6061d7153f29f7eb74c59c44bb2adf2ca48d4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220901-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 296c948bc8d9da285628cb760c251c255739800b9742668e924dc03e7b4ef44b
MD5 aa88863283fca99f1a7725e136bd2334
BLAKE2b-256 081f2fdfa7b9327a67bf3138f8bd1671b51f7e20573f18784b8720e7292bd15b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220901-cp37-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 196854ef55b5229bbf2fd84731a68d8497e2bfa974d9cd59868b51d3634777e2
MD5 721257003a03af386c292f67bc13179d
BLAKE2b-256 f829de181d473ed9cb4223b57aff1eaeed1d080039cde7044441e6466915997e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220901-cp37-abi3-manylinux_2_12_i686.manylinux2010_i686.whl
Algorithm Hash digest
SHA256 a3094397bbef61cd2c7e7ad5590ed48b6cc4533f7776d08799e3ee28fcdc1ef9
MD5 8a454094838f122bfd127b69059eb8f0
BLAKE2b-256 dfd65316851a6f50f1abefee2fd8b2048d7379a6b1450b78c64af8c3c1f92018

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0_dev20220901-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_dev20220901-cp37-abi3-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 aabc4c9790e892ad4dca7f0b588d3650d04a0e8d62049d816a5de6d7eed7f3df
MD5 bf1805a11ac21a55f3473d7f012d1341
BLAKE2b-256 5a3c57e1838092aaa6fad974a48d07e881198d7419ba21afd3c1a08073196e26

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220901-cp37-abi3-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 ce385dd1ce36f6a4aba260ebf5a76f9069ccf9269aa0029626a577c425f72d32
MD5 cf6670f156a9b4ecf5ed6bafe9feca2c
BLAKE2b-256 94a801d974a1a57d5193f212c79c07081a60136a54c877ad1fe6d5ecc6b64193

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