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.

Check the website zenoh.io and the roadmap for more detailed information.


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

To install the latest nightly build of the development version do:

pip install eclipse-zenoh-nightly

: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
    
  • Ensure your system can find the building tool maturin. For example, it is placed at $HOME/.local/bin/maturin by default on Ubuntu 20.04.

    export PATH="$HOME/.local/bin:$PATH"
    
  • Build zenoh-python

    maturin build --release
    

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

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_dev20220831.tar.gz (107.5 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_dev20220831-cp37-abi3-win_amd64.whl (4.6 MB view details)

Uploaded CPython 3.7+Windows x86-64

eclipse_zenoh_nightly-0.6.0_dev20220831-cp37-abi3-win32.whl (4.2 MB view details)

Uploaded CPython 3.7+Windows x86

eclipse_zenoh_nightly-0.6.0_dev20220831-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl (6.8 MB view details)

Uploaded CPython 3.7+manylinux: glibc 2.17+ ARMv7l

eclipse_zenoh_nightly-0.6.0_dev20220831-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (7.1 MB view details)

Uploaded CPython 3.7+manylinux: glibc 2.17+ ARM64

eclipse_zenoh_nightly-0.6.0_dev20220831-cp37-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (7.1 MB view details)

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

eclipse_zenoh_nightly-0.6.0_dev20220831-cp37-abi3-manylinux_2_12_i686.manylinux2010_i686.whl (7.5 MB view details)

Uploaded CPython 3.7+manylinux: glibc 2.12+ i686

eclipse_zenoh_nightly-0.6.0_dev20220831-cp37-abi3-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl (10.2 MB view details)

Uploaded CPython 3.7+macOS 10.9+ universal2 (ARM64, x86-64)macOS 10.9+ x86-64macOS 11.0+ ARM64

eclipse_zenoh_nightly-0.6.0_dev20220831-cp37-abi3-macosx_10_7_x86_64.whl (5.3 MB view details)

Uploaded CPython 3.7+macOS 10.7+ x86-64

File details

Details for the file eclipse_zenoh_nightly-0.6.0_dev20220831.tar.gz.

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220831.tar.gz
Algorithm Hash digest
SHA256 d26969aced04b1b608cc54c37d48c2ec07bd23e3592ff948ae106bb9641265a7
MD5 ebc3c0951cfd834cf6a5d30dfe02ad3b
BLAKE2b-256 2fc68ba98bf6dc6af8d7f9896595dd906810249337bbf08a444afb2dedca9141

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0_dev20220831-cp37-abi3-win_amd64.whl.

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220831-cp37-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 d0c9d428bedbfc2d7ddfaa40b707700a166d2dcd8c8720c514ba2ddac89bdd26
MD5 ee1e4e44b4705c050f9a2fe18fa39195
BLAKE2b-256 2981532cbd6dd4a29750914126d4e32b58f212473e492c7eeaa28738d59143b9

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0_dev20220831-cp37-abi3-win32.whl.

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220831-cp37-abi3-win32.whl
Algorithm Hash digest
SHA256 21c0be50d687347e5a07c8714bc94534d4c9ea94798aa05c69e6e0f09cdbb433
MD5 33c8c12928e8547de18429249d1f57d7
BLAKE2b-256 f23be0f87cfa7ebaa356ec51b6b47f75101d6fa306f6af660191cf77226fb787

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0_dev20220831-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl.

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220831-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm Hash digest
SHA256 e942535f21b714887ce5c25ab549b6ee9fcaf7b59f481f345dd9f562bdcaeb9b
MD5 4903cd120d1f725142e112acda99dd04
BLAKE2b-256 4b2b521b545b212de003e5cdf988e957ca26d9233e54be84b50fb257c54fa0fc

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0_dev20220831-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220831-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 a0b2b470630aabbdc658d8c0c8ec270b446e22bc9bede73d0fbb67070387d0e5
MD5 7b82ba0719ed2e189f171fcc593eb000
BLAKE2b-256 ad3274c20e6858f16cb8f3196e30403f777f5d1b040260ed8a8cdf3405517a7c

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0_dev20220831-cp37-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl.

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220831-cp37-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 a76006eb9ea1ee54a2cd86515ccdfb02fd676eae160855cae341d07d6aa4ed92
MD5 d4b0182518a5cdac8b86b17dbc386494
BLAKE2b-256 61a049245af158118cdefcc92a881645df6ab4e6308b3354cf312f751b24f654

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0_dev20220831-cp37-abi3-manylinux_2_12_i686.manylinux2010_i686.whl.

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220831-cp37-abi3-manylinux_2_12_i686.manylinux2010_i686.whl
Algorithm Hash digest
SHA256 f720bf7bb4f02721a33560d8ee2db80adca6b0919a00935b895a921d1a902366
MD5 18fd5b356b3c4447f185c907d8fb4901
BLAKE2b-256 2edbc9023fa64bd10e626827ebee7553bf3976c2d4cc87a5eaf21a48f33cf2c0

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0_dev20220831-cp37-abi3-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl.

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220831-cp37-abi3-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 1fa798b7df8f1da5ffb3882b3e9eae690b669ca00ff4238631da4b58ade28d5a
MD5 a08298b0899cdb82e278ebde3e2da7aa
BLAKE2b-256 cda8803894c63e0b97bb47f159327b8b339d7fe0c1499b08c0a950d0a47435e2

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0_dev20220831-cp37-abi3-macosx_10_7_x86_64.whl.

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220831-cp37-abi3-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 389824051f3969da824741f42c56b094073b874e356507814f0f928fa7045d22
MD5 06ea290d3c5d4bffd7ea841f285d543d
BLAKE2b-256 691d4f68dd54f3c9a97f244c5432c869026df5bce9b0511eabf47487d420fe9b

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