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.


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

: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
    
  • Build zenoh-python
    python setup.py develop
    

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

Project details


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.dev20220512.tar.gz (51.2 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.dev20220512-cp36-abi3-win_amd64.whl (4.5 MB view details)

Uploaded CPython 3.6+Windows x86-64

eclipse_zenoh_nightly-0.6.0.dev20220512-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (6.7 MB view details)

Uploaded CPython 3.6+manylinux: glibc 2.17+ ARM64

eclipse_zenoh_nightly-0.6.0.dev20220512-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (6.7 MB view details)

Uploaded CPython 3.6+manylinux: glibc 2.12+ x86-64

eclipse_zenoh_nightly-0.6.0.dev20220512-cp36-abi3-manylinux_2_12_i686.manylinux2010_i686.whl (7.1 MB view details)

Uploaded CPython 3.6+manylinux: glibc 2.12+ i686

eclipse_zenoh_nightly-0.6.0.dev20220512-cp36-abi3-macosx_11_0_arm64.whl (4.7 MB view details)

Uploaded CPython 3.6+macOS 11.0+ ARM64

eclipse_zenoh_nightly-0.6.0.dev20220512-cp36-abi3-macosx_10_9_x86_64.whl (5.0 MB view details)

Uploaded CPython 3.6+macOS 10.9+ x86-64

eclipse_zenoh_nightly-0.6.0.dev20220512-cp36-abi3-macosx_10_9_universal2.whl (9.7 MB view details)

Uploaded CPython 3.6+macOS 10.9+ universal2 (ARM64, x86-64)

File details

Details for the file eclipse-zenoh-nightly-0.6.0.dev20220512.tar.gz.

File metadata

File hashes

Hashes for eclipse-zenoh-nightly-0.6.0.dev20220512.tar.gz
Algorithm Hash digest
SHA256 082c156d7d63c3e7bec94e9b0c71aa7fd0d5139e3e49a24b92632ed0df2ed5f8
MD5 33dc89cddab08b73a4e488101e66f60b
BLAKE2b-256 3ff44996b3d5fee0b235def87e51736449f3d69ba38f5003214487c02616586e

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0.dev20220512-cp36-abi3-win_amd64.whl.

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220512-cp36-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 52810bdff224ab47c5466fe3a764291035642d32dc7701beceafa03d591103e1
MD5 643d6bf43ef1730bab61c10465aded9f
BLAKE2b-256 15ae60bd6631d5d2dcbbba9fdc514c0b118cb3dc2151b87b293ab2973f972fa4

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0.dev20220512-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220512-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 891d06e8d67f4d873d105d5f2e2a2a8cc0dd12a8c2bbabd86afc91ec2d71bc89
MD5 ebcb50a5bf9c4fa8bfe1ef13c416e512
BLAKE2b-256 93488f84cab459527ed8b01b2a365676ab84f90de9df495d4b59431327c6938a

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0.dev20220512-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl.

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220512-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 f781c5d71f92955a0b1ff4d415ce885a86b4fc7fe1f38c7bc2706799c637bb62
MD5 df7e8b2dec23dfab3b69633e212d3e3b
BLAKE2b-256 b0dfd61463df44a2620627a1a268c2073b3f5da8dd5230813d1d6c7913361d62

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0.dev20220512-cp36-abi3-manylinux_2_12_i686.manylinux2010_i686.whl.

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220512-cp36-abi3-manylinux_2_12_i686.manylinux2010_i686.whl
Algorithm Hash digest
SHA256 b05154d239a606158497bb9932bcbcf33e579c8db6de4336d502b9e6e701ad54
MD5 0d750c394c45cfbf7fc5b4a4caed17a5
BLAKE2b-256 6c1b526fe7d9fc4fb472e8f1e588e45ea5e8b67f64a90e5f2c1309c6925e3daa

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0.dev20220512-cp36-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220512-cp36-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 3fd9bb0d8acd645473df18b0c80cbf731fee5fb1c1dc9d77b702c64aa95e165e
MD5 2e6ba26d98ae8c6386dc15b8bb64a6ae
BLAKE2b-256 10c442adc45a2ec5c082357e981cb29eac6d717e526c3fddb1f105738cbe0f04

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0.dev20220512-cp36-abi3-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220512-cp36-abi3-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 314f3711e4be9936d573b51c366c81f7bf406c3b16e8c39d32b0f098e70859be
MD5 bcaeeb95549cb11bb9d8ec740cf9ee5a
BLAKE2b-256 58afb67a089b2e3a8b28bddeddd9be8164fbc97b1fca784fb54d1a6a96cca126

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0.dev20220512-cp36-abi3-macosx_10_9_universal2.whl.

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220512-cp36-abi3-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 8a4511ca0d8fbc723e23c3e4d88ddf418f5858019b93a716362b46e331dc5153
MD5 3f70f5ed1ade253f81601e3ea8601512
BLAKE2b-256 881d7c6346b602d12e2cf371a75b8e13c33be1dc8a7a7e6a83d9ca42b6d462c5

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