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

Uploaded CPython 3.7+Windows x86-64

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

Uploaded CPython 3.7+Windows x86

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220729.tar.gz
Algorithm Hash digest
SHA256 f8bff28f3201ba6c4b74cab43d894a368a517332e047e14f89cab91cec9d3cd6
MD5 da47fd754be5e5ef40267412f21b4301
BLAKE2b-256 5e80d3de2a09f24f2fab8ffa47479fcd1eed04f1a5b5914b14a0226000900aff

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220729-cp37-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 1c610135787755d88e35b98a60f41a4673bb5dda555518c93543ac4935f14937
MD5 32d05e3e093f4971448152daa49c491b
BLAKE2b-256 e45a28390887937698b5bf3fe1af524d01edf124dd3a33a4e1db59cc77970773

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220729-cp37-abi3-win32.whl
Algorithm Hash digest
SHA256 67a9043cfbd4cd213f13a305d44218731255f590165123db1bc8af7a2cdd10bd
MD5 d57076b21b8f34b2f5f21cd7488017f8
BLAKE2b-256 06830afefd09783f9d17e279a6bec3fccc2b8e27a24103498952c59200d9d32f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220729-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm Hash digest
SHA256 64e5eb5306549a897c4f8f2b2908eeb04596a971967d68b4bfa1e4f5bd5142d8
MD5 7f786d46e63ed38ab015543d3a2fa1b6
BLAKE2b-256 44591338a11f006531bf3d058a8875d0367799045d7302c20ca21f5959024cf4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220729-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 e45ea7a78e5302311f1bcffae5064ab0829637fd9bbdb131097a0efd8f73bb56
MD5 13b9e3c3da740f698edc557e825af4a3
BLAKE2b-256 170079701e7ac7ba338d2ea93291978e53b4839eec72fb10f196667a36f423d4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220729-cp37-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 79c64a34e194b159fae4546bc5138fe286a0418b73d3bd14a5e3eb5166c64c90
MD5 cb317f36de3001cf26f4f038368f6b37
BLAKE2b-256 8a6173819c85c1f2f9d8240cc37204ab1c1c14182cb58a47acbd9a6f9e48e1f4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220729-cp37-abi3-manylinux_2_12_i686.manylinux2010_i686.whl
Algorithm Hash digest
SHA256 28418ea03de6b7778969a3021ca66d5cc30ef278542c30aff3564de3448b5a6f
MD5 46a74b6edad6177df14627e15f164ecb
BLAKE2b-256 03ca72cb64cf67581ac63dd7851d6d43e49d547cf029f85f86e94dd164edfc31

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0_dev20220729-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_dev20220729-cp37-abi3-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 4a88c3bca9895f48f8e16e4df20f2450ec32abcae1fc1fa87136a907f9addbe6
MD5 56bde7405fb85d738240ebcbd6e1decf
BLAKE2b-256 d9ce816a1fcfdb12b4a9b198cd77fa8770ce3b858bbf1168b569ec5cafbbb39a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220729-cp37-abi3-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 2aed8b081f3e7a69a7f2e179f9ce9ab5dbcafc42a462d7cb9e43ba080cd43b4a
MD5 df5e5c8acbc3d47f822457f0bf487da3
BLAKE2b-256 e3dbcba37511b061a09ce6bc1b18349757c71250b255169ed34bcca530a3be0e

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