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.dev20220131.tar.gz (44.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.dev20220131-cp36-abi3-win_amd64.whl (3.8 MB view details)

Uploaded CPython 3.6+Windows x86-64

eclipse_zenoh_nightly-0.6.0.dev20220131-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (5.6 MB view details)

Uploaded CPython 3.6+manylinux: glibc 2.17+ ARM64

eclipse_zenoh_nightly-0.6.0.dev20220131-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (5.7 MB view details)

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

eclipse_zenoh_nightly-0.6.0.dev20220131-cp36-abi3-manylinux_2_12_i686.manylinux2010_i686.whl (6.1 MB view details)

Uploaded CPython 3.6+manylinux: glibc 2.12+ i686

eclipse_zenoh_nightly-0.6.0.dev20220131-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.dev20220131-cp36-abi3-macosx_10_9_x86_64.whl (4.1 MB view details)

Uploaded CPython 3.6+macOS 10.9+ x86-64

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

File metadata

  • Download URL: eclipse-zenoh-nightly-0.6.0.dev20220131.tar.gz
  • Upload date:
  • Size: 44.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.10

File hashes

Hashes for eclipse-zenoh-nightly-0.6.0.dev20220131.tar.gz
Algorithm Hash digest
SHA256 9ac8204987ba2e9491b33a5d38893b03baeb4c69874584a5d06b9acea112f794
MD5 f41b75fab4f088fee3a447fa051f825c
BLAKE2b-256 bb2adf76b7493a61cb92988fbbcd13cd6813893f14ccee16854a81ed66e4ef87

See more details on using hashes here.

File details

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

File metadata

  • Download URL: eclipse_zenoh_nightly-0.6.0.dev20220131-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.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.10

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220131-cp36-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 f98dde2135069355cd89623a4f5b972585051eae6157d4d011e5263347c145c8
MD5 3bbda2d5618d926548e3c80cad4d8bd7
BLAKE2b-256 2b59abc0cf137bab128693850378927d023648c5e4a3e3e56df8bbbdc4c3c01d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220131-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 9606f49c24cb7825f38d9b612ed7c915f8bf3bc72b9d698597df5838f58a6575
MD5 db36ed57a9664ba8e2c2820a766cd423
BLAKE2b-256 69b1edd3855210dd0e5f45b23a6c7db9874be5b0d6e2397310ce7e02ebabb8ec

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220131-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 148a4ca68894744d0305c50b77d80d19b3262bb37aa9153b709ebd75e8ae97e1
MD5 d0fcb7b06da53d9f02ffeb0054d59b89
BLAKE2b-256 6b2bc99b6a1cb78df8d64df9354b8e3d6fe4d7982da80c9b4222f498ba67a8a4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220131-cp36-abi3-manylinux_2_12_i686.manylinux2010_i686.whl
Algorithm Hash digest
SHA256 876eb66f53a13c3c5d7cbb9db03744aec2d926b845b57cbd7698772d2718bd36
MD5 8d84ac515dbab0f26c7540da569b7b12
BLAKE2b-256 d10b6fb840b3b7873b896ac26aee1ee7c419ec83a22344880b977c4d3679b4e6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220131-cp36-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 f824aa03972c7d44b85ceb1668a0a39990d55207c0a7778471f324b1668b9def
MD5 453e0b3cdb19b37ccd1f4aca9aee796f
BLAKE2b-256 96d2d4c566f898c28ea4478a6e89a95cd70f5dc44db4636020e03aab394afdf7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220131-cp36-abi3-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 8434fd4e3c4827b0ca46689e64857a58e11d0da0ea8ca65db1a3d1f89330b170
MD5 60e3a96c084019f2c5ce1e2d88c60bc7
BLAKE2b-256 76a107d1a0f73b55499c17bfb228f1dae45a673f464b9ed8d2fe45bf589b5598

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220131-cp36-abi3-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 6148dc911421e351aa054589c9a0dde67df77bce38442f85b563415a628e971c
MD5 f8e093f30bb30acc553a4f426e66108c
BLAKE2b-256 8341b3360cc758c94b0309b09480e71ff0445a8924186309a528f7d6f467a72c

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