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

Uploaded CPython 3.6+Windows x86-64

eclipse_zenoh_nightly-0.6.0.dev20220325-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (6.5 MB view details)

Uploaded CPython 3.6+manylinux: glibc 2.17+ ARM64

eclipse_zenoh_nightly-0.6.0.dev20220325-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (6.6 MB view details)

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

eclipse_zenoh_nightly-0.6.0.dev20220325-cp36-abi3-manylinux_2_12_i686.manylinux2010_i686.whl (6.9 MB view details)

Uploaded CPython 3.6+manylinux: glibc 2.12+ i686

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

File metadata

  • Download URL: eclipse-zenoh-nightly-0.6.0.dev20220325.tar.gz
  • Upload date:
  • Size: 51.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.1 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.12

File hashes

Hashes for eclipse-zenoh-nightly-0.6.0.dev20220325.tar.gz
Algorithm Hash digest
SHA256 c1243828a572c0c7e62110108098ea24b2ca5bc5bdd2a455597c962fb4e43cd8
MD5 4af4b6ca9141aa7ec7514c2c641e1b30
BLAKE2b-256 1e390f5717171bf980cb2aa53f0193ca14d8f93b88b6991c784b9f63efbcf1b7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: eclipse_zenoh_nightly-0.6.0.dev20220325-cp36-abi3-win_amd64.whl
  • Upload date:
  • Size: 4.4 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/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.1 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.12

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220325-cp36-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 5d41f49faeab19788943ac4f37615c87fd1bca2df1f364e7d6449469654241f2
MD5 e2255153961d8f250f51f42adfc148ef
BLAKE2b-256 aed0878d9c6d7654f78c51e682f3b882319ea14895cb925a84563071cba76f15

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220325-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 55f5ffd82ab7eb31169237186406d839eee0f68de2e9e76623456590bcf32de6
MD5 3c95525a81f95001e19cf9cf2338027f
BLAKE2b-256 f15f9a12d9142808e9a03397901aa647b7b4663b575cac8b14d516a2369dade2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220325-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 66651e3ce42c4f67548994b775e6305f1cc78fbdeb32ced5d124c731af866fe2
MD5 57a3b1a72ed631d563c6d7d08d844282
BLAKE2b-256 019f5001a436fa359ff6bdf2af1bb18d70ace27aef7666aa7e6fc11494a601f4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220325-cp36-abi3-manylinux_2_12_i686.manylinux2010_i686.whl
Algorithm Hash digest
SHA256 6c64012500a3e15b88e01ac75ac9ced9a3fe4b00e4fabde3a7d385601b6c08a2
MD5 b6d98cba2232d813fcb8c891f6fe4d9d
BLAKE2b-256 b3e6cccdee93de7c5ead994288132714647884d8ae1afb7b26e6c443472294b0

See more details on using hashes here.

File details

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

File metadata

  • Download URL: eclipse_zenoh_nightly-0.6.0.dev20220325-cp36-abi3-macosx_11_0_arm64.whl
  • Upload date:
  • Size: 4.6 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/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.1 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.12

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220325-cp36-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 df68131993a9302f774a91db1963d301566cfeb4cfc58830df43ace14af90e36
MD5 7d213ddf58eeb85a5849aedd9634e644
BLAKE2b-256 a55240622eba578a7c099b26ea1f1dc8b2ee21047f398ec00ad97dcceecba1ce

See more details on using hashes here.

File details

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

File metadata

  • Download URL: eclipse_zenoh_nightly-0.6.0.dev20220325-cp36-abi3-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 4.9 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/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.1 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.12

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220325-cp36-abi3-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 a4e27dfd4bbc4c268f5c71f94bd9f7aeffd313daa4fff47ce1660291d83f132b
MD5 11e50b3f631eb53e519476633fe6d547
BLAKE2b-256 cc0f518eb1fb979cd72a44e0eeb5eed240abf0c7819aa12e749cfe2a6b81f9bf

See more details on using hashes here.

File details

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

File metadata

  • Download URL: eclipse_zenoh_nightly-0.6.0.dev20220325-cp36-abi3-macosx_10_9_universal2.whl
  • Upload date:
  • Size: 9.5 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/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.1 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.12

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220325-cp36-abi3-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 dfed6ce44c2ad8f21c373d510324a6d1d0f2774816e45ffba3613593ce265aba
MD5 6e5883c2e434232e929e062973d4d27f
BLAKE2b-256 06dc280a9eb1f0c9e74ae644b2e778ff3ceec4f6a4e3b31666fdfe2c7506aef3

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