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.dev20220125.tar.gz (44.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.dev20220125-cp36-abi3-win_amd64.whl (3.7 MB view details)

Uploaded CPython 3.6+Windows x86-64

eclipse_zenoh_nightly-0.6.0.dev20220125-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (5.6 MB view details)

Uploaded CPython 3.6+manylinux: glibc 2.17+ ARM64

eclipse_zenoh_nightly-0.6.0.dev20220125-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (5.7 MB view details)

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

eclipse_zenoh_nightly-0.6.0.dev20220125-cp36-abi3-manylinux_2_12_i686.manylinux2010_i686.whl (6.1 MB view details)

Uploaded CPython 3.6+manylinux: glibc 2.12+ i686

eclipse_zenoh_nightly-0.6.0.dev20220125-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.dev20220125-cp36-abi3-macosx_10_9_x86_64.whl (4.1 MB view details)

Uploaded CPython 3.6+macOS 10.9+ x86-64

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

File metadata

  • Download URL: eclipse-zenoh-nightly-0.6.0.dev20220125.tar.gz
  • Upload date:
  • Size: 44.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.10

File hashes

Hashes for eclipse-zenoh-nightly-0.6.0.dev20220125.tar.gz
Algorithm Hash digest
SHA256 0707a92f38dcc8c2f98b3fcef1bb84540f310dddc4cd35181bcd68e5a46676e8
MD5 271bba387cbf70b9e505ab616a6658bd
BLAKE2b-256 0dfb2538973696a059edb3a01505fecbd3e6e9c4e2ae5bb19824c6e8b3c479eb

See more details on using hashes here.

File details

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

File metadata

  • Download URL: eclipse_zenoh_nightly-0.6.0.dev20220125-cp36-abi3-win_amd64.whl
  • Upload date:
  • Size: 3.7 MB
  • Tags: CPython 3.6+, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.10

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220125-cp36-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 6d06c2c925cb940b7b1bb5c56a86f13927b29dac4fd757b1e3c274c2fb5ab0d1
MD5 31176fac8510ce4f10478c8c8b67f867
BLAKE2b-256 bb106ebf8850167fca9751bb2f8a6304f1992c292b8d6d0eb59bf49d1a15a53d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220125-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 b4c66c6bc868db21720b1568ea6c127de1aa851c5dadad6df8999dcd98ddb4ab
MD5 1e14e4e0d116ec397964661a421e3c6a
BLAKE2b-256 0abdd0f51d95db37e66970dfddafa14685f6d0bab570aebdd241fb388f43c637

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220125-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 cb9194a0724606010892a7f298a2694379583dbf27872b2681529a9ec2c93f4e
MD5 e68d9ea9ffd023bc3ec3a2ef83fdcb0e
BLAKE2b-256 59c0739d6be30c56bd3f472b12038c3e5c092ca99e97af60770a2d285f7dbb22

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220125-cp36-abi3-manylinux_2_12_i686.manylinux2010_i686.whl
Algorithm Hash digest
SHA256 9ee9f5e9a0de8e262e31f747bef93312052c1e37f1ed907a00529bcf90cc1db3
MD5 d335acb18bb2a37302f708945a7a7473
BLAKE2b-256 b8f74a97f1cff8e5785d3f13ba7a8f7ec5e7ac3c5a7fa79e6dd1bb3afbeb4053

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220125-cp36-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 67436dd3b04ab281d6be9a20dd63f08bb5f354165ac41a77e2efe93b2cc3ae48
MD5 ed4e779c55cf9a128e4f4f4e2d23c50a
BLAKE2b-256 ed3f4a6a2e371d71fe4166429a05919db806d63a71244ac77b43cde342ec8716

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220125-cp36-abi3-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 43fa5ad2ed59513b45325a421e6f1093aa51609da95bf96c0fe7d93bec79e930
MD5 2f46e39cb12fd535bc864d763d306c4d
BLAKE2b-256 3b0dca14b4746d34404d32f9479a50849c754c5232c285aca719b4399ede23aa

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220125-cp36-abi3-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 22f19ce70d5b00a41846fb30c3b982b767406eff7435217deb8784a5b1756e1f
MD5 b1236158819642a969c92d1b4ac8cff9
BLAKE2b-256 1682c2f2a88e2e9e77e4ba8fe26c317594d54954908594dfc41e587170d19057

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