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

Uploaded CPython 3.6+Windows x86-64

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

File metadata

File hashes

Hashes for eclipse-zenoh-nightly-0.6.0.dev20220505.tar.gz
Algorithm Hash digest
SHA256 1293cff973eccdd2e3a298e5e09755b602e27f9a40249b72cacd1aa51ffa9b6d
MD5 709af2c59f8364efc353b8bad7f608f4
BLAKE2b-256 9a7c211cee07c59e398d3ed04946c14ef4d26eb7711048d2ed0b29fe6af3411a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220505-cp36-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 3a046118164c89f895c960747466fe49113795acf8790f4a06152bd672ed4016
MD5 8b91b7d3132c9e44f34a90b68832f06b
BLAKE2b-256 ca598740b0f69ca1a56c7568d2f4a4938a102c2010025e511e85b3a3be429544

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220505-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 d5b472e17ca54aadc9d25e48112bc80a757910d273bdb5d1fe1297c390342d2e
MD5 b9f226db8ddeafcbb436bd001d292171
BLAKE2b-256 5944c2903c7f422d6eec5595718f35877e3c41583f30caeaf7b93d70f68c8db6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220505-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 1f63c8b7ab93414d56c18103eb728ae7c8cf3bf906309ec0ec2d7ba404c19a1d
MD5 b21e410b8ffc96209a083c0ee0e80619
BLAKE2b-256 8c39b2cd413bbeb3eb5659b69efc514b6f78a5f0d6c9247bc3144b36a4c30c47

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220505-cp36-abi3-manylinux_2_12_i686.manylinux2010_i686.whl
Algorithm Hash digest
SHA256 0ecf1795045637f6086cf1cb5a2923d0393648033606e00e767e827fe56c5a2d
MD5 3696cef250994fed335efb3a802c91e9
BLAKE2b-256 42555bd6b8ad438885347fcb87babc303a85dd60eb034fee123a872e1aa11820

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220505-cp36-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 2ac7004886317f69c07c1cea5eb0c3d3687a85b65e39287647bd8afaf4bc07d4
MD5 de80febee66dec38ad31ff8ce83b8ca3
BLAKE2b-256 1412bf49f43846d933281640781f0f042e885da69500cd6f28e24d5757fe92da

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220505-cp36-abi3-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 662d26e05bc4531292a1635b2e4622e79c7089b4e8cc688f1e73088a4efa2026
MD5 88dca1d73fbbcdb3bc1d90c0390d95a7
BLAKE2b-256 704e7510a113fa94b28afe19d670113071f59ca57b53ad69d9c27a398e02de0c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220505-cp36-abi3-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 5251a19c90bd359de46ecd30eddc301e1c8f04e5b8f45157429aefb357d47c39
MD5 5803a05b49ff5a3d90dbff528dcffdf1
BLAKE2b-256 f113a38f37a035cf014aedf8beea076084288c28565c836d98a55b8054e5f231

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