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

zenoh banner

CI Documentation Status Gitter 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.dev20220303.tar.gz (45.8 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.dev20220303-cp36-abi3-win_amd64.whl (3.8 MB view details)

Uploaded CPython 3.6+Windows x86-64

eclipse_zenoh_nightly-0.6.0.dev20220303-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (5.4 MB view details)

Uploaded CPython 3.6+manylinux: glibc 2.17+ ARM64

eclipse_zenoh_nightly-0.6.0.dev20220303-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (5.5 MB view details)

Uploaded CPython 3.6+manylinux: glibc 2.12+ x86-64

eclipse_zenoh_nightly-0.6.0.dev20220303-cp36-abi3-manylinux_2_12_i686.manylinux2010_i686.whl (5.8 MB view details)

Uploaded CPython 3.6+manylinux: glibc 2.12+ i686

eclipse_zenoh_nightly-0.6.0.dev20220303-cp36-abi3-macosx_11_0_arm64.whl (3.9 MB view details)

Uploaded CPython 3.6+macOS 11.0+ ARM64

eclipse_zenoh_nightly-0.6.0.dev20220303-cp36-abi3-macosx_10_9_x86_64.whl (4.2 MB view details)

Uploaded CPython 3.6+macOS 10.9+ x86-64

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

File metadata

  • Download URL: eclipse-zenoh-nightly-0.6.0.dev20220303.tar.gz
  • Upload date:
  • Size: 45.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for eclipse-zenoh-nightly-0.6.0.dev20220303.tar.gz
Algorithm Hash digest
SHA256 1bf1b4fad9253a69a6ad8e18b4ec0d3f8ef7903f0b58099ca45f7abc0cf556d8
MD5 8de9cb63f00aba1da595598579374f37
BLAKE2b-256 53610f67135a3ee48050b56e7ec6960ad0e930e425a5124a0938d8f4466017aa

See more details on using hashes here.

File details

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

File metadata

  • Download URL: eclipse_zenoh_nightly-0.6.0.dev20220303-cp36-abi3-win_amd64.whl
  • Upload date:
  • Size: 3.8 MB
  • Tags: CPython 3.6+, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220303-cp36-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 4298a275dd63faefdd75ca5b994da45987df3db0323ebbac88bce7e7892cd25a
MD5 7e0423ae6f1c75016b2cfb633c78f68a
BLAKE2b-256 cc6892874b53da042d0414525a104c3adb7b0ac12b01ba9ab7d1506556848104

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220303-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 b0af122794bbcf43de1f8ee945a0c05eeab37d103a69f70544a38bed2fffa202
MD5 c4e28111df5ba3e97d385ebebc7f9915
BLAKE2b-256 e4581f778d159be36641d867e16c54446a2d44b2c20f6a1c7b11a20113eba36e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220303-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 88e0821d1bf049e96fba014970206d4ea36c3606eb88a6fa537e0122707da2ef
MD5 f4e447d15665c845dac5f467e1c92069
BLAKE2b-256 7436a6cbce91ee3fbddbaeb568dcba3ade81cd858784b0f3695d2d271f1ed1c5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220303-cp36-abi3-manylinux_2_12_i686.manylinux2010_i686.whl
Algorithm Hash digest
SHA256 b9a9fdc68e65ccdf4f51c354442b132a1ce09f4dfcb6d3b445a9efd7e0d8c7d0
MD5 f1daad9727098f172e209d3a53dc43b2
BLAKE2b-256 8293b695c4efce0824962eb9d63b5f0f8d6d181468c26859c5ea0e074f82d799

See more details on using hashes here.

File details

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

File metadata

  • Download URL: eclipse_zenoh_nightly-0.6.0.dev20220303-cp36-abi3-macosx_11_0_arm64.whl
  • Upload date:
  • Size: 3.9 MB
  • Tags: CPython 3.6+, macOS 11.0+ ARM64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220303-cp36-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 dd5f985f895358eb568114623b91d9763d001d8797e8d6f9cf366cfe7c1d5ca6
MD5 15f255cfeff2080f98074f6eee6b729e
BLAKE2b-256 52a86cd1126a2461cda1d9fb9a02ea7f547b11d59e964c47ab893429ffba5755

See more details on using hashes here.

File details

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

File metadata

  • Download URL: eclipse_zenoh_nightly-0.6.0.dev20220303-cp36-abi3-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 4.2 MB
  • Tags: CPython 3.6+, macOS 10.9+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220303-cp36-abi3-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 7e6c7a5d10f73b245d08c340b4d0035756e3007f1420e0d482e18533b7c0c032
MD5 a9188059ad6fc85169bea4c6dbb78496
BLAKE2b-256 2bef7414302ba8c4cf155c09591606b8cf3a0a039f62582a04feb584484b14b0

See more details on using hashes here.

File details

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

File metadata

  • Download URL: eclipse_zenoh_nightly-0.6.0.dev20220303-cp36-abi3-macosx_10_9_universal2.whl
  • Upload date:
  • Size: 8.1 MB
  • Tags: CPython 3.6+, macOS 10.9+ universal2 (ARM64, x86-64)
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220303-cp36-abi3-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 51fa7c0326a221e5ea7549bd886c8286ac4a815e7acd8b48e7f51d9217cf06ea
MD5 40226b3022d309582114c42cc9c63c20
BLAKE2b-256 c6d561a3193f9737562b21990a2d49d33b47a492e1181532b2a62473405ef728

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