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

Uploaded CPython 3.7+Windows x86-64

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

Uploaded CPython 3.7+Windows x86

eclipse_zenoh_nightly-0.6.0_beta.120221103-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.120221103-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.120221103-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.120221103-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.120221103-cp37-abi3-macosx_10_7_x86_64.whl (5.0 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.120221103.tar.gz.

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_beta.120221103.tar.gz
Algorithm Hash digest
SHA256 ddf6b9e90fba60e15004e47e60d86ef55cd34d0025e7e2eb9a77e2fc142cc155
MD5 e4845a58d6424ab70ec08a3dd7778bcd
BLAKE2b-256 352505caee778462c8581281d8bb3b1e256ccc63ea3423a2e2d7d2476f75ddf8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0b120221103-cp37-abi3-linux_armv6l.whl
Algorithm Hash digest
SHA256 879fd0231bed6c2123be1058c0f98ad520a7ff04cc63eeb2d800baa39cc0597e
MD5 a83d26b9ac2919286ec8d84e7cf72386
BLAKE2b-256 e913fd5d0d0290a36c55112b6ef17d41d128a07083340000627f4998e09554d5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_beta.120221103-cp37-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 e2b4414db80538da6745987b9af0e8bf8de7c0c398bf4626190c6918f289be69
MD5 f2cf8c48e69597a246a0c0fe7dcf1248
BLAKE2b-256 2102fb71160f0d8e6420914320d9951bb11da71d7ae280dbc500c30d5b97311f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_beta.120221103-cp37-abi3-win32.whl
Algorithm Hash digest
SHA256 af30273ffb893c1cc0c78cc268f6f13a3d282fa3897736ad7a60447811d85337
MD5 3592655776ab395b324cf8b4fef84b86
BLAKE2b-256 2fd2404ca6fe467c403b964e8de5f823a6a30e74a83e812773ee1914bff268da

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_beta.120221103-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 06619d047179d24377582d5708bd8813d5201e83e6d4a55e84bd36a27190a4ea
MD5 b3cd17c8186c53c2e42fe064b3562f19
BLAKE2b-256 d4d083d636c5b1c72284e45eb685a8ed2eb9c6e98d59208e8612ee94757e62f0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_beta.120221103-cp37-abi3-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 c2922caf2097034f5053457c0c80431c89d45f357ce1d5a0cf0c7848ea6acc05
MD5 28353da7ef48c91f174daaed465c9158
BLAKE2b-256 bba20058aa5fafbc80c910f2516d9721aebb07e4c4b1bdd68b2de6b3091d0c1f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_beta.120221103-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm Hash digest
SHA256 c0753dcf4870407a2f741897bae0224430e02a0583f55705d82479af5ffe99ce
MD5 0fd8969f40b1fabaacf22b3c14e42a79
BLAKE2b-256 28e8ed8b0e35e16474b5ae20ad518a90288dd79ed1bf0ff0c56d0c4ec2cf47c4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_beta.120221103-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 08197893aabe15b85024161092bbea02b90c4f25e4d88b1c62e98e694ff91d97
MD5 3235aa4fc08dd3ba569d826dd345a667
BLAKE2b-256 5f962c9e7ea3c29f159ea247a2e78f9c129993ad29f51b57010e8fb1c51665a7

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0_beta.120221103-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.120221103-cp37-abi3-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 e61c3a734f3425c71211b48d8cbc2af483bf0b93cfa7dbc6a69b63c28179e450
MD5 020ac4ac7456350841bddd7d7b5c6a5a
BLAKE2b-256 cc22c3fa5b371de60df13468581943489f97921752192421eef9a704b3881ba3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_beta.120221103-cp37-abi3-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 953ad30dac3bb16413fd7fabc3a3f010d18fa27b65a6096ce30f957ec5658161
MD5 51d491ba2f4642b6419d5155cc0d2a14
BLAKE2b-256 69b8cd479ef62557d794209e36f2c336fef5cbf6e34c6760b285699a64524dae

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