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

Uploaded CPython 3.7+Windows x86-64

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

Uploaded CPython 3.7+Windows x86

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220924.tar.gz
Algorithm Hash digest
SHA256 f0611588fae2cfe779b02f2a33dc6c27938d05c66aeec467b14015eee6b2f7b7
MD5 734f2054ae129ef274cc07f608a576d6
BLAKE2b-256 47dbbdad52fc62848d8d56d68c53f5cdcbccbedce194104b243e19c5ae217ed3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220924-cp37-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 206559bbfb757d218b1bf69aaf725d0c96262989de8dca6bf845c8f197267947
MD5 67b217c8d4f5ad263d1963dfdf959245
BLAKE2b-256 25960e0467694da34fdf3b41f59ca5c20d8d4ffe928d85907cf2e60a9b3d818e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220924-cp37-abi3-win32.whl
Algorithm Hash digest
SHA256 015a636cbbc577fc575e7d32cc4e90ecb607e0b9de3ba34148e635bdeaa8e8b4
MD5 b4e067e39374f9a8f4a0c2f6669738a0
BLAKE2b-256 81e7c3fa8ba1c3c54818eeb95370896042d44d34a21fd2d91917fc1bc400d1e5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220924-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 e818cb1f5db920144aafb78b9f505abdf07d79192a9eb1c515226a4a66963923
MD5 932bb4c8cd2922f75976f25fc9531ed0
BLAKE2b-256 d00b3f6c723092ec4ae5777a8d9de4c2b6ba80bd6ff310e1d588a1fc9480bee2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220924-cp37-abi3-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 4b1e53480663eeb13ed9539b8e83497be58cac86d25b6e588c9b464545fbc00f
MD5 daef0c7b675953427f9c9ad22274e1bf
BLAKE2b-256 f213e0090612dd27b1bbe0f73ea55a46d3033eac1c6c4a563e2196bee509db0a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220924-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm Hash digest
SHA256 742d51e1fee0a33ab11c2e25292211a5eab094ee779c7c4e7e9fead6b8596710
MD5 4c270717f577d35ceb34763295f1f340
BLAKE2b-256 5799910c8e3a2908bcd14ad30f313b66d74e84d133a00a8cb0b6607702e2390e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220924-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 d6df7a116ed583c7c82309a6c284e69a365d91fad08443a89473432496bba785
MD5 f27a78907782a671ee37b7c714293302
BLAKE2b-256 b50b9814654ff85af63408c1857ab31e62b7bd5c0c8294e7f6dd7de4843ab259

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0_dev20220924-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_dev20220924-cp37-abi3-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 79ff7cd530d81ed6c36259551c312045a13e1e06973fa788f7dc76b9c3fde5dd
MD5 d68010a20eda809db8b3b4bdb2b3109e
BLAKE2b-256 a58bab9c34ec2d255d4cb57f62afd3cc38103e7824de61b3c77a154bb26ff4b5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220924-cp37-abi3-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 3f41f0238f09eab0caabb0b7162b29fd572714b4f2c3c3ce5806c33657a6aabf
MD5 990c4a50b871efec067db2396875487a
BLAKE2b-256 81e02cdc4e0425aadd185f71d968dd1590193ee49a6bb4117f2ab42c73e4b7fa

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220924-cp37-abi3-linux_armv6l.whl
Algorithm Hash digest
SHA256 e16039c130dbf784e3e06786c497ba2c240b0324de4a04f461f2acdb48d26e14
MD5 609a4fe080fd3ba187dd6e948df0e66b
BLAKE2b-256 d92f2682dddd208dce25b9aa947046a5f5947626f9cb92114837ccc5918fca95

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