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.dev20220323.tar.gz (51.1 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.dev20220323-cp36-abi3-win_amd64.whl (4.4 MB view details)

Uploaded CPython 3.6+Windows x86-64

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

File metadata

  • Download URL: eclipse-zenoh-nightly-0.6.0.dev20220323.tar.gz
  • Upload date:
  • Size: 51.1 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.0 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.11

File hashes

Hashes for eclipse-zenoh-nightly-0.6.0.dev20220323.tar.gz
Algorithm Hash digest
SHA256 91f27ef360cfc956719687eeae9ed73387b790d8b92708268ea1015fb177c9af
MD5 7ce05a17ef8edf742fc03d4eac04de15
BLAKE2b-256 0e6615c983e51dc46c01f6d7f016eeb09faac67aedc7ab89ca3ded255dbe0ba4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: eclipse_zenoh_nightly-0.6.0.dev20220323-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.0 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.11

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220323-cp36-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 5034834a7283f65226c1c3fda66d463df0e556de8f8f6438617a073c33530a91
MD5 1fc22fb5a88ac202bd19d0f0be3d2d95
BLAKE2b-256 5120ad1bf6466cfada493de037023e4c51a817ef46337248fcd27975ed513e68

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220323-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 94a1300d056f7ba908ce5129adb05f8949fae0dee5f782547cf5979d1a8cd151
MD5 8fe79e03a396d322b601ad13208f760c
BLAKE2b-256 f76eee03a0226e0f30760881fb33ed2705ec39cc02da07c919e03a2dd3a3f471

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220323-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 9e93a99e07d459171cf75cf2f369477dc6b5392be1196e1c69dd4cb64ec3ae52
MD5 b8d537b458c36011583caf367c5f449e
BLAKE2b-256 3b54c72451d54f3b85779d7070f3aee22dac15f14a579d54903e656dbc9f6443

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220323-cp36-abi3-manylinux_2_12_i686.manylinux2010_i686.whl
Algorithm Hash digest
SHA256 b4738284d38a3f67e48690a834364f3666d4bd42f057a5bea8f2d9c05950de33
MD5 ee05e1664cfd685c12cca4f34c67cc00
BLAKE2b-256 4325047647d883bb582a4e8f34c00c2b8f39de5283e4dca0eef0df7333125191

See more details on using hashes here.

File details

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

File metadata

  • Download URL: eclipse_zenoh_nightly-0.6.0.dev20220323-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.0 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.11

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220323-cp36-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 82d94bb68bbd79d7f9aa5bf7cc6b471b5075f69c77ff048b260965a12dba9eb7
MD5 ebaa4b73a428e454e34755098e3ea69d
BLAKE2b-256 0df281a28020be745ee91f0436a4b85d46829ccda249c7e0be08e76a454b13e0

See more details on using hashes here.

File details

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

File metadata

  • Download URL: eclipse_zenoh_nightly-0.6.0.dev20220323-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.0 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.11

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220323-cp36-abi3-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 a0561cbb5ce42f567f140bd232d1f1fa114b89ca2eaa66802c17adad7ea6b3b3
MD5 18618512e06964b1a7e5c67f890d6ab0
BLAKE2b-256 6d400a0d2bc0705b317770c15e6562aaffdfb4ce1bda849180ce1fbdcb32176d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: eclipse_zenoh_nightly-0.6.0.dev20220323-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.0 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.11

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220323-cp36-abi3-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 38ae071c13af122afa03fdadf147f438eb875612cf1509f6571916ef37bf5a56
MD5 c1584e790361bcbc520fcda7b99ae6cf
BLAKE2b-256 d4bd2c7714b5d026e44c50ce00481375a66fd23259f371fab8ab619ef9c115ae

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