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

Uploaded CPython 3.7+Windows x86-64

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

Uploaded CPython 3.7+Windows x86

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220628.tar.gz
Algorithm Hash digest
SHA256 98bf6ab5e3edbd9768255040e3f46b99fc4d62ec8ea94fce2369128e6e8731b5
MD5 57eeca13e9683c82fc91e97528f42f51
BLAKE2b-256 a41648fb775270f9260c2f5e53057bc9d73860e6881706399ed59e1bbe562cc1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220628-cp37-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 9601e2ba15ee829ca8620df17a1acb01285a622d933c16c6ec40c0690ef12f13
MD5 42e538360c66f8fe0a50c64eb8f03103
BLAKE2b-256 0abede72a3867159c7c002c90589f83d7cc881b5b244cd84180a779758ec32c7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220628-cp37-abi3-win32.whl
Algorithm Hash digest
SHA256 5a8bea9078f867df9ed23f905ae70f65005fe9022f1ae845820f8557421440a3
MD5 0789df43296f233c8f3c26e076216c24
BLAKE2b-256 0c7222cd12aaee45a4aea64f65d838084beac44b4693560539152e392fa039cf

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220628-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm Hash digest
SHA256 e8b68c93ea1eaa7f40030bf0c1e82aa88b83b7acbbd2448c9267e0fdb8ed36c6
MD5 08094a6670e813572a8c98e3587505ef
BLAKE2b-256 9cac70d1144196edd737c891f972f21cb6179063755adcdfe47383654ff545ef

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220628-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 4ec8de112fd8e5ceeeaf05ff14b36279913fe34cf9b0dbf02529c8e6248c19e4
MD5 ce1dec9f549abd60b03ea88e4560873c
BLAKE2b-256 167cf42f372c97c55cb1ee9dc2d89e6d0c2923ec7b429a3ca1917ce827ce589b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220628-cp37-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 ca0667743bdeb94a97fce64563c9b8e736f468f078b0cb53584f16e22a3ce9bc
MD5 8ca47b08a8547c72f2d603f8e4ebae78
BLAKE2b-256 186a1a64e9c0151b7bd2204378057f7b9e0aac6b9e985da3629f68de70a95d6f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220628-cp37-abi3-manylinux_2_12_i686.manylinux2010_i686.whl
Algorithm Hash digest
SHA256 47503349a1a8b899c9ffff0311c2df0dd74eea45109093c24b677b6d1de79fbf
MD5 1b6890885be716f996cc5a8b4fa88d84
BLAKE2b-256 1d4fa8a8ba2131b3d38681d3136fa07da1b378b4cc2441becac7ca8036965c73

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0_dev20220628-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_dev20220628-cp37-abi3-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 981422620e591c5c9061f5894da53b4883104b6a4920ba4cb4781267b14eef26
MD5 9ddd0bd68533af51b2c1ff5612048608
BLAKE2b-256 a522bc249b281886a1dd18f2408fa0a684dda37ad3726961c1706a3cfd081b14

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220628-cp37-abi3-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 5278b9659cb39d3e6dc8372f677c81e6d809994590edba475356dab3d8aadff3
MD5 e297d8bca1306a75c7c19d79d2fbea7d
BLAKE2b-256 5eead69f97ec438bcd35b734f53313e04833a1b1e4253461199c58f35519be7c

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