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.dev20220201.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.dev20220201-cp36-abi3-win_amd64.whl (3.8 MB view details)

Uploaded CPython 3.6+Windows x86-64

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

File metadata

  • Download URL: eclipse-zenoh-nightly-0.6.0.dev20220201.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.dev20220201.tar.gz
Algorithm Hash digest
SHA256 f9ea934f99bb998e4eaa16fbf114eac903859d751b2406e2adb8af091db20938
MD5 16e1e9a8e8317e9eaf4312aaa8c67ed3
BLAKE2b-256 48d025c1944b7eb0ec5767145827079bd6806ccc150d6df6a4402406572da8e3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: eclipse_zenoh_nightly-0.6.0.dev20220201-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.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.dev20220201-cp36-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 5a43f10ef0fa218b20bda0aeeac8e5235880a93c66616cc8ca081e6a4c8ec4de
MD5 afc3355b207d3b30a4c8f0a1ff82c86e
BLAKE2b-256 d605c0e3148c7da0594823de1aec5a7f2cb6c047919dd612e0f6831263963b0e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220201-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 15544d50bc565ae8879abd1b15f517617ce41963cf94af0c2a812243fdc2b036
MD5 cc8cbc5bfbb41062373e6d6ea10791d9
BLAKE2b-256 9be12aaa7221b866c101d6cdb73a276060ab4c48b3f1d317c1c28061c6af3202

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220201-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 0f5ce9e222e1b801dc648a598e331216b194876a602b7de001029a5a3c1faefb
MD5 b882b591272f7806d24c92fd5123a544
BLAKE2b-256 bd256ebe2744989f7ba546c6c58f5a3c35cf7460cebb8e91466ab57b8c26073e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220201-cp36-abi3-manylinux_2_12_i686.manylinux2010_i686.whl
Algorithm Hash digest
SHA256 1439c8a0dc66acc93d76939f2a5ee31fe90da19d3fdbb2637ae1f546b8ef3364
MD5 0db1adc68b582c503f72cb5ed2d8b552
BLAKE2b-256 b2cda537c39c8ccff932186ff66c339789e0fc4e6202d3f5c99ffefebe9bd788

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220201-cp36-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 8e1420638f236a2599f91f4e7490614bffa72e8c181caa02961717474acf0807
MD5 e4a2a19b880f234c4253292c7929a582
BLAKE2b-256 b9813f9e63ad15896dc419bf1309592d08fa29f4608772f17f7729e25e479a11

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220201-cp36-abi3-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 95978baa7737916ffe5b909b3aa85b79bea68bcb8bf6c0e7fbab55daca5d3eb1
MD5 19ed8bede2338883c9557451e982b3f6
BLAKE2b-256 e4e2bf4a14859b2cde93f8aa8d7c7e5b1802e2a9d22286c7b0120bcbf9e64e69

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220201-cp36-abi3-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 1fbf9a456e12216f73c20b0e16d4737835e8d9840a7acd49b90f02b550bd5393
MD5 cfa8a3fcb05767776d64e185b3d8f1e3
BLAKE2b-256 0179fa294f48e29a322a4bdeaf00503574fb37a8beab89ad9fd39a81dcf49019

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