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

Uploaded CPython 3.6+Windows x86-64

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

File metadata

  • Download URL: eclipse-zenoh-nightly-0.6.0.dev20220127.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.dev20220127.tar.gz
Algorithm Hash digest
SHA256 022920911512f89cf080b7bd440502b2452d1163028faf8345bcddbba63a859d
MD5 3d15fa495589ca2ac4a2421ad7a4f1ca
BLAKE2b-256 dba8d3e3eb299beb87d4999fc897559ef1059b826a4d077c60faa28929208eda

See more details on using hashes here.

File details

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

File metadata

  • Download URL: eclipse_zenoh_nightly-0.6.0.dev20220127-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.dev20220127-cp36-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 0fb4c916d8deb5e4ff54d09b875523fdfdb485f5d4377ebf6ea10daa9980b888
MD5 0913e5e5b625cea041ed56f80fee24de
BLAKE2b-256 811011b4e0cd2c5e695fc2bc11b12599a9f7fcc9b85168df17eab172b23e1f49

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220127-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 0d566d85901e4e4e71d221e3e4c061ec721293f8c12c0b8b6dcaa02b9342f96a
MD5 dec8b585e63e4ac561c472908991f7b3
BLAKE2b-256 5beab4f512c8ecaa89f1243694130a3ee406bec7b660e246c0e0724d5f3603c2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220127-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 019d7a5b72be98fdc73025c7f487c6678aad641e2ecaf6ba78072920673d884e
MD5 4b9c6a85cd6e84064b2dcec975b474be
BLAKE2b-256 497869f18c5286b92628ef86a08b617258f969a9c1993887e95347c21baf5c10

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220127-cp36-abi3-manylinux_2_12_i686.manylinux2010_i686.whl
Algorithm Hash digest
SHA256 54db38fd9cf8450ccb6610d053b60e147a176d8d46fffdea927d721e28ccd9bc
MD5 ab7fff7043079a357c92ae00034282c2
BLAKE2b-256 25072670cf0bf0ae8e4d6a18dad10fceec1763d1f5fe165923ad4665e69e8d2f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220127-cp36-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 3f27fb32c43083eebffacaf3acf16bc54bf0c90c6c77902b48cc224188a34ae8
MD5 7bb77791aed0a3690a01a9c1c3787714
BLAKE2b-256 6b4b71de8b429617017019a6f517d32cba7861afe965afc4043f6dfa8befcf4a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220127-cp36-abi3-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 780daace2bf031b7a948e799d0ca36efc9a69e8c9201654b753c8dbc14ac2784
MD5 27790b992dbe82ab0114f3c8f6d09277
BLAKE2b-256 3d42180dc214b8f8865002f364639b53eded56903b44a618ff11884073984e87

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220127-cp36-abi3-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 ecbb7bfe3beb8e235ece3dc83b7942560dbbc7539b28ff0ad5bd211fd3d28639
MD5 5593de52c1464fd43fa2e815b473b791
BLAKE2b-256 6398a390cdb550ed51340fcbf7084626a3e341a3bf5ba5a1963d77cbf4018aee

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