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 (installed by previous step). For example, it is placed at $HOME/.local/bin/maturin by default on Ubuntu 20.04.

    export PATH="$HOME/.local/bin:$PATH"
    
  • Build and install zenoh-python:

    • With a virtual environment active:
    maturin develop --release
    
    • Without one:
    maturin build --release
    pip install ./target/wheels/<there should only be one .whl file here>
    

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_dev20220926.tar.gz (93.7 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_dev20220926-cp37-abi3-win_amd64.whl (4.3 MB view details)

Uploaded CPython 3.7+Windows x86-64

eclipse_zenoh_nightly-0.6.0_dev20220926-cp37-abi3-win32.whl (3.9 MB view details)

Uploaded CPython 3.7+Windows x86

eclipse_zenoh_nightly-0.6.0_dev20220926-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (6.9 MB view details)

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

eclipse_zenoh_nightly-0.6.0_dev20220926-cp37-abi3-manylinux_2_17_i686.manylinux2014_i686.whl (7.3 MB view details)

Uploaded CPython 3.7+manylinux: glibc 2.17+ i686

eclipse_zenoh_nightly-0.6.0_dev20220926-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl (6.5 MB view details)

Uploaded CPython 3.7+manylinux: glibc 2.17+ ARMv7l

eclipse_zenoh_nightly-0.6.0_dev20220926-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (6.8 MB view details)

Uploaded CPython 3.7+manylinux: glibc 2.17+ ARM64

eclipse_zenoh_nightly-0.6.0_dev20220926-cp37-abi3-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl (9.8 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_dev20220926-cp37-abi3-macosx_10_7_x86_64.whl (5.1 MB view details)

Uploaded CPython 3.7+macOS 10.7+ x86-64

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220926.tar.gz
Algorithm Hash digest
SHA256 457cc5ca03fa702d5d415293081255536609c77e23f28a78ac6eb83f8a61f5f6
MD5 ce53ed150bd9fce1cff879bf35c0fd07
BLAKE2b-256 7274dcaf7fef08c6d96f11305dce501ce6291302ecda40ef8425d919c7b27760

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220926-cp37-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 7f86106b66983d8585c8d99f86d6a844545691bf042852746a868a269fc10235
MD5 a740c70befb918364d5433be66600366
BLAKE2b-256 7e5ba499cc0a8f20edab456b3baf5c0dc8da9663d715910f685d2958e9873e2a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220926-cp37-abi3-win32.whl
Algorithm Hash digest
SHA256 2e791836f4f95631d1001d14fc3deb52322097a21bca6eb99cd9909f612ffd73
MD5 4f43195a6ae596284a7b59aa6c29a00c
BLAKE2b-256 bfbbb19ea97ce40c0b042d580217d646f87cd97ea95ee191e1a4f9a890550310

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0_dev20220926-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220926-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 91fe179e2e3c1903c91089232834a2a4f1f6214593b5b5df447eb058f3f6f2db
MD5 2d8f3abac465bd862fe5f585cbe96068
BLAKE2b-256 bfc5e7e89af9cffb00ba94bf0874f6a4de2fb62586c440f4cfc93226b8c99b35

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0_dev20220926-cp37-abi3-manylinux_2_17_i686.manylinux2014_i686.whl.

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220926-cp37-abi3-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 d1f282d4f219b039356aca719fc9ef9362901b7f952913a0c830ddde47e5f2ab
MD5 0b680936a7f58c0e018fc2ff2c4bbe24
BLAKE2b-256 ec2dc294a80e09d8a01ef2c27c2a78770f9e28e1b73856689495fdb91c39f69d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220926-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm Hash digest
SHA256 6125de77fbb9c4e104e409899e7f7cc8a5c9df0d8dfbb938aaa9c60fe2fc7ac0
MD5 aaa5f4960232cb22193e481985e6d60f
BLAKE2b-256 1bf524e2d840e721250a436f61bc6868209fbcdb693825e83a707ba6e108cb50

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220926-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 22ccdaa94729e677b7f2555c4028e61bf73836e8f584aa7716f4058eecc468be
MD5 6392c4d069021b6b19d713a42779149a
BLAKE2b-256 227b2b75c7b52564d2a172148f55bfd9a5bde880923e4fbb02151c892ea990aa

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0_dev20220926-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_dev20220926-cp37-abi3-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 0552503db34199023ee8476717dcc3d41fdbcf363cd59b50d86773af166849a6
MD5 f5ed9ed70278daac935e5d50fab3ad5d
BLAKE2b-256 68544d6336d5ab02405d77f6ccafeb139a12d32f466b9dd149c6850f3ddbe44c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220926-cp37-abi3-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 10eb0488af8b9cf713eef23e607d44585d0e34e48a93da9503e0daff4aa06427
MD5 a66fe0dff1a87cb3fefa72c006c45499
BLAKE2b-256 1dcfe6cf7ae50c57e734e5cdff0ea6996b35d61536959a27a2706bbb7244fdbd

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0.dev20220926-cp37-abi3-linux_armv6l.whl.

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220926-cp37-abi3-linux_armv6l.whl
Algorithm Hash digest
SHA256 04cb8c70e4461840cb23f6b27d9475011bcd57cd0205c2edabfc277a5121ff98
MD5 5defe96a693de6a670858291f08e904f
BLAKE2b-256 b19a8f89e3141f9541c55c1462816cced3eb5aa79105401d88f1af07d0de1245

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