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

CI Documentation Status Discussion Discord 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.dev20220503.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.dev20220503-cp36-abi3-win_amd64.whl (4.5 MB view details)

Uploaded CPython 3.6+Windows x86-64

eclipse_zenoh_nightly-0.6.0.dev20220503-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (6.7 MB view details)

Uploaded CPython 3.6+manylinux: glibc 2.17+ ARM64

eclipse_zenoh_nightly-0.6.0.dev20220503-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.dev20220503-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.dev20220503-cp36-abi3-macosx_11_0_arm64.whl (4.7 MB view details)

Uploaded CPython 3.6+macOS 11.0+ ARM64

eclipse_zenoh_nightly-0.6.0.dev20220503-cp36-abi3-macosx_10_9_x86_64.whl (5.0 MB view details)

Uploaded CPython 3.6+macOS 10.9+ x86-64

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

File metadata

File hashes

Hashes for eclipse-zenoh-nightly-0.6.0.dev20220503.tar.gz
Algorithm Hash digest
SHA256 3d32a393386e11a997973a810a2c7e94e46ef3227234df4fb284479844f7454d
MD5 337b4dd1430d271d5fb49820672ee1e7
BLAKE2b-256 3e558432bbeb89837349adb36e3febaf391c73d4d00a49696ea648088ee1c414

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220503-cp36-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 ff69d879025165d1a2d8345b4deaa84ee8a14ff7f2bfc571660449b6a1515bb1
MD5 388a51e924a0eaed5aa4a6948a456566
BLAKE2b-256 9001adac85299a091c2c9bee5d93790dafcf1aa1a648de7ff9d7429e79828897

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220503-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 5b40e7ed7793ffbb8f3814a184c0a15b9a7ed5a98edbd5fbca1d7cd08bcb992a
MD5 4757e0f6fb8c4cded3ed92f5c1dea97f
BLAKE2b-256 2d603fe943577ed51364677ffb4eb4566b1609996505b75c920735bcb439fff5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220503-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 64b8e99f7b83e1c7f0a30e431cb190003016ffe55ac8f02859be69120cec8d1f
MD5 dcc73860534b024cdd3e9065cf37cc91
BLAKE2b-256 d2a5bdb91220765b4daa6c0fc9539f708678e8ff109729c704cec5c80395b2e6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220503-cp36-abi3-manylinux_2_12_i686.manylinux2010_i686.whl
Algorithm Hash digest
SHA256 a117818a36b95388d8852f302d4b9a9e8a6755c86e4e8d74758009f1d6f7f9b3
MD5 b4f30e13b0ff665cea921f620f1df4a8
BLAKE2b-256 b26e845214eaea6dbb19cc5dd3db1ef656809524e7f8ab9c944938bfbf484198

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220503-cp36-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 b0be10e49d9de71905ebe2cc77ebfc6f138899992936ffc732841769144ce9f0
MD5 fa2dddac76b492474e89065167f82149
BLAKE2b-256 1fd1e5931cc671f0e4b3bbc81babf06c2f1884945dc9229d5a297e6d10383735

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220503-cp36-abi3-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 55fbd903ce744c6d4c16cf603cb925a8186c4aa47af59ddacc1ca7a3ae3c723d
MD5 1d92e8affa576bf348cec25689de6469
BLAKE2b-256 c03fc960d6c6cea79cb1de0bad74b2c272b64727053efc90b3f5fd698f2a8f14

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220503-cp36-abi3-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 abba630f60641d3481b53a3fa66873c764e03193595460d0325172e8cbc4d898
MD5 cbf70165974bc4ff4191ec63dbaeddf7
BLAKE2b-256 39e3db5b0a1c7a3c081050d30feab37238ce3bc34e401a7ce6153d11c6f35144

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