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.dev20220428.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.dev20220428-cp36-abi3-win_amd64.whl (4.5 MB view details)

Uploaded CPython 3.6+Windows x86-64

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

File metadata

File hashes

Hashes for eclipse-zenoh-nightly-0.6.0.dev20220428.tar.gz
Algorithm Hash digest
SHA256 a3bfa80ed76a501b185d6ed1cb2a5a1504e51f8801c8cc1f5af41a9f262f8019
MD5 d37813be233377222381283a411f0199
BLAKE2b-256 38a7243eeefefe2ad6d41c6c8e1151fcbead11962fcf73598f3cd163bf1083dc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220428-cp36-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 7fc75b40970b9c4556599a76fb0596a84c32fc95f3d7b46309e232b4f8645223
MD5 c28925a75056b3f05de3502a61b7e531
BLAKE2b-256 2335903516f53ca5aa3a4fbe3d9e0294f261d31ae462affac4787496d2f93ab3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220428-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 7590fe701ae7ce41cd64f22cc94686ef286a3ec2f82f1517198f08707500a0b2
MD5 ae8c8bdd52abde28fe016354cf67b5d3
BLAKE2b-256 1e1e8212519455ec4c5df88c66d412a860555a0a1fcc41bb394bdcc7e2c325d9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220428-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 9022bd173fbe3e683661a28d99e6cecbc2c3dc2575069f001a705b7bdf2cc374
MD5 c612d25eca13613c7219212db57b7ef7
BLAKE2b-256 a460ab9cde529bb995e18bcd190b7fb278ed4c3f476a35f19330bee9b9004e22

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220428-cp36-abi3-manylinux_2_12_i686.manylinux2010_i686.whl
Algorithm Hash digest
SHA256 3cb4bc661cec0fe1274dc0e4e9192ae1019213ff529903931b0e6a7556cd6ed5
MD5 1627b6e23c8fa3db8bf6526860591ecb
BLAKE2b-256 5b514a5025fa929dd56fd5252c4dcc5d54781c4fcf2c5882472ece781b8b4f74

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220428-cp36-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 15170c99115a2a7fa8a9510576c06f7dd62a67e47d7c89ffe23fa6d32132db34
MD5 c0b38d9612491034c88d947e48f12aa0
BLAKE2b-256 7905c8eb8cbff4126b9389de8abd6a0ac203fd04c36a227e8317f7560ae90744

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220428-cp36-abi3-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 cbee436d743bbdd188020789e6f7ff83c87056b257daff70db463eda1a740206
MD5 0302a76f35821626c5f36596b2f36d6f
BLAKE2b-256 289e3adf5ec726777e0ab49e5b989dd095d6cbd77c5f9db26b6e8924f590d1b1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220428-cp36-abi3-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 d7f11c3ae4eab95b2dbb867788a324dc55ab0060b4a67f4705e3a69d5e47f8d6
MD5 b048398729f41cbe67544080e48a8c6e
BLAKE2b-256 1a1710671f6ac418c0d2dc1445a95149690ddd4856ae4ef1401c86f8984c4f83

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