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

Uploaded CPython 3.7+Windows x86-64

eclipse_zenoh_nightly-0.6.0_beta.120221013-cp37-abi3-win32.whl (4.0 MB view details)

Uploaded CPython 3.7+Windows x86

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_beta.120221013.tar.gz
Algorithm Hash digest
SHA256 88152dcb9eb2049c12eff985c03a0d4a5a1d82e6466d07660844138bf53fae23
MD5 94355ee3332f01f80ce310cc676fd674
BLAKE2b-256 0d4c173f8100c730a0b643172ab9592ed53eda7c623a65421f1138a50aa90d49

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0b120221013-cp37-abi3-linux_armv6l.whl
Algorithm Hash digest
SHA256 d2eba7b59826a9970295fb5364fed532d8a79ece10eea1916c935e73d0e3927a
MD5 065741ad5c1c1b23d6a8fee47e545df5
BLAKE2b-256 2a99ea0b660128fffdec69fe9749a918e7d91ab573e096dce6680d00eb306261

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_beta.120221013-cp37-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 c8f47dd10a3d457a3f62eaa96f179f18d89ec1f56a0a55194f659b0952eca6f4
MD5 8ff92b8be13f69acd109ef8d6e2fbca4
BLAKE2b-256 1397658ad8333cc3f5e8cfce2f2fdb0f1845bcc1ffcb345a2b72fe3863d2f85a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_beta.120221013-cp37-abi3-win32.whl
Algorithm Hash digest
SHA256 50705f793a25aa130a162ade88afa27ad4980734e04477e6e3702f67aabdc217
MD5 2d429c805bd34d7b82aea54bcdbe0c1e
BLAKE2b-256 c3a6b6313abb7f447e3e48a7a08ca09603c2776d600c8aa2bdd7c83a16fdb5a0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_beta.120221013-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 5508b2e38bf3aba2e8325791d71ad4246d11828d2b55c22bdb70bf6b7778c916
MD5 4705da6f08cf19a8baa777e437dc7c19
BLAKE2b-256 42aca011acb397bce19584bc33e492dd1fe2260a2f0b6206398a1a81a7f70f14

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_beta.120221013-cp37-abi3-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 c50033464c0f895f1cd3fca9a45a1dd37d293ddbcfe5f1a83117e6ba14894e8b
MD5 2e2a69af38a57e3945845342ae6002b2
BLAKE2b-256 1834d9bb0325b973c9b63c5ccdafce31cdf59c409db1a8317565a0736046bfa5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_beta.120221013-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm Hash digest
SHA256 96b6467d0f9c6bf29061c87bee888543e0dc6864e93c9938730ca6036ae2ba43
MD5 c3f583c5ce01fa29d599beb3ac209212
BLAKE2b-256 11176c3b2e59b3570e73b6276d533903b2ab4bd54ecd0c39ec31f19d8854432a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_beta.120221013-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 8cecf7fe4843153fcfc375f907fb7accd8a1fbe207c4cc6a9d131bfb3a9f7100
MD5 ca908babb60bfcbc2d580647acb06acb
BLAKE2b-256 ad20625683cef89f5b3a6b223830140efbbe2cf70b4a45fa521541da1650b094

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0_beta.120221013-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_beta.120221013-cp37-abi3-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 e67e91b66a800548f7b5381b9d4bbf4459844f698532d88a6335cd7579fa4072
MD5 c438fa0980ebe9105f53a72b69960319
BLAKE2b-256 b10a579fa398d579364001ad9426055b4abfa558cc119075414faaf07f61a240

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_beta.120221013-cp37-abi3-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 1b677f8d3690084dc7f40650b34726edae590be87a523921c1965ff78d0b0541
MD5 a10d4e54b2bfbbb0f8ce0f564d10f0a7
BLAKE2b-256 f6bdac181238d446ac951ee82eed26d1bee06de232ab67033666d3c157b3e49d

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