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

Uploaded CPython 3.7+Windows x86-64

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

Uploaded CPython 3.7+Windows x86

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_beta.120221021.tar.gz
Algorithm Hash digest
SHA256 7d67afeb9121a4168fb4c28bb546e8a836f2b9c2ae94a9cf3afdea730e5964e7
MD5 089984f53d534c2cae958e7f3b5b8deb
BLAKE2b-256 dc9f124896fa60cd271ae33a1a996b41a0199ee3c6792d1aac6edf8a9b171907

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0b120221021-cp37-abi3-linux_armv6l.whl
Algorithm Hash digest
SHA256 ce5e6542e9eeac78e0cc03f2527410dbdc125e24ebc06e4d3ca256da135e0f9b
MD5 d1a161a934294db83f8340e09247309f
BLAKE2b-256 db50ca1b6d12b5070506802e31d2929bb2eeba02253855764f25d7cf5c0b0f1d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_beta.120221021-cp37-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 a503918061ec47154f58ad81d7a4025d683bee1277860399cb36f65852b0147d
MD5 21f8c7011eb3ddfff249ff4a8e28d715
BLAKE2b-256 31451bc422f555e1a10868a1128cb8699b7a634b9acb90fcb4fce7a5b2c5bd56

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_beta.120221021-cp37-abi3-win32.whl
Algorithm Hash digest
SHA256 922b232c200111963e4adf1520bc70d7080ea8a300a020722928c89dab551b58
MD5 d9de7ab8f8fa3f37146b00c75d8b19c4
BLAKE2b-256 385ac1e4091ad773a9f995459d4d493da85399612e2a8cd4b8a200ad93d2607f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_beta.120221021-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 37d2e7a87f5cf49202cbbe28e59dda4bcfdef773975e46307ba4a7f837068f61
MD5 f8c3250196cda76edc24780a6ace98e5
BLAKE2b-256 55ff0e7ebad27c06d9f2aeee8a6034556098aeec4f6a7b0ffe335756f2de8056

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_beta.120221021-cp37-abi3-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 09bb457f7fc089247d4e819b82f8b654a571aaed8ee807930642446ce226a62f
MD5 12a2cb40d50eb9cf9a6d2bd7a3d1e82a
BLAKE2b-256 a6f441b58e27c4699a528930f835e527ac7dd1274141d795eb3aa81a3566c7c8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_beta.120221021-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm Hash digest
SHA256 3e77de43c51dd2cd0ab7f364f4ab31fd173d3dcb546bff9db894b2e66753df45
MD5 7450456e58998614d3d621769a013f4a
BLAKE2b-256 a1e926e0e9065c2a221ef1b3aef7bff0474cf5d334ddc63a88aaaf4ca8a78eda

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_beta.120221021-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 63a574f500449923cdf3c93b965d7b838a7b312eafa40fb2338c8881981d5d3f
MD5 4548e3ca3a759de9a764f07aac134232
BLAKE2b-256 af296f55ef5758a4d64e513b66dfb8bcdc293c6faa150487202372cfa158757b

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0_beta.120221021-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.120221021-cp37-abi3-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 70e1502fbdfffd9b049bc9caea467f5c89b99fed93cbdc3c453a0a9353775cde
MD5 c453f9346c8764b80baccbe322ac014a
BLAKE2b-256 a06b0032d80dd904d83f933ade4cf26910b6f7c7087a40e5569cab0e76211ea5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_beta.120221021-cp37-abi3-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 89e2027067cbb03a6d98b91b0c2de112dacff7f98d786d40a0de0bac4f41afdc
MD5 36148db7bb18335e47709c751d424c0f
BLAKE2b-256 fc65bd6594d6296699616e6b655a9bb8b6ef17e25b0cfbd71967c7ff32568aa7

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