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.7.0rc20221216.tar.gz (113.4 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.7.0rc20221216-cp37-abi3-win_amd64.whl (4.2 MB view details)

Uploaded CPython 3.7+Windows x86-64

eclipse_zenoh_nightly-0.7.0rc20221216-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (6.8 MB view details)

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

eclipse_zenoh_nightly-0.7.0rc20221216-cp37-abi3-manylinux_2_17_i686.manylinux2014_i686.whl (7.2 MB view details)

Uploaded CPython 3.7+manylinux: glibc 2.17+ i686

eclipse_zenoh_nightly-0.7.0rc20221216-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.7.0rc20221216-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.7.0rc20221216-cp37-abi3-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl (10.0 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.7.0rc20221216-cp37-abi3-macosx_10_7_x86_64.whl (5.2 MB view details)

Uploaded CPython 3.7+macOS 10.7+ x86-64

File details

Details for the file eclipse_zenoh_nightly-0.7.0rc20221216.tar.gz.

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.7.0rc20221216.tar.gz
Algorithm Hash digest
SHA256 8e3631e1d17b230feefc29edf72adfff4903ce4ffe0efbefcc5c872e4cc818ff
MD5 1d5e503a1a9d8c5311d9b7ec76288af5
BLAKE2b-256 0c297a579c5da8e03934e00c73c3d35649ba66672044486e8a1a01c66a5c1ab4

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.7.0rc20221216-cp37-abi3-win_amd64.whl.

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.7.0rc20221216-cp37-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 8a1292365532cdbbc1babda0f65694b852f4776721dae0e24a77173d53ad32db
MD5 a62579998889e376cd04bdd518c8dd6b
BLAKE2b-256 cb1ff993bc4b778a5f4769ad53e5c36d23c7a2ad9145a915175576bcc1b47878

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.7.0rc20221216-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.7.0rc20221216-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 37ea8d8d722fb1d6e063eb093abd1c233783bc1a7911fe834c94a13098b66645
MD5 f9a8815fb03a9202e26c1e4e896e8db5
BLAKE2b-256 3420ec5535edcd3fbb31bb72df8e8d4948f6dedc98225c010827100785b06194

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.7.0rc20221216-cp37-abi3-manylinux_2_17_i686.manylinux2014_i686.whl.

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.7.0rc20221216-cp37-abi3-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 d2021b67eac6e2b5c44f9af31c3662ede193fbae77a9017cf7a8d0f802b93c0c
MD5 76bf9d1ca931a7ee7b1a872d286546a8
BLAKE2b-256 32f39607c138e32981912b9255270da680fd8192bf55fab869d47cc512a6b77f

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.7.0rc20221216-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl.

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.7.0rc20221216-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm Hash digest
SHA256 1db27063d0eab7aead9bd57f936e9e015151f5c756706eae04754e0ab2a07bb3
MD5 77d17061c4234d2a068a525452353c95
BLAKE2b-256 6774348af4f4f4ce5410773797fb55f3cef9a88158d6fd06996d4eb468d85d9d

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.7.0rc20221216-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.7.0rc20221216-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 e36a147a45a601a706edb42730a15f8fa6393ab92f7ebfc5f6ef56c6a95c7af7
MD5 f0df3040cfa4442b92797c5d13018f0e
BLAKE2b-256 1b9d87a741106dfcc3f3c7f6414e5e6681fe84d69c2a8eb3820ecd889515b916

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.7.0rc20221216-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.7.0rc20221216-cp37-abi3-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 b2c3b22d287d14c0241bbffcdcdaf94a4643f36b73b8b51a00e4d2fd4599e534
MD5 ee73bc306347239cbdb0c98203468b1b
BLAKE2b-256 fd4f8890a308a8ab1a8f6ad104fbbf76d3140f130806dee802b608d818fad191

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.7.0rc20221216-cp37-abi3-macosx_10_7_x86_64.whl.

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.7.0rc20221216-cp37-abi3-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 07de80fdb5a7179080b181e4905345d13da88f3bcaa8522144a3a360bc828c0d
MD5 1918e5ee71c49e026852c5b27025477b
BLAKE2b-256 8b33b1f5cf1802959b804257ae423b1106548fa3d6240d7d8d685c12fa207dc6

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.7.0rc20221216-cp37-abi3-linux_armv6l.whl.

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.7.0rc20221216-cp37-abi3-linux_armv6l.whl
Algorithm Hash digest
SHA256 34cbf5f9ff3429adeefaf8c2fb9c2fd9d042ca1fbb71f94037fe90237a020fc7
MD5 b3f6bc67003802d4e7dd4aeb3853c1a5
BLAKE2b-256 7fdebbc2029c73c29e98dc99f9a3965b562ec27042dad9414f64777b075b4c59

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