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

Uploaded CPython 3.7+Windows x86-64

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

Uploaded CPython 3.7+Windows x86

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220722.tar.gz
Algorithm Hash digest
SHA256 201bc87f54ea2c17be28a3f68a7e276528fe6b7d26e0cbde362999b94123a9bd
MD5 bce1ed75fd7ce4e8803217cfef6306b1
BLAKE2b-256 50194ab1c0325834e7181251902ec36715eac088c756cd4c01965ca2a28e4efd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220722-cp37-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 09ddc25141b133c4e9ff462389a8c34a407cbca4034011e0d54b5841cfc17f9d
MD5 355534e6a652fcdac8457d87a9d33ad3
BLAKE2b-256 fdfb93580faae95e7c5c14090c72071b7c242fde1f32ad972b2a1dab43ab834d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220722-cp37-abi3-win32.whl
Algorithm Hash digest
SHA256 d84deb87c12954b5876f7a40b971efde6fe4bb0db2e6eed3f7d3ef42f6afaba5
MD5 f8270cd2501a19de014ad2e6e24c0491
BLAKE2b-256 0ec99c0a2f25e3735cd82ba78ef1885c483f9e341ccc82d394bb8fd4fb65f1e1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220722-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm Hash digest
SHA256 6ab874881c1fe03d832858e2669acf63a44fc284b7eca49d98f4d274971e00ff
MD5 592e984c20b9a8abd8fdbb0826ec23d0
BLAKE2b-256 e039f50e5ba674668018c10f90a2e4ef9e71c77dc6b628e25cdd52cc69bffcbb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220722-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 8c3592e1ac39149f54e71129b117e5ff25efe3d8dfd679f7791a9a7367803bcb
MD5 7f54c363df9d02a68cda22cc9e6005ca
BLAKE2b-256 6dba919a6b38ff9f5a01b766c92899a3c70202b3f091b351eee689e839d1e543

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220722-cp37-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 ac12e57b4036d1f8b9c70d4a69dad3d95b41df7c23e23cc1ecf5de64ec35fd5c
MD5 bbc7067d4bec11cab92d47ece5819388
BLAKE2b-256 f551bd3b13c2fcba6573dc1261b0d9e5802839a91f6fb744d0b10f6c17affce2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220722-cp37-abi3-manylinux_2_12_i686.manylinux2010_i686.whl
Algorithm Hash digest
SHA256 752455f22ee1ceaba6f21787e2498d1201c6e85f8029991232f39ef10ae9afec
MD5 a63911f28118fee9cfc754f2cc8a9fa6
BLAKE2b-256 1eff2718a75f787685fe6711f3e320d7d68ac4470ded1492edb547d349e3a0ba

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0_dev20220722-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_dev20220722-cp37-abi3-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 028c44450bf0ef530e4bf0ce51107b5957985a82a045161b0ef2b534f5a05cf0
MD5 d81a6b2a489add2422831a7ca3dc89a5
BLAKE2b-256 79b137b05a90270070062d47df0cd872ecbb7d33261c13468e015d4d440f5a42

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220722-cp37-abi3-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 02e5c61716096118570ffeeffa9b1785d6b616e0702092c7871b024917f371f2
MD5 d886c17efaced3d4a4f32df0647ec19b
BLAKE2b-256 40a47df9aba65d4bd3c1aee6ec568d90b715d1046404eacefdfdb6d9bfe0b777

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