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.dev20220217.tar.gz (46.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.dev20220217-cp36-abi3-win_amd64.whl (4.3 MB view details)

Uploaded CPython 3.6+Windows x86-64

eclipse_zenoh_nightly-0.6.0.dev20220217-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (6.6 MB view details)

Uploaded CPython 3.6+manylinux: glibc 2.17+ ARM64

eclipse_zenoh_nightly-0.6.0.dev20220217-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (6.7 MB view details)

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

eclipse_zenoh_nightly-0.6.0.dev20220217-cp36-abi3-manylinux_2_12_i686.manylinux2010_i686.whl (7.1 MB view details)

Uploaded CPython 3.6+manylinux: glibc 2.12+ i686

eclipse_zenoh_nightly-0.6.0.dev20220217-cp36-abi3-macosx_11_0_arm64.whl (4.5 MB view details)

Uploaded CPython 3.6+macOS 11.0+ ARM64

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

File metadata

  • Download URL: eclipse-zenoh-nightly-0.6.0.dev20220217.tar.gz
  • Upload date:
  • Size: 46.5 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.62.3 importlib-metadata/4.11.1 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.dev20220217.tar.gz
Algorithm Hash digest
SHA256 f0724d6a0ff7566c9cd04443e369c8f241393054406314b340552fd1e1afdef0
MD5 3e64186cf7181ed56724102c9017d9b7
BLAKE2b-256 9d85fc68d27c2db82920ecb4896ac94c3e975ae06267955f39dfb75037357b74

See more details on using hashes here.

File details

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

File metadata

  • Download URL: eclipse_zenoh_nightly-0.6.0.dev20220217-cp36-abi3-win_amd64.whl
  • Upload date:
  • Size: 4.3 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.62.3 importlib-metadata/4.11.1 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.dev20220217-cp36-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 223cff485221926098e790c5040fd8d9def5dee9d21535fb70d7eeb6edf06716
MD5 75e3dea391f087d1c2575b78b647b7f9
BLAKE2b-256 638cb6c56bfd4a4b55a525e799334c469c495d235a2b92ab75a892a0784fe666

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220217-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 4675804f112c3a0585bc8fe574b1c37598dcec857a884fd1e3c2d6279a94e957
MD5 a6866b0f2414e2a7c858d51b07328381
BLAKE2b-256 0ef75ab91f1d411ea5206a5f1664b11eb6397d89bb56282496787ed8a3f9d34d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220217-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 1abceaa53d79159076005c170e8622db011fcf5150ed2c4ad693a1b022150d87
MD5 a21bd777f98607960f3f63b101cdd331
BLAKE2b-256 679d2f6c10140f32911754c0d0cafd32402fdd131e67e5e4a5df9855e5ddd361

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220217-cp36-abi3-manylinux_2_12_i686.manylinux2010_i686.whl
Algorithm Hash digest
SHA256 0f9c6e429f0e31155e8252f1ce857ae82a6bd4d7c8be4f7ce9d5018e59b1738d
MD5 b5c7af45687d8d58a199f15fabb27d7c
BLAKE2b-256 e7b664a6650b2ec37a22b41f63f33db80ec133254f41c75debc05352442135bc

See more details on using hashes here.

File details

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

File metadata

  • Download URL: eclipse_zenoh_nightly-0.6.0.dev20220217-cp36-abi3-macosx_11_0_arm64.whl
  • Upload date:
  • Size: 4.5 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.62.3 importlib-metadata/4.11.1 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.dev20220217-cp36-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 b5fcb27186242e158bcd19f271d9501d92cf8295f8230c47d3489d5e7ec204a1
MD5 e4f26a9eb1253d4bc26e8e79f2561aea
BLAKE2b-256 8d72a655bc4df872a236d156228fcde9c3f19a1cfac15367a792860ffd24a138

See more details on using hashes here.

File details

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

File metadata

  • Download URL: eclipse_zenoh_nightly-0.6.0.dev20220217-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/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 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.dev20220217-cp36-abi3-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 6a676efc9a7346c91c1fb27bb5fd5bc9b6af1636e6ef3b1943d3d4e20ae4bbdc
MD5 366ead84da1b509b75aee6b974e41b5e
BLAKE2b-256 1b75c76cfea9a9b09f28f8c510f173d298ebc238b4cd81f19bbb1d7d25aac94d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: eclipse_zenoh_nightly-0.6.0.dev20220217-cp36-abi3-macosx_10_9_universal2.whl
  • Upload date:
  • Size: 9.4 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.62.3 importlib-metadata/4.11.1 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.dev20220217-cp36-abi3-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 f1571b8a5b9e5547c85dadc2deec5c19c406c418ee76247418e8c0e628e10ffc
MD5 db6a115b5c7bec35a88e0c97cf2412a7
BLAKE2b-256 9fb701287dd82a1c8cc167eb09c60a037bfa3e5755d1ce004f9763c0a1e7cadb

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