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

Uploaded CPython 3.6+Windows x86-64

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

File metadata

File hashes

Hashes for eclipse-zenoh-nightly-0.6.0.dev20220422.tar.gz
Algorithm Hash digest
SHA256 327e08b1bc8890be6e1a77d4922826fba492046059a92030bff407df740ad63c
MD5 a6afdf6ebfc57409d465d9daa7c3ffe2
BLAKE2b-256 7a31827087839e69478f112a680603d784cd2364976b16dfdfb9b5d2596ca130

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220422-cp36-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 66e6bca84b129ae205b6db55a835595e0fa2226f264226cd1ef6d03fd4578ad2
MD5 2da1fc73ad8afc372b12499725111aa1
BLAKE2b-256 9d78cc14387930e1ff8a25e4ecb405850585dc90731dd5d911ebd739084c33be

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220422-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 2139e6fb54599b2aa0481bcc51e174382fe678a4b18389e78287b9fd7deecc10
MD5 5c49b5ec0b753b061f37c637ff01f781
BLAKE2b-256 a22585cf7906013f7afacc113c7c0113b442dafaf94c88f9738913ba07d24a6e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220422-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 912121c073bad6ce169b77731a1618e58caa75a5b1845559ea39fadc972909ea
MD5 d4aa1d3c439fed4f6dc731bb23d5ac93
BLAKE2b-256 ba30ce590a3e1a589b3b6b1dd423f1ea3237ce22a67c0cb3aff042fff559fafd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220422-cp36-abi3-manylinux_2_12_i686.manylinux2010_i686.whl
Algorithm Hash digest
SHA256 fcf6e29f8bae85e6d46941826ade9187506207ae11eeb87453ca86b42a479bde
MD5 d67dfd37a30fd809d94048b603db1db6
BLAKE2b-256 1c026b4e8606481d2897fc157e9c8e8f062800940c2e346807603f5501fca832

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220422-cp36-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 a421685ca1bc1b4c8a3a790555a5da45a06592f43c691621108a527dcdaef318
MD5 e0ad349fd3a173e007b71ca9b4730316
BLAKE2b-256 fe5b9277b6e376bd09026aa82245fa3b642bcdd6c903c2c8d36263da61e54d56

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220422-cp36-abi3-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 77f515b43aaa298901d96bf02015fa47fe83d9a2c7345b3ca3af65764df5f39b
MD5 3d0d178973ad3f5adc11ff78936a3f23
BLAKE2b-256 eb9cc70eb88320c9b9fc8b96f6e0ba94584b9d752d1820f99f5159887e69af65

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220422-cp36-abi3-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 57804f907ea1a1f7d2bc70d780c1e22c58527d43b7b2355ec2c791d4beb4a2e2
MD5 490f8d2185d902367213030d42250f1d
BLAKE2b-256 ef6bd9b8921ac3bae046bd7289f7ce142459af97066cc69952b816518cf585f6

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