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

Uploaded CPython 3.7+Windows x86-64

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

Uploaded CPython 3.7+Windows x86

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220714.tar.gz
Algorithm Hash digest
SHA256 edddf00383589c6391be074dfae999a6d4835fea05ef97f07645f2bf70f6ec45
MD5 53e90d12fe7fa3de3963a21840f8e245
BLAKE2b-256 22278375572a012af8134ee33efdcc397c97978d0f3c4d7c48e771a4a741ed7c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220714-cp37-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 b6e8808b2bc602cef201c10be29175d44b29da5eb7012ed8a3c2bac161622dc5
MD5 7615adf82a16245d0e789e9925b5bd6d
BLAKE2b-256 2d93aa401d9b2ffc5a488a3aa9be2ae3407af0eee12bbb81db88e8378152e81d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220714-cp37-abi3-win32.whl
Algorithm Hash digest
SHA256 90c9a0fba254f2bcc1ab0e340414c45b9fdc4e7686c83b52afc4ab9cb692d204
MD5 deaee89f2676a56c0cb291191047500a
BLAKE2b-256 11c4f71908b06abadee1b3458e1ac2d38f2a4817eac002e590346e9ac59d0e9f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220714-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm Hash digest
SHA256 71439174e0dfd1197ff7cca6d0a03049dd083851c0b41a4412f75a292ec9c42b
MD5 2a47c8a41e2c10923627567aae53880e
BLAKE2b-256 650c91fb7a62fe09afdf5faa420c41b1ed211289f9294d003d10a89fd73b2bff

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220714-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 7bd1379852ddbab630bd5dcd08ed236a76a72d02b9f9569c33f5f219fe244485
MD5 4c5064140cf1bd7a6a011a4a81848184
BLAKE2b-256 642c22ee4e48a6687c3824e3c0cef0f9108704c4aed5a459681f84e48c0faddd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220714-cp37-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 f11227149639e9b8792580c0431d6d8097ccb2e7ea79e752a3cc7d02d924208e
MD5 f9e5013ada7f4d10e2639ca40f67b5bd
BLAKE2b-256 3be8f7756201e8c75e992a1484acbe343477ef6eaeca518f751968dc2c4d57ce

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220714-cp37-abi3-manylinux_2_12_i686.manylinux2010_i686.whl
Algorithm Hash digest
SHA256 50c825669472b031b99e9f7e7f889e2b1902f1b47fae08892617af58932bb438
MD5 19c90ae91cde973c378e9028a314e72a
BLAKE2b-256 222630a31f472254caa06649c0482fe9b8f8e797b1261fdd61758a3bac995a74

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0_dev20220714-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_dev20220714-cp37-abi3-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 2a4cabb5ff3c150cc3cd76f7375a2ede2313fa7c75bba6e07e0b8fbaff09f6e5
MD5 13ac67fac345930d4777a974019e58bf
BLAKE2b-256 bc32804d15915514b7188d648d1efdbd1a11f051d82bb049efc2e671c7cb7d84

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220714-cp37-abi3-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 54ee0a8774c4398906bd8af2d801a9a26acb7d8da853f90e30c933300cc75fbf
MD5 baa8f572619bc23594b2354b86976706
BLAKE2b-256 caa0f722064a569456a49504beaeac62a0c8945d946d09872ae072b020fa1884

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