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

Uploaded CPython 3.7+Windows x86-64

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

Uploaded CPython 3.7+Windows x86

eclipse_zenoh_nightly-0.6.0_dev20220726-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_dev20220726-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (7.2 MB view details)

Uploaded CPython 3.7+manylinux: glibc 2.17+ ARM64

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220726.tar.gz
Algorithm Hash digest
SHA256 9c36072801b3ab27ad26531cb8b8489345da02908e97031c2b78f50021648bd6
MD5 0d1fb1d6af41bcf37fce20cfc18b1541
BLAKE2b-256 9204cbd2cf5b9ee1570d6a1c970f63e464ee2985ae7c37d7906a685f05f9992b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220726-cp37-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 2088e645d097f921185b2b96dcef39d3c807c43a7a78c6e2892440d5dc05ec15
MD5 d702a317f0b0f491a4d544e3a213d819
BLAKE2b-256 eec3afe06e4d1406ba5de35c3957bed7464165490fccbcca0f6474f102a8f40e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220726-cp37-abi3-win32.whl
Algorithm Hash digest
SHA256 32b18e9aa8ab725f94d838bfb7e742f3c0aaf998ca1b0f4533881b1665f05b0d
MD5 d9aa3e24bea26a06673e0e02d4a05f51
BLAKE2b-256 4061ffa6af6e6905c22342247eaeade027cac1652c2ead830cd7c93c0b69c68a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220726-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm Hash digest
SHA256 e6dc90f1fc1626e186cbf4074ab0b1bb490acb55a6cb604713140f8b4eeb7e43
MD5 cb5a0b2e2d33a15351a7719760e60f58
BLAKE2b-256 ac83b9211e5bbd3ecd2e99acb6c46d52da573466d34fcae73b274b934195c6cb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220726-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 3342c07c7cf00b4d64ae71c091feb98681f70bc3001e6a34e202995b58885de2
MD5 0597d221bdde3ec582f2ba8457e5e43a
BLAKE2b-256 f88d1dbc0b08a2c50fa5709bf858ccd986b22721c7ff81c50e2c9426f83166c4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220726-cp37-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 54b749b5b467328b2f692214bbc873cd20b075c32f57fa5f2d95131946d755fa
MD5 0d80e6deb0929ee9e4cb1c1a6519e17b
BLAKE2b-256 86dbc8b63fb1b20d8e8f84c38b4de88e6ece5a20b7ccd32626cce7007630853b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220726-cp37-abi3-manylinux_2_12_i686.manylinux2010_i686.whl
Algorithm Hash digest
SHA256 5e560d1745d91023e0efaff619f1b55e23731d1a5c8445632ea63ebcde3d2147
MD5 dadd87f9681f819ad7de7f90cf453e0c
BLAKE2b-256 66fa7ceabbb6506e84078feb08a02fcd105ce6ff10ef3e23b36ce8ea3d3e1692

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0_dev20220726-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_dev20220726-cp37-abi3-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 d52bb2f58bf5cb3000ffd1051015c2e48987ff2c7a485a459021d6df2acc4bd9
MD5 1a1f11a259b68f747c6bfa49e21e6238
BLAKE2b-256 f7022b034cb4f5f6af79d220e3b310489acc9a57e0bfa201e931e491eba1e3ac

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220726-cp37-abi3-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 d9011b66a07e35c0665614a9fdd92ae8bcb537c36a96ab65e822996e03c6bce9
MD5 daaa467f9c601bb9505d36de7213ede4
BLAKE2b-256 3c9496a5ca585c8259214bd7b8d5447efef9774d222362eb45e5dd327e75bf87

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