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

Uploaded CPython 3.6+Windows x86-64

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

File metadata

File hashes

Hashes for eclipse-zenoh-nightly-0.6.0.dev20220506.tar.gz
Algorithm Hash digest
SHA256 c536989030108831219d662ea195701799062f9f71fe3f8b82323a6d52a4fc0c
MD5 d3d4e273c704ed8dfc050983c162d0b8
BLAKE2b-256 39b8da2053b5e5472beaab9408cd989d17d5dea57cb6d44920c0f1378fff0c84

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220506-cp36-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 71da6dcd7e3011e1874f3eb36c99e5401d5ae88738656692c3ee3d10e8833af8
MD5 261c8760b4d4f32223ab352415ac8cdc
BLAKE2b-256 72ed093ddf2478c82be2920087bcbe56a8d7cc65d1639bdba70a9c51c412b97c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220506-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 e6aeca3a20bba06f24c472ad1d90bdf9701bb71fb4a370f8c40bba01c08bfb53
MD5 c8152469103d2d68e8bb0378f35d465f
BLAKE2b-256 208f309cba9171ebfcc458b6c9b82d03824ec80f2c62f0a685b693e85f1a9479

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220506-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 3b1c8ad20e560cf39afd150d886bc150bac19fe56b3dfe847f3d476f7c87f07d
MD5 336bc857df003de0e6d135981c026b27
BLAKE2b-256 fcc48553e5f672569e8d0585ca8bb2e19dc2c6d5c477429ad72fee85496c7a9d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220506-cp36-abi3-manylinux_2_12_i686.manylinux2010_i686.whl
Algorithm Hash digest
SHA256 591a6e4c91e56a577712df9c6973f950f72dd9bd0bf757019d31b523aee823a2
MD5 ca74195a4d35db64ea012874520845f5
BLAKE2b-256 46616f70a5f638a3047eabf0cd09438809030b4dbdde723b74c3808078e6e811

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220506-cp36-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 3f357a04f8cd259f8f4a9c482320560e6de55fefb63c408748845ec59101fd17
MD5 1e0c2865519b1e0b2f47d9a5bfe9e1d5
BLAKE2b-256 8cc7d77209d0e94067880401cfa240f16f7ee50c79146686dbd8e978e5aefc90

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220506-cp36-abi3-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 3d230b4ff882f3618d7b16d0b2ba30fbfeaed6441896b9625008f6bfccf50b38
MD5 dba8132136926bff517324bc55c26411
BLAKE2b-256 77595c396021a6e874230b9a17459651a114d68cfb507383834906dcf475920e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220506-cp36-abi3-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 0e174de9947a396b9d444885aaf6693832c3f36e5e60573fa52136b4b06d101c
MD5 b0d028f06478bad4ba30ff02f7e9dd29
BLAKE2b-256 9025f6eb9ab78262def9bf9630e936cbf2efb5c34d37c3ffa2e306fc4ca25788

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