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

Uploaded CPython 3.7+Windows x86-64

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

Uploaded CPython 3.7+Windows x86

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_beta.120221026.tar.gz
Algorithm Hash digest
SHA256 dbbc4cf6bf7cd7fe91424cf5243ddf3ea424b135bcab802cba7f9aa6fc74abc3
MD5 48fd8a4e81046194d404968f3cd6f32d
BLAKE2b-256 5d8376d9d0ba599fd14b772e79000a849cdc3be741d611dbfe4cd0ebba50e531

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0b120221026-cp37-abi3-linux_armv6l.whl
Algorithm Hash digest
SHA256 18ce3ff358cafdd9ec477eeba9bf0c13dee717a1ebb6cc44ea1c446fad9ea967
MD5 d3060ef74386012922cf4ab54cf587a1
BLAKE2b-256 d850573421e67bf6c0413dc9ca1e572b32d6361ed7b31fba41c3bb3bc7800a3b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_beta.120221026-cp37-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 e7d112eb925dd6be1fa8ddb51125cfeabec169b2dcdfbf962fe20360ffbdf1a1
MD5 8b7174e0e04496a8f574ddf8bfbfd896
BLAKE2b-256 dcaac9bf2e5bb18b843122a3330adb079149abb5584107e548ebf5788fd02c5d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_beta.120221026-cp37-abi3-win32.whl
Algorithm Hash digest
SHA256 bd95fbce6bd82d4d3de4e094b5c2b71bc8140bbe2de1d2013afc806ad9abc6aa
MD5 7d76d72552c1cce8b5e525731153bfca
BLAKE2b-256 f0b6d060bf5819ff93abb7487885acee75d0a11e12ac2723991dc6d9e71eb7b6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_beta.120221026-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 73125f098c5950bcaa0d12fe0a78ac85f3981506d327d0ec6d0a1c67d04ab50f
MD5 9a840d8eab13c084c20028613b49a182
BLAKE2b-256 e0153d09eb6dcda9ff643248e7c1645f10550a50c8e3fda7d0228d4afc6f08da

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_beta.120221026-cp37-abi3-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 7adfd83cb6c14e86da133b077decaaa2ef25258dea5bf6c927517de2d04d6ba2
MD5 0053efe487808f9cd67b209ffdab3615
BLAKE2b-256 6142e033fb166e5db8cb36b37b79b54d02ea17fef9d0cd95e4af25d3b314a29e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_beta.120221026-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm Hash digest
SHA256 34e149504a5d079e4a400e5fb1fb169122426ff687b748268bf033d99392b714
MD5 51dc26b1c960be49a0903a79501743d2
BLAKE2b-256 bbeb917ce451a1c180fbb8b83ec9c76c43e18cc8805bda8008ef70b495c25a70

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_beta.120221026-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 4f2be56d50d5daae3e1e1b7b4a51bafc0a00356702c5a82fe6142020cffcfe93
MD5 2794e8fbe6c4fef484c1c97c3ce08d32
BLAKE2b-256 833ee1043ab6273ef392b00c8f0e6e10d751a5f91a89d9e380cf643b02d7d43f

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0_beta.120221026-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.120221026-cp37-abi3-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 91bbd744c37a77776c54955a1a03ba300d67eadc65f79885796b1d9751c17a08
MD5 427b4801b09e3a57cc031a65c4880816
BLAKE2b-256 b1ce7b00a895f2f4f09b851b5aeb69533ea7fb9de0f0e36ea3c894ef3d2f82f5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_beta.120221026-cp37-abi3-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 332a740d77afbfc5f8edc0ec111653759c278b2b42068949514698a1fd62a18b
MD5 9b2f13d9ee0488b19909dbc30eb6beba
BLAKE2b-256 b1be8e627c16c344344019efc490bfd148183365470e408899b52ae3b212a511

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