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

Uploaded CPython 3.7+Windows x86-64

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

Uploaded CPython 3.7+Windows x86

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220627.tar.gz
Algorithm Hash digest
SHA256 753b523bf12a04f5cc1e43cbea2b41bd6d9bc7ff07e5742694820335e729e9aa
MD5 0c587625634964810ea09227f28feb8a
BLAKE2b-256 f5cf35d159af1841dcee7e962a5ae59a0385af972ccb4bc13c05224062b0cb50

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220627-cp37-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 df1efb6d7752448909c5b9d90c64caf243d03413fdda37e47226b76c916aec16
MD5 0c8ce80f32609183da3fafa85aec5c27
BLAKE2b-256 c6c21e7cba8054350c73f1d84c632ae3388247ce3cce63bf805901738708104c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220627-cp37-abi3-win32.whl
Algorithm Hash digest
SHA256 1daa387a1ab693d45e41e612dfb17eaece656b7ea57b67058584298625e88568
MD5 5440c13629222ca4914b8145d039b1b6
BLAKE2b-256 5278b26298cefe5e23f6e529f697cd80446a5d48810a9d369118b24311716d1e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220627-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm Hash digest
SHA256 dd535d529c8ab2260653d90dcb47118649bc3d31288a10920e381de1deadc326
MD5 9d0fa0bccae8662b53321da986e84d80
BLAKE2b-256 e3dd9aa620c7d1e68066b9d9a9d3651dd2769fe46d5e28ea44e23a07fd1b549d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220627-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 18e0cfa6d049a4c7c916b07ccf326cdb0c875703c20e82a6e0e1db42c8e05ea6
MD5 6e8e6ecd7fd5b44c185c125db717e16e
BLAKE2b-256 7c0c04e5f199ad2ad61ab17e3b60c7a4c5bc98be36265fd67e6d77ac0e0513eb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220627-cp37-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 594603d318f90a91a0b971c0308edd17515cc63fb9c32d29ac84e4e34ca052c7
MD5 f7b3a7db87a07fbcf5c380849de50e11
BLAKE2b-256 280095d637dd9466a0e81406c631281fe1e3fe0f2277dbc04d2233b063824f9a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220627-cp37-abi3-manylinux_2_12_i686.manylinux2010_i686.whl
Algorithm Hash digest
SHA256 aa31728a197752b5b6554503d1896981fab05436bc8dd64c4dbd98c46fb6a330
MD5 9ac6de59e0f296cb1a45832a6b6641e0
BLAKE2b-256 ea80b60a50e73eff4b261ff77ee9021755bf7037d0ce0919c6934efe515d8e61

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0_dev20220627-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_dev20220627-cp37-abi3-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 12a52042c2a771b76510aa62848af80a7d80f1d59afe0ef8f20eaaa6b2c2951f
MD5 0fa470cc0608f69b896e89ad3f19aba5
BLAKE2b-256 5fe72a26be007eb9652507b6cc1fd3507d6d5da8999ae5092891427101b26e93

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220627-cp37-abi3-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 b7b6ca5358915aa75dea27f1383dbd9a4e6060c36e0ea28b4190a97af05e7add
MD5 6992a438d314d7952758d508495256a8
BLAKE2b-256 088de0a55bf94a10812e5380e59d88daeb59c7dfc18d8b9d4de49518b15891b6

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