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

zenoh banner

CI Documentation Status Gitter 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.dev20220224.tar.gz (45.8 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.dev20220224-cp36-abi3-win_amd64.whl (3.8 MB view details)

Uploaded CPython 3.6+Windows x86-64

eclipse_zenoh_nightly-0.6.0.dev20220224-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (5.7 MB view details)

Uploaded CPython 3.6+manylinux: glibc 2.17+ ARM64

eclipse_zenoh_nightly-0.6.0.dev20220224-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (5.8 MB view details)

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

eclipse_zenoh_nightly-0.6.0.dev20220224-cp36-abi3-manylinux_2_12_i686.manylinux2010_i686.whl (6.2 MB view details)

Uploaded CPython 3.6+manylinux: glibc 2.12+ i686

eclipse_zenoh_nightly-0.6.0.dev20220224-cp36-abi3-macosx_11_0_arm64.whl (3.9 MB view details)

Uploaded CPython 3.6+macOS 11.0+ ARM64

eclipse_zenoh_nightly-0.6.0.dev20220224-cp36-abi3-macosx_10_9_x86_64.whl (4.2 MB view details)

Uploaded CPython 3.6+macOS 10.9+ x86-64

eclipse_zenoh_nightly-0.6.0.dev20220224-cp36-abi3-macosx_10_9_universal2.whl (8.1 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.dev20220224.tar.gz.

File metadata

  • Download URL: eclipse-zenoh-nightly-0.6.0.dev20220224.tar.gz
  • Upload date:
  • Size: 45.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for eclipse-zenoh-nightly-0.6.0.dev20220224.tar.gz
Algorithm Hash digest
SHA256 3d86056c3863c4ee445ae9d11794d5df4378e53e89d8c6ae6122e005ae8a0800
MD5 8bf248762b07e6fd0a3526ebc6ce1bf6
BLAKE2b-256 3a9748bb6e7453864be702c864f7cc59698bdd5a55efcc1a03fb0337ea18eb89

See more details on using hashes here.

File details

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

File metadata

  • Download URL: eclipse_zenoh_nightly-0.6.0.dev20220224-cp36-abi3-win_amd64.whl
  • Upload date:
  • Size: 3.8 MB
  • Tags: CPython 3.6+, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220224-cp36-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 f2b3c4a43b969944eb2a3aeed1a9dcf49e83e2fc870b93567cb2672e27fd75cb
MD5 205db99c06a5ce05691fec2c74b82852
BLAKE2b-256 f76cf7de7628f8c9da5909c0e06d6c762bab3bbe13fb063d0f81187ccc2f7246

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220224-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 e556c8aad7c872ae341e11ea429d64861cbb7b41498287153059d28c12a70c69
MD5 a747c1c22d6de3f9a8f2aca17517f3d6
BLAKE2b-256 1b47815236034a5bfb1dec80c832ea4edda69e25480bc6cb83b1c431921f498b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220224-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 6e681d08f0be304b8718a6547dbfc9054671f4458eafcc45071ba460a98b3092
MD5 115428cc54e0f1707a17407e43121d6e
BLAKE2b-256 ad52d7915dcbabe5e08e404cb93fd093e216f4d8ed6b37fbf893a7fd893a8f69

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220224-cp36-abi3-manylinux_2_12_i686.manylinux2010_i686.whl
Algorithm Hash digest
SHA256 ab7471e3ea305008b0fbc9e29332ce4bca84bb07951c63c5fc480a7800f6c433
MD5 5b318641ed260a7a19404c8e11fe7292
BLAKE2b-256 224e4052a83d127ed420187157ce49363977899a9c8447facbcf24236f2b20ed

See more details on using hashes here.

File details

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

File metadata

  • Download URL: eclipse_zenoh_nightly-0.6.0.dev20220224-cp36-abi3-macosx_11_0_arm64.whl
  • Upload date:
  • Size: 3.9 MB
  • Tags: CPython 3.6+, macOS 11.0+ ARM64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220224-cp36-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 85cd45da178f23fdb9035f45f59419501f00e7958532b930cada774caf681306
MD5 9cdef15a8f4d296d68d12787a986e18e
BLAKE2b-256 788715d75e0a6e4f68211ad05d7b4a31a7b8f21e06f0c619f9eed03f9894a530

See more details on using hashes here.

File details

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

File metadata

  • Download URL: eclipse_zenoh_nightly-0.6.0.dev20220224-cp36-abi3-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 4.2 MB
  • Tags: CPython 3.6+, macOS 10.9+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220224-cp36-abi3-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 547c0a61f54f17fb9f2082e6593dae15bda49384e79096813988ce0be20b7f6a
MD5 7d1be2dacc7cb2fb668fb7ff66ef3e7c
BLAKE2b-256 dca726fc167b84c6aa24818ecca56999b258c097752f2b5e147a3f563a369b02

See more details on using hashes here.

File details

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

File metadata

  • Download URL: eclipse_zenoh_nightly-0.6.0.dev20220224-cp36-abi3-macosx_10_9_universal2.whl
  • Upload date:
  • Size: 8.1 MB
  • Tags: CPython 3.6+, macOS 10.9+ universal2 (ARM64, x86-64)
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220224-cp36-abi3-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 c7cbc2b9cf79d7c713f2b1e418691e5376167f9c4390b86b151039e98994a3f5
MD5 8a93695556e861ed51f0fcdbdd89d97b
BLAKE2b-256 2b81e031103a8ff777dde49a18eda8e210a0247034775a9fd2c73f11406f0034

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