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

Uploaded CPython 3.6+Windows x86-64

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

File metadata

File hashes

Hashes for eclipse-zenoh-nightly-0.6.0.dev20220502.tar.gz
Algorithm Hash digest
SHA256 cec0aca25ddc0dd49f55c076d90f79e64d5d9bf7d65aa93712e9b3393c02bdab
MD5 4cea0e5fa7e3774e5b935ce7e17173fe
BLAKE2b-256 999afe81957fcd3ce2f38f882e13d297d5048463e2ba24769c9336a2aaf201ac

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220502-cp36-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 85649fb5949d24ef955cf2e74277a4eb3c41f8a2179e3e6e7d7109abf1b1b496
MD5 38f65ef806f9b6d4609009629dfe0d9b
BLAKE2b-256 0e7f98d4e82c42e5815a9cb379757cd73abe5a9519610c0a8698fbfc8547884b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220502-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 ed7562d2e7f8088717cc5bf06448ca67a855fff273b30ca8c8e00f47c3b88a47
MD5 85aa921ca12dc4be837084b3bc451205
BLAKE2b-256 bd46db7cca4f719fce93b131f8c4d76ea8524baf9974e2c0b4233a44bda22c14

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220502-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 d010ac68962f583adb1bf8d1d7db09fb5e96d40c1a4e2ef86c41e73a626759bc
MD5 a25522a5f0de97d1a20a8a64e1577767
BLAKE2b-256 f0682f0e96b961e70a2b18d650c257c3bed566bcb43916dee25aad793a15a03e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220502-cp36-abi3-manylinux_2_12_i686.manylinux2010_i686.whl
Algorithm Hash digest
SHA256 84fd51bf3ed593f5210ed45bf301228594a1370a6657df0e95dcbffd2534eb40
MD5 d1b04275f082ca5eb8c0efae241f423c
BLAKE2b-256 5afb96c9344cb1c2a00a748b86bc123265e398ecb1d707683b8a4e1fd9099cc9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220502-cp36-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 6f0b103164f8fcf14210160e204570b93711cf6ea40f3ca0c8d5688ad6c4a97a
MD5 443bf8c8e8a9bdb6d1af461c26742af2
BLAKE2b-256 94d4483e97c60df41de56aa7a60c689a2c6b335f65d9c12e769242d8b234d067

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220502-cp36-abi3-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 57f66ee4d9648f3f8eb074df37d742bae7a8604f66868022642c972c5ada53ce
MD5 ddcebd943dd0a673e918f1fefa174e82
BLAKE2b-256 ac54245b5f381cf392dd15aeb9460818c9bf117544b72e98c55fac2cc079af0c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220502-cp36-abi3-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 895f2e325c4e8ce68c92952afed19d9b818b5540694c0ac59d71ca385aecffc8
MD5 48ae8f697afce76412650673ceb0e865
BLAKE2b-256 07e1116321e33830db641fc66ba52f1028129f4bfd522553164fe4ed76d1ec95

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