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

To install the latest nightly build of the development version do:

pip install eclipse-zenoh-nightly

: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
    
  • Ensure your system can find the building tool maturin. For example, it is placed at $HOME/.local/bin/maturin by default on Ubuntu 20.04.

    export PATH="$HOME/.local/bin:$PATH"
    
  • 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_dev20220920.tar.gz (107.6 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_dev20220920-cp37-abi3-win_amd64.whl (4.6 MB view details)

Uploaded CPython 3.7+Windows x86-64

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

Uploaded CPython 3.7+Windows x86

eclipse_zenoh_nightly-0.6.0_dev20220920-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl (6.8 MB view details)

Uploaded CPython 3.7+manylinux: glibc 2.17+ ARMv7l

eclipse_zenoh_nightly-0.6.0_dev20220920-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_dev20220920-cp37-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (7.1 MB view details)

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

eclipse_zenoh_nightly-0.6.0_dev20220920-cp37-abi3-manylinux_2_12_i686.manylinux2010_i686.whl (7.5 MB view details)

Uploaded CPython 3.7+manylinux: glibc 2.12+ i686

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220920.tar.gz
Algorithm Hash digest
SHA256 733bc9d2ab75cdcefc544ea636351dc996c62a7b3aa208dbccef2ee01fe7f3ce
MD5 eda84a40eedd594715bdf6731e3f41fb
BLAKE2b-256 9c2ffe4314d76fff51c10f6707b6b38be1248bb85c148c64892fafd2d0bbb03b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220920-cp37-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 c1009e50a5e2dacb4edabc4968c3cbc28039cb05dc275fdd9ae806087234cce1
MD5 79735ebe8c9b720bac1fb30174e30738
BLAKE2b-256 bb0cf05d0e3866a732533b5729d73345e6c65b6364f04d16db7cefd5af092ce6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220920-cp37-abi3-win32.whl
Algorithm Hash digest
SHA256 806d189c74771ecf1e608906d148cd68c7cec36dfd641285cd18fb51e34d26e3
MD5 a30f619ec54a85d46d706c2e70109a26
BLAKE2b-256 fa4c4cd20a694539ef0e50eb0ae005579eb801a2e4c6f4f7fc8e8b456221d418

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220920-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm Hash digest
SHA256 b347e895c2d5ab2742afb69fa7e0658669686b31ebab05ff72d4daf0265d5f75
MD5 5918b1fa702e4c929a974f27a9703e49
BLAKE2b-256 26e8d9aa956d161e01e13199329540190df7b9f8df8b7c4672b79e7576b6f62f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220920-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 8d8c84a8dd90656ac5cf7abe4ecb2e0a899c5e30364c0b28ea55e11283048e57
MD5 c52cca1abc189695b800238f829929cf
BLAKE2b-256 54dbfbb2ed2f63e0ec81a8a796fafe31024cd1e23e254da95b77a7541a68a653

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220920-cp37-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 a91565df4b691ece9c2804c8ecab5ea397cfbf762978d36ab7ee0ab3062a1c22
MD5 b0578e43648a84a289c1b70514975a9f
BLAKE2b-256 1bf6c7c943ddff58e3603472b4008eb471d59e850f16e289be228fdea61d8dd0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220920-cp37-abi3-manylinux_2_12_i686.manylinux2010_i686.whl
Algorithm Hash digest
SHA256 9e53a35fd7ef4d0ae6a0284c60d4e9cdf1ea4f5dd0cafd3564608d75e4212c78
MD5 db1681b1cecc82eccfe8835a9aff8283
BLAKE2b-256 dbd1a60c272e406e2976e35eee40af45e5758c23c71e1f8c854ee8d3588589c8

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0_dev20220920-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_dev20220920-cp37-abi3-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 a8cf1cb52fee831de3843c28485dafa37044b0572a26eaac9fbdf329bf016f15
MD5 66f5f5bd4f3a230cc7f2ebe86100a4ba
BLAKE2b-256 2f1e364bc5127ea73c06116432ff00c84cd7dad324c8288475bf3ec4119e39bb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220920-cp37-abi3-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 7145826b794e795fe141fd3e1f21cf1bffaec39470e014a5f49b4441cd8c88db
MD5 368c200685c6ac48934937ee9a704ff8
BLAKE2b-256 2310b18cd03a55d3e0055c98e44a4ed5d5d0b5312720d03d013ff24867b2de31

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