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

Uploaded CPython 3.7+Windows x86-64

eclipse_zenoh_nightly-0.6.0b120221129-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (7.0 MB view details)

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

eclipse_zenoh_nightly-0.6.0b120221129-cp37-abi3-manylinux_2_17_i686.manylinux2014_i686.whl (7.4 MB view details)

Uploaded CPython 3.7+manylinux: glibc 2.17+ i686

eclipse_zenoh_nightly-0.6.0b120221129-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl (6.6 MB view details)

Uploaded CPython 3.7+manylinux: glibc 2.17+ ARMv7l

eclipse_zenoh_nightly-0.6.0b120221129-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (6.9 MB view details)

Uploaded CPython 3.7+manylinux: glibc 2.17+ ARM64

eclipse_zenoh_nightly-0.6.0b120221129-cp37-abi3-macosx_10_9_x86_64.macosx_10_9_arm64.macosx_10_9_universal2.whl (10.0 MB view details)

Uploaded CPython 3.7+macOS 10.9+ ARM64macOS 10.9+ universal2 (ARM64, x86-64)macOS 10.9+ x86-64

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0b120221129.tar.gz
Algorithm Hash digest
SHA256 a9309432e16c2d8051026ab91655e27dbab0f5c04113258e498ae70cf083781a
MD5 470a4e09eeeb9dcfb6f52b55b569d78d
BLAKE2b-256 11252d89266565f2d356be1afcc477a2e37767bb764d33c03f72116658548a4f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0b120221129-cp37-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 126b5548911892b1d88ecce96c32633354462a36a956bf0b5ffab9423f8dabd6
MD5 a3a261e141a778625c5c91f923a7b2cb
BLAKE2b-256 5d53eed515108d4dc3131f29688c94142e06fe4d446d7f6ad744452ff9c7db64

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0b120221129-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 3c712e65b62746ad21296cde2ce5db64a8d89d39ed9202f40d9687215f456e32
MD5 d821ec69188cd531ced7521b0cc5e5e7
BLAKE2b-256 01c6a9d4ddaee36198b31e74c4fafec07ab6dd2fefdf1b476cd433dd393b387a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0b120221129-cp37-abi3-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 12d09ccd60c426b581cff3fe0935c2db4bb955087701470f9598056b068ca214
MD5 dee5b5d8d66eb8ef7c852610679f9682
BLAKE2b-256 b19234be170519e0c2e0de1d774257921f370d892e66f96ad8a5c652a1586f5f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0b120221129-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm Hash digest
SHA256 b857443353ab4c2a05571b9f99f694f37ca8d6049914946a7d01d0de0c0c8ba6
MD5 b5274d4e0204f462caf65c365d75505c
BLAKE2b-256 77258e8d1b102f253920cb6a93ccc8778c4cfe8585ed712ea68cf61af10850de

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0b120221129-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 0f05f5a95ee817a5ae18b133b08413eacf2ae3601a8f7341a7fa13bcc54f73f0
MD5 897e74929c0b5093c16541dc8447cf95
BLAKE2b-256 747884b369d4678b4e4d873a6779e2e5b0da5cf9433f85d363dc10f84ebd15da

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0b120221129-cp37-abi3-macosx_10_9_x86_64.macosx_10_9_arm64.macosx_10_9_universal2.whl.

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0b120221129-cp37-abi3-macosx_10_9_x86_64.macosx_10_9_arm64.macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 2983bb1a06e1ab93d9363e0d7090c87a385648e28eee1d76b1f8170d61b2d211
MD5 d822b5fcb53aee4e0fadb4e8f3c981cc
BLAKE2b-256 fb0e378eae680b9cc99c4d64a3d2daf478d0a07dc5c92d55914a373e7e1ea413

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0b120221129-cp37-abi3-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 dd4705cca5d042656a30c84e4a46bbff3d9eccf3d8013bedc6f0f3bb5302dbf6
MD5 1f0163d28fd19c5d4b409e785bd3797a
BLAKE2b-256 9fb31d55824e5c38a5d94d37865cf9d34e0831e9d0bd79370409102abf31767e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0b120221129-cp37-abi3-linux_armv6l.whl
Algorithm Hash digest
SHA256 a756f53b3e96f299797e85bf2625c7900a0d99b5bfa27b300d6034160faaa8e4
MD5 64f33b2947c11949196153c1fae19f3e
BLAKE2b-256 9afabb8e8c24724cbb53de460f3e8b87d62cb4b63639534a2ed0b513e7fc741d

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