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
    
  • 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_dev20220616.tar.gz (107.0 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_dev20220616-cp37-abi3-win_amd64.whl (4.6 MB view details)

Uploaded CPython 3.7+Windows x86-64

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

Uploaded CPython 3.7+Windows x86

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220616.tar.gz
Algorithm Hash digest
SHA256 50afafcdaffb986f138c40659fcad4064a8fd730362292f05c2e60a36db346eb
MD5 eafbdbec8bd8644f45fc9bd48cfbdfff
BLAKE2b-256 6aab0c4878b62c1e66242aa76ad73fe560a23f5e3352d1257bda7592c4b82305

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220616-cp37-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 21bc0d93433ff242cc35504910b898390af35bc3af9202bb6af5a11b06b088e5
MD5 86505e6a8c126ae7adc28f947179e06a
BLAKE2b-256 21093bcf259a7c4da0cd0fe96e0f753d0b76b9dae76d5dfd41fdc9de190bf30c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220616-cp37-abi3-win32.whl
Algorithm Hash digest
SHA256 26154e40208d7740839f4e3b3c86304d0fee4faa556b6c7717817553889f8786
MD5 26a072f3c02495ecf067820ee7fbfe16
BLAKE2b-256 c1ce32bc95bc2dea32eda56aa92cfc32b9d71ad5581b4e78c7ccaefa1dd17dde

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220616-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm Hash digest
SHA256 49839fd6dd5a6f84fc91e42c073531a60b1a051b48fd8799f2c8dfdb57e6208b
MD5 7b5554196341dd5447f001465c09aea3
BLAKE2b-256 06856b7d8e79ea39ef9ea8cec3be94c785ed0443b32ad388b56ffe7790ef7d7b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220616-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 331f38f2d98f2bebf43eee0e409710a3a704c97202d5314d81697411d85d5c2c
MD5 7657f9feab0bee5a6472f1b11ef7cea3
BLAKE2b-256 5f99529836c401b1a36b99a45b1be735dc33a499cb8cae02e060b306a54aaa1f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220616-cp37-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 d255e95db92135406f6904d66e67da86f4339dbe0527ee0670255dac9809616b
MD5 f6e93de13c574f32db15f12898793a54
BLAKE2b-256 2ce8db4e3cc033259fed9eac2607bea874bbbdfb2002a26d474bfe4de448e0e5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220616-cp37-abi3-manylinux_2_12_i686.manylinux2010_i686.whl
Algorithm Hash digest
SHA256 83d6ba814efb10dcc108a008339ef54f5bc0c94044c572bb939f02f378395d5d
MD5 3306e71bcb00c970d058ea02aec1511d
BLAKE2b-256 5e8c11466a49fadafdb4e51fb17604b8323aff6545defbbce08be10df917acf9

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0_dev20220616-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_dev20220616-cp37-abi3-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 3ce49ac44cf002dee454520df606a17cf24ef0803699381b69e242188b6e70bb
MD5 4d88af3bd63a1ecfb220492179886c2a
BLAKE2b-256 b96703c1c8bdf989a5982ba246f53bccdb41ac6b80fac092e05da8aab77793b0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220616-cp37-abi3-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 88b99f9cc99dd037678f8c4d8e52adbd55670c0a48d873693aeec691f1c8e027
MD5 167f40f8d6b0b90e8101cd304fe35250
BLAKE2b-256 928654fe364da8448ea7133adc0943e0eb94999e6f7737980f537c9960efb1cc

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