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

: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. For example, it is placed at $HOME/.local/bin/maturin by default on Ubuntu 20.04.

    export PATH="$HOME/.local/bin:$PATH"
    
  • Build zenoh-python

    maturin build --release
    

This will automatically build the zenoh Rust API, as well as the zenoh-python API and install it in your Python environement.


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_dev20220622.tar.gz (107.3 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_dev20220622-cp37-abi3-win_amd64.whl (4.6 MB view details)

Uploaded CPython 3.7+Windows x86-64

eclipse_zenoh_nightly-0.6.0_dev20220622-cp37-abi3-win32.whl (4.2 MB view details)

Uploaded CPython 3.7+Windows x86

eclipse_zenoh_nightly-0.6.0_dev20220622-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl (6.9 MB view details)

Uploaded CPython 3.7+manylinux: glibc 2.17+ ARMv7l

eclipse_zenoh_nightly-0.6.0_dev20220622-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (7.1 MB view details)

Uploaded CPython 3.7+manylinux: glibc 2.17+ ARM64

eclipse_zenoh_nightly-0.6.0_dev20220622-cp37-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (7.2 MB view details)

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

eclipse_zenoh_nightly-0.6.0_dev20220622-cp37-abi3-manylinux_2_12_i686.manylinux2010_i686.whl (7.6 MB view details)

Uploaded CPython 3.7+manylinux: glibc 2.12+ i686

eclipse_zenoh_nightly-0.6.0_dev20220622-cp37-abi3-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl (10.2 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_dev20220622-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.0_dev20220622.tar.gz.

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220622.tar.gz
Algorithm Hash digest
SHA256 428bdc2f9e7ce09e9eb058bb3e91651e0788472fe230153fda4bc32d5f1a9560
MD5 5a3c3240ddb07b162eaaa9ab0e50e13b
BLAKE2b-256 d6c6d654dee3ad395ccf7342dc044cf0cb6d8f1d826570e52a724e38e2e369ba

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220622-cp37-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 4ead16f567e4ce356c652b66770cc09cafe3e754fc82cfd13990a3e20b8112be
MD5 6f195e598e21c53a4c14c7f1549b1a2c
BLAKE2b-256 4a286ebd825ef38d4637766e335c6bfbf7040ded57adc5d51ac26ecd270ac569

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220622-cp37-abi3-win32.whl
Algorithm Hash digest
SHA256 90716a62e0578d6e8f47bf8877f973fc996db56999e2b252162fbb20fb99178f
MD5 7fa5c689ebeade1a666738d23307b623
BLAKE2b-256 7454169bcc41376b3e9cdf986ec9929c41c5486e1ece82d294376148674e2c9a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220622-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm Hash digest
SHA256 268557ceec1ccf25109416d54eaf572ec704a8326848e063604b64a79b1e870d
MD5 f61c240d203c94e2bfe0d667a4ac46e0
BLAKE2b-256 04c0daa2999155a3394d0b5cc4610815a879d09ba99e33c96b5f7a146023a2b2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220622-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 0be1624fe555f6e964346072d1677ef1e1b727577cff86ce4d6417a60ad90502
MD5 949e4edbb266de05dde3801b41889cbf
BLAKE2b-256 20a214c80d63ba653bf6c3e53940a28e52d088ecaa1310af7b7a5794d0edbcfc

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0_dev20220622-cp37-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl.

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220622-cp37-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 1021e167b72d22093361e75ce8f6260284dfccfc3d0cbb2f9a302128c0c9bc2d
MD5 9daf0d177e109e1aba5289f7ddac48d0
BLAKE2b-256 724ab485b4b18f0f672e80687685fd9d7e90fb6f54ca31e6a6df1d467693255a

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0_dev20220622-cp37-abi3-manylinux_2_12_i686.manylinux2010_i686.whl.

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220622-cp37-abi3-manylinux_2_12_i686.manylinux2010_i686.whl
Algorithm Hash digest
SHA256 02d9b616e7ea58c4c82d4e9a4b3e602d56b25d509a9d07debffd09701fbabce8
MD5 85bbd91375d8dfc8607ed0d0c9af255f
BLAKE2b-256 f304e7ca09711e0b599b89ca0b489902cd2460ca45056eb8d21030c24aae73cf

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0_dev20220622-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_dev20220622-cp37-abi3-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 8adca2998fd9dbe88a75a854cf785de4093938be8fc629b4c664c3a9e4f2060c
MD5 aaaba2b8dc9c5b02545350aadedd4a1b
BLAKE2b-256 1711d42a356fdf632fa9548029858176b79d75334af140fcd445054f2b90d948

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220622-cp37-abi3-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 c130d3eb65b78bc628610761c3374988031de7dc98deeedef1062d1fe4f37867
MD5 ea8a6049f8026aa997ac0a24b6462820
BLAKE2b-256 a7fd21cb405c5b50131f141364d7082ee5ca2bf6ceee482ea720f815012a581a

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