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

Uploaded CPython 3.6+Windows x86-64

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

File metadata

File hashes

Hashes for eclipse-zenoh-nightly-0.6.0.dev20220414.tar.gz
Algorithm Hash digest
SHA256 0702ae4f16a3275b50aaf1f9b5e27700f6268801d7010d4350eaccdca9df7862
MD5 3eed294bfdd6934ff68197e6f4c2f4fc
BLAKE2b-256 8cb85a306026026d7643ecadc91b59e9aa373abd772a61b34874f18fcea3ae3c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220414-cp36-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 fc03bd1a9814e3db41481a7964314f2dc241b6e476d909d1634152282830b86f
MD5 df5668664dee5d3567050e38a9f945c7
BLAKE2b-256 71a658bffe6efd1b6df113d2b12b5cdbac138a57c5c234ec7db0e2069a076d75

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220414-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 097c43a71084eb44ed218d5be90a827e618f96a820bf2c7a5b8c24879f86b067
MD5 7bd1dcff6348d0a2aee613c4383fcd97
BLAKE2b-256 bdb80a97eb32ea1a4b9cdd18d38df2b15932bc2af01b2f6d9e2d5f093f481a46

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220414-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 435e6fea76d528c87711feb30f7af8b6b54d130edce4ad93b3bd3ab34941ce84
MD5 fcccb3a00d4280ac18a4a1915fa17a6f
BLAKE2b-256 a07fca4974ce5f2807df0f0e87678433032ffbb0e6da3cfcef221d8db777b247

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220414-cp36-abi3-manylinux_2_12_i686.manylinux2010_i686.whl
Algorithm Hash digest
SHA256 c62d756f34c15d0f5e121d96740804bed9eb208670be936b8312eb6cd93316f3
MD5 b3e7562dea40a38cbdef8630671cd79e
BLAKE2b-256 7b3cfabba415e877a6aee4fb1492da3f5d35eb14296f9197102ee2d77da447ba

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220414-cp36-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 29ccb155220522c0842492dca826b0b25c95079a6efd7c1cb1e0bdc674f4dede
MD5 7cdf190f2df3c057ea300e599ed6b8ca
BLAKE2b-256 208c912443a329aee9ab6bbbd81dfda1ddd9e58458bb75060c4c22b7d316c7e7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220414-cp36-abi3-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 f1f02160f6ba9c23ad46c814155ef33d12113b232dc87da8423d419f6ca8b0d0
MD5 478efb693b4179252abd4985333f9845
BLAKE2b-256 4454568606787c2699e75c3dedf46eabe7bd0ad99976c19acb84b53f95777996

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220414-cp36-abi3-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 5a49a180d4a0a33cedef2b20b4a0f5fa94587e9a4d0c875e2c95d8fb257113b3
MD5 cdc48cbe358f499cd4768e3731746d6c
BLAKE2b-256 83a582664e11b5ec9b0eee982366adad770f582d1e27bac5ff82a68fe7fad4e6

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