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

: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_dev20220708.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_dev20220708-cp37-abi3-win_amd64.whl (4.6 MB view details)

Uploaded CPython 3.7+Windows x86-64

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

Uploaded CPython 3.7+Windows x86

eclipse_zenoh_nightly-0.6.0_dev20220708-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl (6.9 MB view details)

Uploaded CPython 3.7+manylinux: glibc 2.17+ ARMv7l

eclipse_zenoh_nightly-0.6.0_dev20220708-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (7.2 MB view details)

Uploaded CPython 3.7+manylinux: glibc 2.17+ ARM64

eclipse_zenoh_nightly-0.6.0_dev20220708-cp37-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (7.2 MB view details)

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

eclipse_zenoh_nightly-0.6.0_dev20220708-cp37-abi3-manylinux_2_12_i686.manylinux2010_i686.whl (7.6 MB view details)

Uploaded CPython 3.7+manylinux: glibc 2.12+ i686

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220708.tar.gz
Algorithm Hash digest
SHA256 e64dccecaa9d5d3e1dd63b96db111bdb9a88984ae56505ae02ddae4381ee5892
MD5 1bc114137e98fbb3faac008adf456cb8
BLAKE2b-256 a71cbe287d76c66babe2e34fcfa264f124e9bf995f186311db2847ae476c78d6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220708-cp37-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 007c951162321058fd9ac67693a64504b8a94f8ee8dcbe863555c5e9cf30362b
MD5 ea648f9f9f80f50fd23cd66349f74d89
BLAKE2b-256 77558fb0d159ffd50a8cb6a96399d818b61f6d7ea914d2535ded783a77303410

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220708-cp37-abi3-win32.whl
Algorithm Hash digest
SHA256 512dc5cfa6d13e2d4100d1d640695d6e4cbfdc301d678877e6430771ce880452
MD5 000913bc5947e50b9309a44cd5a8dcac
BLAKE2b-256 66e4cdcc4ab0eb1975e768949a73a49ba6be93ce840ea63a3000266905deb7a8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220708-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm Hash digest
SHA256 c5870f7ca1b2db010f48cd32595cfeb8ad146c432e44fd4280f6713fc92ff6e9
MD5 6d647e28793eff96ece3bbf00372eeca
BLAKE2b-256 7a5848e200d94941abfdcb50d3373e32645acbd8dac0cc34fb2e9fe8c5aa92f6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220708-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 d900db5ec9254769ec566d1998dc3d59f456f406677e658c6b6251d4de07c445
MD5 66fb7dba117cdac6e8da601b8da9c93f
BLAKE2b-256 76e5808b5bf90adbf34d28bd1b779e8c90032d874b1f72d7df9fcef9571bbb30

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220708-cp37-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 8641ebb4d840b58a81f14072b3d5993090eb9f475b744fb47ccc9d5a8539e6e3
MD5 8247e56719eb0f2332158ca29852cd26
BLAKE2b-256 41e1568032b95eb0e40d6256e90d7b39acf63e4f7a8e09d8a9b5c66756ec06f5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220708-cp37-abi3-manylinux_2_12_i686.manylinux2010_i686.whl
Algorithm Hash digest
SHA256 61b48e6ba1078298c9770bd914a40293ae1a590fa001b543e44318e79a2f569f
MD5 fd401095a8be3f115b9003ae473ad3ac
BLAKE2b-256 c63ddb7cf1063f82b823d161107157f87aaa00c534cf7607151645f1e68ce6d0

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0_dev20220708-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_dev20220708-cp37-abi3-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 e8651f5064ba60aa558d12189ace8fc8d5c177c7041f099a1b11762c91e4ea8e
MD5 c9ff8e1d2218177d22ad8620d761b2dc
BLAKE2b-256 96493557fcdf46f21e9e6e5d7ed92cdeace3467f4a88015960911a83cb206625

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220708-cp37-abi3-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 b65c8f022c49ed29f049a5f1dcb645beddb35d74a2c76164db2c42c25e873e36
MD5 30e871e07608a3f27f7dd3644639b7b5
BLAKE2b-256 93fd90784e0570a533fbbf1889617b6d56d0e08d1cea7c8aa91caea90fde7149

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