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

Uploaded CPython 3.6+Windows x86-64

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

File metadata

File hashes

Hashes for eclipse-zenoh-nightly-0.6.0.dev20220519.tar.gz
Algorithm Hash digest
SHA256 95e7d93ac23bf35231c7178077c9e095fcea49f6a74648d4dda7e784bed322a0
MD5 b84d21a8065dc53b2090f5f6cae0e0d6
BLAKE2b-256 a6e9fac76d48bd08ff763c416a40e30867ebf620d3405e61d540c62dd0eac70c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220519-cp36-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 8ae504280f1095db498997afebc84ca4728af926fbf9e25c899c174d6417b1fb
MD5 c121cd98a7f5946eadf0edb755fb58e1
BLAKE2b-256 8a88c90bd3506d615bd69aa60af67a509fb9b37d8fd6da45166dbf5ed15c05be

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220519-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 c76bd040425bd4a5eb73732bd1f546aa39514f3a6f0cd0428e881c4a04e86377
MD5 9597e49b804e7e8cd348884a69788b5c
BLAKE2b-256 f125d7ae60b21cc8e42a09eaa554f5eacd2edc9be9083ec9114a9b4cc8b2b7a0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220519-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 20b26a8ed2aa2da643d2a46d3475d9bc20ae52b152d48ac5b3fac3104ea9ae84
MD5 02c90ce617888370dd57c6a1d92ff07f
BLAKE2b-256 d611080b702dfe8972d7510f7eb1ada62ef8abef3d3cada433f740273d50338f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220519-cp36-abi3-manylinux_2_12_i686.manylinux2010_i686.whl
Algorithm Hash digest
SHA256 cfd9798480a371edb3577409e3114ca74199199053bc145f26d08bacbe5065bd
MD5 d2e7a55eca1ca479798c684d049afdd2
BLAKE2b-256 8f2c8c025e2f89bbf8703003b8ec586e28cc110b79163634e562877b92fd430a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220519-cp36-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 2a563c86da9f2c65346b1d2ed81f701092dcb4d12be6a6039ef85197f3b4e8ef
MD5 cfc5f01909e2050dd4b185fdb0829f00
BLAKE2b-256 5a280bec1f7f74d253eb0556d6b80e0883129fef3feecfbe7c42196f8e7861a0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220519-cp36-abi3-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 6735f0386c0c525dd6014ed3d965be6b35593872c4463cfc3dfa0e0c77dbecca
MD5 be479565fbb4c27bb9124fd839163fd0
BLAKE2b-256 6f157fbb5e8cb19704c4286251b7ffe3f136fd07cd6c897d6d24056a8de846cb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220519-cp36-abi3-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 8d71d5eb2a5001eb62a1bdba7c06e4fbafdd699ea50b4b43293b94a1741cda5e
MD5 263c83bf8ee4f94bb371471d93717117
BLAKE2b-256 d0a552ebc2d91d9f240f850b3d8a306dc71b4203bad08b9a8bd2f6622d5341e5

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