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

Uploaded CPython 3.6+Windows x86-64

eclipse_zenoh_nightly-0.6.0.dev20220406-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.dev20220406-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.dev20220406-cp36-abi3-manylinux_2_12_i686.manylinux2010_i686.whl (7.0 MB view details)

Uploaded CPython 3.6+manylinux: glibc 2.12+ i686

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

File metadata

File hashes

Hashes for eclipse-zenoh-nightly-0.6.0.dev20220406.tar.gz
Algorithm Hash digest
SHA256 7558276cd110216340966ed907217ac91dbf06e517c05c71f099e11e2e3b8d97
MD5 3e193fd7844bdffce2cc2a46038c74c2
BLAKE2b-256 6a54951e77358e687fa22c395b9afbb8b306c962a01cb5560830fb4de6de9bc3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220406-cp36-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 4bf583bc4713aa22591d4b36e619fc2d94a9b741a57f91bb333afeadaf8436db
MD5 c6bf7bb0a852eccd1a542e2a25799988
BLAKE2b-256 0b833d8fa2b899711be27b3627358ddb64b94de4ae607054a0d8213af67dddc8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220406-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 b25c9afe0bcef950121a99b7a438eeb6a1830209fff2b10b7b386d1f9cebef65
MD5 48fcdff70e2b6727641951c4150b138e
BLAKE2b-256 7991506523a9b984c7d199a6bb046a233b1d47444426bb91f242f8b51150b838

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220406-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 f6050e37ab6ef2cbfef92793e1e654c1427a61b47bb545acbbe9add14af26919
MD5 a1ec2c5cf181bf54b431a44b7e5c1f36
BLAKE2b-256 55b01ba790349012614fe9a8bfe75bd22be791497bde4869b2637bd6026c3d1b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220406-cp36-abi3-manylinux_2_12_i686.manylinux2010_i686.whl
Algorithm Hash digest
SHA256 c8d2395568c7ce5665760f90965583b992930d5b6920a58ec47af08d490a33cd
MD5 8c22880e4520ebe4ce4caee588071440
BLAKE2b-256 51ea87badd775f359e6d717d398acbfd30f699ab9441ea3326bf4c901c1cf556

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220406-cp36-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 3b7611d795ed31a74b1edccafe470f968e76cb00c3f8a13380fbeff0c56d6395
MD5 7a3a187e79f5b509e9dceffcdf279425
BLAKE2b-256 07222e38f409bae2d0453928b65a036a0912f0baa34f24cc068ec139c5934821

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220406-cp36-abi3-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 a3d0574037a2fdda7a99d02fd21b0c59d20b449d633f88b7508a99de9d12df9e
MD5 82f558e59d916fd5830c76b7102f6ef0
BLAKE2b-256 ac3858afcb764b9934f5cb1b541bb1c1529bd86b36ebb7dd602b61178872f29d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220406-cp36-abi3-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 745d264d3befd5d82f1c317eadc7beffa6e5eb39d2c531da44fe8365904522d4
MD5 af42478a428ffc6e9571a7d52add7617
BLAKE2b-256 b1fe546d91b47effeaa3f450ff5ee530ecca8cb071b05deb46187170f504bce7

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