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.


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
    python setup.py develop
    

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

Project details


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.dev20220513.tar.gz (51.2 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.dev20220513-cp36-abi3-win_amd64.whl (4.5 MB view details)

Uploaded CPython 3.6+Windows x86-64

eclipse_zenoh_nightly-0.6.0.dev20220513-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (6.7 MB view details)

Uploaded CPython 3.6+manylinux: glibc 2.17+ ARM64

eclipse_zenoh_nightly-0.6.0.dev20220513-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (6.7 MB view details)

Uploaded CPython 3.6+manylinux: glibc 2.12+ x86-64

eclipse_zenoh_nightly-0.6.0.dev20220513-cp36-abi3-manylinux_2_12_i686.manylinux2010_i686.whl (7.1 MB view details)

Uploaded CPython 3.6+manylinux: glibc 2.12+ i686

eclipse_zenoh_nightly-0.6.0.dev20220513-cp36-abi3-macosx_11_0_arm64.whl (4.7 MB view details)

Uploaded CPython 3.6+macOS 11.0+ ARM64

eclipse_zenoh_nightly-0.6.0.dev20220513-cp36-abi3-macosx_10_9_x86_64.whl (5.0 MB view details)

Uploaded CPython 3.6+macOS 10.9+ x86-64

eclipse_zenoh_nightly-0.6.0.dev20220513-cp36-abi3-macosx_10_9_universal2.whl (9.7 MB view details)

Uploaded CPython 3.6+macOS 10.9+ universal2 (ARM64, x86-64)

File details

Details for the file eclipse-zenoh-nightly-0.6.0.dev20220513.tar.gz.

File metadata

File hashes

Hashes for eclipse-zenoh-nightly-0.6.0.dev20220513.tar.gz
Algorithm Hash digest
SHA256 f158f0cf2634c2a204ac144049a1e206b43878580d15735a2da224d512980e18
MD5 e41c97fb7d6d9041066ee4187ee4f1b1
BLAKE2b-256 c87c07befbdb30b7cd9cf49b100c302e97777f78757b54dd047ed0d22cbb9688

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0.dev20220513-cp36-abi3-win_amd64.whl.

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220513-cp36-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 aebf1bd7dca683e49035205db9cc9dd94ea83bc40b5ee218538b97aaf697e161
MD5 3e9b90d8b1eaaa564d9bebe3164bdbbe
BLAKE2b-256 a1eb401d7c25043d0dd99bfeaaf553a76d78efb1d9423cda2689f10b34660da0

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0.dev20220513-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220513-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 994e28f44fbc17432294d12e8d52f8fb58b5da31993081f2b05e6c9a8853ab6b
MD5 6a5f04b603420426022ce4fcefe1d810
BLAKE2b-256 bdc11f6388b9a7fb35d9f63384dd897cccad91f76b66e1ec2d8ef5b83c325b95

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0.dev20220513-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl.

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220513-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 ccc889dddac1d04454b0e90e19bbe6f648149f659412ad6a6cff3e4c8158d825
MD5 5d3a278348cd48c6dbe61c527dea322a
BLAKE2b-256 77af8a24566a043bb75db21b57eec8894cc2e72ce37191bbe0615024122d4779

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0.dev20220513-cp36-abi3-manylinux_2_12_i686.manylinux2010_i686.whl.

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220513-cp36-abi3-manylinux_2_12_i686.manylinux2010_i686.whl
Algorithm Hash digest
SHA256 d030e0336e2b6ca9c2a62f05813c500fc82ada7b0bda6ceefd098f9e9179041b
MD5 bb0763e94d0956d612a0da00bb5dd407
BLAKE2b-256 24fc19e9110cab284b0bb0b91340ec921d390bf5fbf44877614e171cb469a288

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0.dev20220513-cp36-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220513-cp36-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 f7306dc6d83f406c982d448c29d9b485764063ec320a4d1f982927042ad12b62
MD5 53870b5f6f47665b61737275f8413ac5
BLAKE2b-256 6b8d2f8d89ee50dc2e741b18f6cee9b71582d55351dd3735f1b91c845ef7ee88

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0.dev20220513-cp36-abi3-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220513-cp36-abi3-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 5870f599a7c88aebbcff0192acaf3dbc12e58514dff9ccf553f2317204b33b81
MD5 56fe0fff91617347738efab21e0de74a
BLAKE2b-256 984e21556109d0169a5122a36f6bdf18f778adcf543bcd186034d7fab1f04c4c

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0.dev20220513-cp36-abi3-macosx_10_9_universal2.whl.

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220513-cp36-abi3-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 d4ef6e02b32dbaa86b51d4d61d3f1b1d8cac19adb059e4f8a7d423080d1843c7
MD5 e3de508ca41ccb69bba42b883d510177
BLAKE2b-256 633deedc506ed2186d86e8e1443ecdf49246e8265b1e67353e8c26464afc3b82

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