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
    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_dev20220610.tar.gz (107.0 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_dev20220610-cp37-abi3-win_amd64.whl (4.6 MB view details)

Uploaded CPython 3.7+Windows x86-64

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

Uploaded CPython 3.7+Windows x86

eclipse_zenoh_nightly-0.6.0_dev20220610-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_dev20220610-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (7.1 MB view details)

Uploaded CPython 3.7+manylinux: glibc 2.17+ ARM64

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220610.tar.gz
Algorithm Hash digest
SHA256 5d046d0ddffb1abf50794f10d43815c3fdf8f98c5617ad8d673653c976119f43
MD5 072740cfc57b7d8c9bd3e7a1415af666
BLAKE2b-256 a40963d73e3fd8408886a5631f9b2221e12b5952a8ae3644ba884dc8f17ced4c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220610-cp37-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 032ec0e7a4e8f671b2cbe9393afef7f799159a0677b67e5bf79b55b1d776c6b3
MD5 3d1b4cc684de670a37068fb2deacc138
BLAKE2b-256 449923023ea667bf1934855b69fe2872ab513360574a4c97945cd4f4f0268f6c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220610-cp37-abi3-win32.whl
Algorithm Hash digest
SHA256 40fc2fc8c4761683cccbdbd4ca81fffc01709b2a2765567052dd0512a0f76b76
MD5 55f0a2a14a9d19196956d7ae0ae38368
BLAKE2b-256 a091228f1e07bde59551146350aa55baaea845116c636ed536dff782a034b92a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220610-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm Hash digest
SHA256 498e2fb6b3e70b64c5eb17fed46bc48f71e996da44f7afc2b37afac745f8b799
MD5 998ba913731194f4d734ca48a74a6c2c
BLAKE2b-256 3712f5192afe9502db333eb0a97cfce8ae1070f3f783eda1fca07ea91b9eb3a5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220610-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 e1e4a5be1826cd8428d84faa511800c6878c220db510ed13fbfafd9963b52c7c
MD5 38b49a07535388b7fbe6ebb7f39d8d44
BLAKE2b-256 f31c97ff66109b15a397de2cf10edd573a08db52646d13e82c6bc8dd6c6eb881

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220610-cp37-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 f893e824aed04dc191acc2514bb8f7d7816649d84553ec193ea883998a7a1c58
MD5 c2fff74420d397e091c724e397ed53a5
BLAKE2b-256 4be88318935e406da5d3561a3609840aa4163ec73c91d831acd7701ea555b0b0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220610-cp37-abi3-manylinux_2_12_i686.manylinux2010_i686.whl
Algorithm Hash digest
SHA256 e9bb1f61aa8b49b32968f6491847c34b14e792d0369c8d1ac75cc594c2d43786
MD5 f98185de3895c48600a748f9e5dff45f
BLAKE2b-256 6d4956089bdc9927aa0643a957974a196f8c09de65b01eb55e8cf3f3a08c5505

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0_dev20220610-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_dev20220610-cp37-abi3-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 60a4b40c7f524ead54e781c457ce97b440d6510db2a9d1a076e62e0c28818116
MD5 2601d9257f31a212684887084cc4e12b
BLAKE2b-256 9699375c2497cd6a02a2f795953c684700cdd420abf5f1b698c174d59036f37e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220610-cp37-abi3-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 9dd8993bdb72e23bd6231982ec6af50aa731a3a5e61b3e2f4a74b3fdf9a3acb7
MD5 8a1babe0243994a11125dcda74da563a
BLAKE2b-256 c0043ddf23e35f145806d862c6db786050da7406835ed2cc8d3ca82b17ae2c00

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