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.

Check the website zenoh.io and the roadmap for more detailed information.


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
    maturin build --release
    

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

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_dev20220620.tar.gz (107.0 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_dev20220620-cp37-abi3-win_amd64.whl (4.6 MB view details)

Uploaded CPython 3.7+Windows x86-64

eclipse_zenoh_nightly-0.6.0_dev20220620-cp37-abi3-win32.whl (4.2 MB view details)

Uploaded CPython 3.7+Windows x86

eclipse_zenoh_nightly-0.6.0_dev20220620-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl (6.9 MB view details)

Uploaded CPython 3.7+manylinux: glibc 2.17+ ARMv7l

eclipse_zenoh_nightly-0.6.0_dev20220620-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (7.1 MB view details)

Uploaded CPython 3.7+manylinux: glibc 2.17+ ARM64

eclipse_zenoh_nightly-0.6.0_dev20220620-cp37-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (7.2 MB view details)

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

eclipse_zenoh_nightly-0.6.0_dev20220620-cp37-abi3-manylinux_2_12_i686.manylinux2010_i686.whl (7.6 MB view details)

Uploaded CPython 3.7+manylinux: glibc 2.12+ i686

eclipse_zenoh_nightly-0.6.0_dev20220620-cp37-abi3-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl (10.2 MB view details)

Uploaded CPython 3.7+macOS 10.9+ universal2 (ARM64, x86-64)macOS 10.9+ x86-64macOS 11.0+ ARM64

eclipse_zenoh_nightly-0.6.0_dev20220620-cp37-abi3-macosx_10_7_x86_64.whl (5.3 MB view details)

Uploaded CPython 3.7+macOS 10.7+ x86-64

File details

Details for the file eclipse_zenoh_nightly-0.6.0_dev20220620.tar.gz.

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220620.tar.gz
Algorithm Hash digest
SHA256 941520b4cf7c67b76cce1dc90cb4a924a2df0833a514d375a49c23556f78fbc1
MD5 db967c0d01d95e21087bcde44df44dbf
BLAKE2b-256 20dfa7d012de6f6c473da8cc73fca43b71dee8d25bc711022d39eaff65454002

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0_dev20220620-cp37-abi3-win_amd64.whl.

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220620-cp37-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 cd9730a2f029c002354e622e83f4f8f75c80487c7c6e2485822564a9772eea58
MD5 9d27039d771faee0ca97606234528328
BLAKE2b-256 4f0dd3c094a2558b62f7a80617d9e6884b56f6daad65921e73139e626e31233f

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0_dev20220620-cp37-abi3-win32.whl.

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220620-cp37-abi3-win32.whl
Algorithm Hash digest
SHA256 94d7b9dbc8f2e27ce1ee268cb0507e7795980ab54e891e6ef5da730d42d5a04c
MD5 68fa0a350428669ce8ce1f95c8fe9bef
BLAKE2b-256 cd65a5d8667ec20aeef13ae84df4d6d73b07c23cc5957525402e95134f505876

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0_dev20220620-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl.

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220620-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm Hash digest
SHA256 cc2dee61cd9c56c537f6aba7292462baacc81c70282d40d04ba8eb91cd5643ef
MD5 b9c198813411f69693ce796aac299910
BLAKE2b-256 8c72cab66730f256c8cb545c2231c798784afcce251cb23801f6719f31d044e7

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0_dev20220620-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220620-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 7ac64d5b3f69a7fe2615df9e8b7c9bc3141b49ffa9eba7334bdb46a66ae73151
MD5 61b03c43b08a7437b7c8323dff44e5d6
BLAKE2b-256 7a572fbd2b676aabd500c478ae555f8cccabfa3b0831eadb91f5a8343b09ee85

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0_dev20220620-cp37-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl.

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220620-cp37-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 ba4bb42286ff1b4adf0ffde9530010dc0c4faebf2f5aaac4471c74544c66eeea
MD5 ab3488c2ea03a6e7c0159a681bfc9270
BLAKE2b-256 ce9f77cbbaa393af9b898629cce78c676ac9c9aba54a3dc681092012b2067053

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0_dev20220620-cp37-abi3-manylinux_2_12_i686.manylinux2010_i686.whl.

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220620-cp37-abi3-manylinux_2_12_i686.manylinux2010_i686.whl
Algorithm Hash digest
SHA256 ed531560da86403778a8748b18193e55cef85d17299d0e3efdae76fc2f1aaf7e
MD5 dcfb4f8efd6acd936b160593e9af8fd2
BLAKE2b-256 934d26a984be7deee0f53b6374e2c63c364c4fdc4357d34c120d182f7aa5a298

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0_dev20220620-cp37-abi3-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl.

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220620-cp37-abi3-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 3f1f96cdacf90820853b7d6ce994925a6178ce44ba1300a155bf97daa4063310
MD5 24a28af21fd6713653efb245c16cdce1
BLAKE2b-256 027388dbb49d02530bee176b8e46930a6d3e48bd9c641d38c4d0a54a3a8b5501

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0_dev20220620-cp37-abi3-macosx_10_7_x86_64.whl.

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220620-cp37-abi3-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 fdc8436464af51162872fdb920ad19dd67daeaadba457645aa98566094a5252b
MD5 4412ee4fd21c5123c032b89202a3f3bc
BLAKE2b-256 2de8bf7bf846b81a2c7880c3210eac78a48e0e6bdc3e47c3140322b2a1df09de

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