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_dev20220906.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_dev20220906-cp37-abi3-win_amd64.whl (4.6 MB view details)

Uploaded CPython 3.7+Windows x86-64

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

Uploaded CPython 3.7+Windows x86

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220906.tar.gz
Algorithm Hash digest
SHA256 c6f28fa7349a5eb318fdef7fba80fbdab9ec8330b39e75c59839f4207d61e53e
MD5 9343260cd8217701942a6f598d3fd9aa
BLAKE2b-256 fce9e021c59ec1001ed88d01af331396e9c76c8279949ddac3f7d0f14b87517e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220906-cp37-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 5f421692cd4b14508270fc226bcb98ad789b2b949cc85f56b2f07858d267bd76
MD5 865338fd7ebb027c6e676ba75361a205
BLAKE2b-256 5ad6de13fcfb73ac363135587f2e3f954de51633d4c961f252a5e2140a38e0c4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220906-cp37-abi3-win32.whl
Algorithm Hash digest
SHA256 802c1a1c2081a4edc6cf08cad6cb215fda5f381022ec0cb63e5bd516f9d966a1
MD5 82f61a8dae26bab16d8c43823fcf5eba
BLAKE2b-256 e91823d36f39f893982584ad0a3bb8651ce7d176f1ea2ac291fb92426aac4bfb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220906-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm Hash digest
SHA256 5dfa36d75f28e88cc76869f062ac7aee00e7d4bc49179b96cac1ad7e095e36e9
MD5 4deba50d278e4a5215e8ecd395abc93d
BLAKE2b-256 891b8a712efc55b64081e3725377a9a6d5af42543ade4f972494016167c76793

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220906-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 86d7f56f4c42f57d42a94338ed1449638b39ca9564c3bf5d2fc8db650f34b5dc
MD5 3236a77d24a14c0ad5e81a83d9881f9f
BLAKE2b-256 20d24b3bd209590b5be8c07e45b2bf1c695f2210a000ea725942a3363988c944

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220906-cp37-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 2256bbd4c9852d69b3f40981cf9d61a7dc56d9ed583b35ffc7d6dc7a12ddbd10
MD5 4b800ca6ee62ee742a84939f21b45474
BLAKE2b-256 b22f8f966bad6207e73fac3629766410fa2fdc3b34a61f19a1860016a0b0400f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220906-cp37-abi3-manylinux_2_12_i686.manylinux2010_i686.whl
Algorithm Hash digest
SHA256 72f830fd2b007dfeedadce57919d89f24810bf2f8323e9512dd4ce6c7203fd10
MD5 aade564c68d75664794e5fc9676f69a5
BLAKE2b-256 291c982adc7880528ff64c0e388faf63fb4ab603de81b44c8b572a584b27f5b4

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0_dev20220906-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_dev20220906-cp37-abi3-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 37538ac0db936c3fcb1495d6f174a3beab327a9175cb5a1b3ae5d5762e379c61
MD5 6083def8c6657638f2a289f99fbf8024
BLAKE2b-256 aef0fbaa370f891ed9236e88273db6167567b155a52efd9c0050c0a3e725a6fd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220906-cp37-abi3-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 88e096eb14c52a77d436d6fa2247b79d3e3e169b4d6f137a5720a0510eb64eb0
MD5 20264beb69cec793983e03911f51075d
BLAKE2b-256 fbe928b6fc74cc428e1d824d7f44bba2ec124e7a720a5e3b5c9623373f173c3e

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