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

Uploaded CPython 3.7+Windows x86-64

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

Uploaded CPython 3.7+Windows x86

eclipse_zenoh_nightly-0.6.0_dev20220919-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl (6.8 MB view details)

Uploaded CPython 3.7+manylinux: glibc 2.17+ ARMv7l

eclipse_zenoh_nightly-0.6.0_dev20220919-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_dev20220919-cp37-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (7.1 MB view details)

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

eclipse_zenoh_nightly-0.6.0_dev20220919-cp37-abi3-manylinux_2_12_i686.manylinux2010_i686.whl (7.5 MB view details)

Uploaded CPython 3.7+manylinux: glibc 2.12+ i686

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220919.tar.gz
Algorithm Hash digest
SHA256 9ee68d9ee24cfad5c066b42fe62014cc020836ff9b19d975f0be091894768c85
MD5 7780999951c5f77a1d217bf922b6f587
BLAKE2b-256 5b5526bab96692003a0f5c49f240780d3cbd932a4ef2738c1a95707345f38214

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220919-cp37-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 9c979cead9bbf37101dc0626e52ff2f3783c6e76c96605cba3fc83088b010b91
MD5 08514f56aef7277e020740ccf0234d38
BLAKE2b-256 36db3e4f1cdec0cd1b6d2c4576d7274f93a49d0c78c1fcfdfc27c751599672ee

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220919-cp37-abi3-win32.whl
Algorithm Hash digest
SHA256 fc1e8f65430b585df62e41b90617156087b75d9cdf6594ae913db7e95219e88c
MD5 cb070d026f89349c9b0ab49f3f473fec
BLAKE2b-256 7da21e970b60b7154ab493cea125484941b80e997f7ebe3ac6bd709b17b9f679

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220919-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm Hash digest
SHA256 fe9d9547b0eb46a97caa5321ed5e69d6f203423103b0a7821f6fc4a6f14736c0
MD5 68045b5994c391e1db58529cdfa07ce4
BLAKE2b-256 f5246eb32dfb6619d64b4e5639b2aab230d889c93afd9319fa4ebff8898a9c8e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220919-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 5e0b12790b43850e4954d43143ac6b00285adea0ba05304dd765f2827e5735b5
MD5 21cac5fee6b938648f9d9a53ea2de5bd
BLAKE2b-256 d33834f3498b4d08987a06583061ae527b2a6a34cad4030ae89fd1815a7d92c8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220919-cp37-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 f859c76add81401d08bb5b2c253513dc20d5ba89f8e221c8d21a01e3f53baa8d
MD5 14f4df1d7fedf33a305b9ae146d402af
BLAKE2b-256 d1fe4ea1f6bf6a1443398080d8795f628fa25fa6dc6ab62dc9f7199ba537991b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220919-cp37-abi3-manylinux_2_12_i686.manylinux2010_i686.whl
Algorithm Hash digest
SHA256 24f867c05b640c96b7d64dff3ad2ff4177bc0e76a84a8d6805047927455cca6c
MD5 f4afebcafe2b77a153de44a0ee1f3a58
BLAKE2b-256 183e7849e02f733dafd63b7c2bb1ecf6b33c384826be9ce7c2f10d9cdee33ebf

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0_dev20220919-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_dev20220919-cp37-abi3-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 d5c8c5bc022c19eac329cff929150b3b4bf89f115e7f4ad38457c9a6143aa02b
MD5 2294b475df550a01bf64b55ec6a357db
BLAKE2b-256 332c9e9919d8e4b7480f6daa01d2e8a0b8445896b7fd14e29b625a3be2e32d5e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220919-cp37-abi3-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 9dea4ce31f1c6040ceed5ceeaa960318900b3f4c3f97e0f08900fe4b8e6911aa
MD5 b3be10a13dee8b30cbc87f283c58cc0f
BLAKE2b-256 8e2918f39ca619d0ef9bce62e53455a0889a49071d5e7a69124203d8990bfc97

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