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

Uploaded CPython 3.7+Windows x86-64

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

Uploaded CPython 3.7+Windows x86

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220630.tar.gz
Algorithm Hash digest
SHA256 6e847e5aeee66003836eb841acb0f7f1616605798bf86d1c6bfacf7d384d849e
MD5 d48c3941d0096a7a2d8bb0b6251e5243
BLAKE2b-256 34cdd7c0261af82699bbf7a76115f8afe8bfed084e95c146f2377ab848bc5484

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220630-cp37-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 3da7f84e3440b6eeb4108112fbea3477ea75f9616e43726d1eb37b8ff9d11e4b
MD5 91eecd229aa576de59740e93d2b58a0c
BLAKE2b-256 0f4e63f95612e93ff8a8a4d6de0b8b36f9380a7dd9beb9fe5eb0a5d16741e28a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220630-cp37-abi3-win32.whl
Algorithm Hash digest
SHA256 ee5be54de58ae9f3192fcef97f749567571295658b5bcb86be3313c4c91dae12
MD5 887ca3acd28a300883aff57e08f471ab
BLAKE2b-256 ddc689ab3b878e03ade172bc364ed5f4abeb6a5ca26f5bc82d760523b99f90dd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220630-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm Hash digest
SHA256 f7c60a9150afcfcaff5cb59642027beb5b3db81d37780e17ad7c53295bb594c0
MD5 ceea51ab4cfc4a5e318093eb48fc1e2d
BLAKE2b-256 b9bb0982ec048a0552f6e54a3210a2b8f6d8d67b5f7de0df4e427c9135bb6cd3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220630-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 67dac22d41af363285c49e5bb51b9016480be177e37567f45b87ad21b8d80f06
MD5 8905107345685ff5c098214a6522153d
BLAKE2b-256 b8f632aa070458ada1e92438c4c40fc6bfbc4f9aa7b09e11b3cb0c936f4cf8fc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220630-cp37-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 1249301729127be3b13f2aec9b6d59023d2d92e22eb4c7d74ecd66ebd2d4e0d6
MD5 8a55593e9b3f5707e9a5b8e2221b8691
BLAKE2b-256 03d06408e35e05716ecb2b53fd38fe81bca1196969fdba523ba820e451b284ee

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220630-cp37-abi3-manylinux_2_12_i686.manylinux2010_i686.whl
Algorithm Hash digest
SHA256 82470d87d284605201dcff1b663774569408e554375aebc1d56856fb19e6ac83
MD5 b7cbe7acd991b7020938bb696b0b85bb
BLAKE2b-256 46a1faa8b9f17266bfa9a4df7dd40ffff8be27253ad15e56f3a06a0e61c79c80

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0_dev20220630-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_dev20220630-cp37-abi3-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 0c422fdc5e20a0eaf5cda2653240c762ee853a91b541da3a50e6f2bed7ea590a
MD5 ff724794f7f8200a2f18093961e8a402
BLAKE2b-256 3a0d4a7c6fc15568d820bfec9c57999cf1f1a058ee28e0bb28a6800b3eebad5f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220630-cp37-abi3-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 64e2a0df3babebd9c472d2f59a176cc43f36a2afd23a54f123e553745d60da9e
MD5 22d38cc6061b4643f1f066f5a16d1309
BLAKE2b-256 08b64e4092ab7ab3d16c65e5a31678f407b3d86d88062f6dd2542a78dc6a3eb1

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