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

Uploaded CPython 3.7+Windows x86-64

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

Uploaded CPython 3.7+Windows x86

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220715.tar.gz
Algorithm Hash digest
SHA256 f603c27ac05856368d252cc7e7fd5105fbe03d89c7d9c592220c81d16cc8c0ba
MD5 8aa3127be182489becdaffefb8e2971f
BLAKE2b-256 8b79d434a0117bd667fbaee4393ac7643406e43a0f0443cb706c465666c537a0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220715-cp37-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 6bab518e45ddb9b510c7ff69fab641cf2a56c605ddb24ee4ed2a5e3da852ac35
MD5 07685244d5eb749bd64fbb4506ed5586
BLAKE2b-256 247ad778d8d7503da62ce91d073e783f2da0dfb5426b8d24d2ebada937db3b41

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220715-cp37-abi3-win32.whl
Algorithm Hash digest
SHA256 e280392c085398980acfc251ff28782e9b6a65cc6898819ade86b18df6a443c4
MD5 c26af2d831f37775b5b3ca0225d093c9
BLAKE2b-256 df8ce247ff7270da6c6639602bb43df6df0d0ecc66672339cdb285e2db884d28

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220715-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm Hash digest
SHA256 33b4d7dc66ef8de37b8137295f39f1582fcb1ab702cee17f1a9c7cd86acfd848
MD5 521d4fd0eb382e3d762a5179be813398
BLAKE2b-256 3f76cd42d3a7ee36e707032675c3f711147ead63b2df631bcf9e87316852c74e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220715-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 901c13810f4246ef08fd961fa8aa7579d40ed0da166a52b63042d8ebf3f03d7d
MD5 0d559095861c5c0eae803a5fc24e0c59
BLAKE2b-256 3410b05aa9b9e4ae214e0957771111f57fd8eead4318f1adc4eef1dbd215d43d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220715-cp37-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 4af916249a4fb24d5c020bd984d7b05e2a9060fa4f9d54c53bba89e17a765c30
MD5 5ef2653bd79498a30a2cc51fa0525382
BLAKE2b-256 795ed4ee04b1c5563ce549ea113657ecb037317692669348188a3b4928f9a6c4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220715-cp37-abi3-manylinux_2_12_i686.manylinux2010_i686.whl
Algorithm Hash digest
SHA256 a312c22c883f61830b26801af97c178f4e7661703dab71a3c4e60b6483c72618
MD5 396e5060359ca2f1d3525057c9aef74b
BLAKE2b-256 f0ab0539650c1810c5f3559a7382934b55ca16ffbfaba1363de008110ae568d0

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0_dev20220715-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_dev20220715-cp37-abi3-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 c603dfbead42e08acdbd7db9cd1d97892d5ea374ba212b5eec5b9134d80a57fb
MD5 9a131be7099ef3fd8787afe4163a2b2b
BLAKE2b-256 5c90f7efdc401326bc4064c6318baa12aa00487ea9f6a830d106f4dcc50b31a0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220715-cp37-abi3-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 8edee5010fcf8e2afaec8296c0c17eb8618f383bbb01752027f066342879e95a
MD5 cf2a91fb102b3d1987be274f99233648
BLAKE2b-256 88bf1222cd076a6ace5722cd6d1fa240bcc7001b920c80cdecb94fa7f45f5756

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