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
    
  • Ensure your system can find the building tool maturin. For example, it is placed at $HOME/.local/bin/maturin by default on Ubuntu 20.04.

    export PATH="$HOME/.local/bin:$PATH"
    
  • 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_dev20220701.tar.gz (107.5 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_dev20220701-cp37-abi3-win_amd64.whl (4.6 MB view details)

Uploaded CPython 3.7+Windows x86-64

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

Uploaded CPython 3.7+Windows x86

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

Uploaded CPython 3.7+manylinux: glibc 2.17+ ARM64

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220701.tar.gz
Algorithm Hash digest
SHA256 0e7ad2d31dd750cfb5a0714715fd9247738420a4a16f0b8ff3c92cc37469ed38
MD5 1cc24b403b3d73fea55993e10bd44397
BLAKE2b-256 dffbee0eea74722fc775a49d25f1d3442ae66c2ede2301c9eebf08750101c119

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220701-cp37-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 668679da3983e6e6548fb8e599833ba97a3dece66959aa54b662eda5a77733f3
MD5 9c4de1784d4a10aa61964de174fcf6d0
BLAKE2b-256 fb5050e2c6f5b3840abfc5c085d581b244ba0dc365d5a4698b34e1bf67cf89b9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220701-cp37-abi3-win32.whl
Algorithm Hash digest
SHA256 b3aaaeddd6ddb24cfd930ef0b85c309b04cd113572e9d289de76d84f4aca4228
MD5 e956599ea0ae58f49c4426bf3cbb58b1
BLAKE2b-256 4f0f3013204727b2404f6735440d1fb905f02f31cdd8fcd33cc1b452e2f796d2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220701-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm Hash digest
SHA256 813a516d1b9040b5b31f0ac6d689d877ff75648d276170375b7e97ef735e8969
MD5 9818943b24d3920d5da53fef6d18b976
BLAKE2b-256 5e157a8ef329eaf4d965b693e42dbd9db1bb46f024a8837de341fd0a774a0204

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220701-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 d27f6be1e3dc1ae3121fa44f0caa3a3561933178a9c21dc0651cb2c13923abcf
MD5 f0fa6541a16662a0e46597765733cc99
BLAKE2b-256 fd44878a2ecfa37120cabcb9959d204b63417754ff80b7afcc50a17045e8d773

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220701-cp37-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 2a48a5c62a816fddbb37e89caa822d9e5996a2c46d3bc4948e5b11db15b242ba
MD5 a9ba4956e3f9f277dfef0faef6632678
BLAKE2b-256 9724bfff2e1a5937927b8ec0199cdbde88a7cc3d32017b181960bcf0468ae365

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220701-cp37-abi3-manylinux_2_12_i686.manylinux2010_i686.whl
Algorithm Hash digest
SHA256 4db66e6443718ff0052b9cf6b293c1863cbb22c974e029acf2b674701a3659de
MD5 770d1779fcc6bb70a9f88953b50b7158
BLAKE2b-256 166b4b23382bb8dc6de5d6655fa81a76e56fcae65db9f06ddc9450c53f78179f

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0_dev20220701-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_dev20220701-cp37-abi3-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 eec8f5d07d6b27c370855e49885a314e0983caa6b97984bdb464258260ce66a7
MD5 b2dedf72578c3b0797e162bb227425f5
BLAKE2b-256 ddfc95d7dc51986bfae6c118e7bcb3d1c99ead9b8f81818c12fcd59dcc8b0676

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220701-cp37-abi3-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 22aaf7a089f6f092df31abf9c85faa6926d0b21683d646a2ac0db680f7368b1a
MD5 7a508ab5c9f4234200797510de3b32d8
BLAKE2b-256 70384c1b857c6296de23c92310f2021cc84ecd39b4129485fe8f853f4809146e

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