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

Uploaded CPython 3.6+Windows x86-64

eclipse_zenoh_nightly-0.6.0.dev20220413-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.dev20220413-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.dev20220413-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.dev20220413-cp36-abi3-macosx_11_0_arm64.whl (4.6 MB view details)

Uploaded CPython 3.6+macOS 11.0+ ARM64

eclipse_zenoh_nightly-0.6.0.dev20220413-cp36-abi3-macosx_10_9_x86_64.whl (4.9 MB view details)

Uploaded CPython 3.6+macOS 10.9+ x86-64

eclipse_zenoh_nightly-0.6.0.dev20220413-cp36-abi3-macosx_10_9_universal2.whl (9.5 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.dev20220413.tar.gz.

File metadata

File hashes

Hashes for eclipse-zenoh-nightly-0.6.0.dev20220413.tar.gz
Algorithm Hash digest
SHA256 ebb695f4f7a03b5601bd3720f832ee82961bd1301ff3dd0e5062140af2a23fe9
MD5 2ea2691928fc5873d84923bc821afd2e
BLAKE2b-256 b04a598c08917bbb4088a61cd0e636bc7bd548885493bb7aca67017e9b60ce33

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220413-cp36-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 36e4c0a322f088930d7756f46e2b20fecbb4c2a9b6c09b1f75fc3aafdf4957cc
MD5 69784194666800695602902759ae6fc9
BLAKE2b-256 8e509c6836b6b8145458b1a7a2be969d9358ca9551f78b59c97332e39014e6bb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220413-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 27ec1a5d0ac44f0f9aa78c697e7b9f4257698a72bc317de92a27032be46bb7c6
MD5 9016229a8aacace0587d0b67354316ef
BLAKE2b-256 512e1b152f97f6a1290ecd8394c39ec5534bca08ceab9a6ae324fe92e4af7ca9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220413-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 a60c538547f8a6893d0d256f667198a48374594e24db81327f0ae2ed40b1d613
MD5 b1986ff369e53d6df7d3832b1bd6d6d8
BLAKE2b-256 ec3600421e4c14df93c3eb2bdcd17c6566eeb04f26561025f630f1f5c3475faf

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220413-cp36-abi3-manylinux_2_12_i686.manylinux2010_i686.whl
Algorithm Hash digest
SHA256 75a9ed4720591507bb84ab81c77b6043cc732bdf9a80b15f2faf5efea5efabf6
MD5 96e11080dec0e8aae42532ce0e553947
BLAKE2b-256 d790e3fd727fbd4832c0334a4061d88f775e3401f58c1d27a13ba523a9c7e4e5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220413-cp36-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 3a3f2716712592ce022ba507d2ed227a298eb919c630eb106509d8bf9f00b2e7
MD5 2ae4b142f81cda7dc234ad3d891f3008
BLAKE2b-256 0ac1d7231890739d8068fbaa60b050983e29a1a60357a57e6dd2088ceeebd2c3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220413-cp36-abi3-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 4f25c4addab586c8f5e3671c3d12e37f42c7cbc833c294c82b899683c60c1844
MD5 421dce360d08a06cbfb5ea78b973739d
BLAKE2b-256 a7a4cc802394bf8f91f84edc336345e5bcd8626126cb42e2ba2cb79e0589ccae

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220413-cp36-abi3-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 a17abcfbeaa1959f9f407789442f541932abd5d4f94532b19364a6564b5f2b0d
MD5 253c65a626a57c055786f0e0f94942ff
BLAKE2b-256 5a5dd140b191471c54f6ad75a4f15bc8e5490ebdfcdfb2f096d5a309521abe07

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