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.


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
    
  • Build zenoh-python
    python setup.py develop
    

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

Project details


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.dev20220429.tar.gz (51.2 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.dev20220429-cp36-abi3-win_amd64.whl (4.5 MB view details)

Uploaded CPython 3.6+Windows x86-64

eclipse_zenoh_nightly-0.6.0.dev20220429-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (6.7 MB view details)

Uploaded CPython 3.6+manylinux: glibc 2.17+ ARM64

eclipse_zenoh_nightly-0.6.0.dev20220429-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (6.7 MB view details)

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

eclipse_zenoh_nightly-0.6.0.dev20220429-cp36-abi3-manylinux_2_12_i686.manylinux2010_i686.whl (7.1 MB view details)

Uploaded CPython 3.6+manylinux: glibc 2.12+ i686

eclipse_zenoh_nightly-0.6.0.dev20220429-cp36-abi3-macosx_11_0_arm64.whl (4.7 MB view details)

Uploaded CPython 3.6+macOS 11.0+ ARM64

eclipse_zenoh_nightly-0.6.0.dev20220429-cp36-abi3-macosx_10_9_x86_64.whl (5.0 MB view details)

Uploaded CPython 3.6+macOS 10.9+ x86-64

eclipse_zenoh_nightly-0.6.0.dev20220429-cp36-abi3-macosx_10_9_universal2.whl (9.7 MB view details)

Uploaded CPython 3.6+macOS 10.9+ universal2 (ARM64, x86-64)

File details

Details for the file eclipse-zenoh-nightly-0.6.0.dev20220429.tar.gz.

File metadata

File hashes

Hashes for eclipse-zenoh-nightly-0.6.0.dev20220429.tar.gz
Algorithm Hash digest
SHA256 52cba0d3735da4f73c952b5084254774601f35e802258db8bb222c6761ef930f
MD5 19a1716041c7a64ce88557dd947eb965
BLAKE2b-256 b421222a50f15e6f39299f863e5facd743e5e18e3a9697a146ccacb82b337bd4

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0.dev20220429-cp36-abi3-win_amd64.whl.

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220429-cp36-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 4c20b667934a3dcb355d30bf9325f27c3fa3354a8b3d91ed6bbd0ea6c8d0fbe3
MD5 2eb3b3e0adf9668e6bc9f388525c48c7
BLAKE2b-256 2bf56f2e008f5c9776baa4f5e4b37c4f5853b7a165b3963511f6b81e8885c762

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0.dev20220429-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220429-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 7504164c6c69adc86db471ef19a868acea314d2b9be6bc5bf99fc5e43c46e28e
MD5 490870d132641785dad974f6eee702c2
BLAKE2b-256 674d3a9449439daf9de633568cbee7baa0ded4e25aba39b9406a2c2642614721

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0.dev20220429-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl.

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220429-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 29f88afa698676f391acdedf9f6222c4336a6988ced527885ba832749958d366
MD5 5b24d2449798d1a688c38f8a8988d072
BLAKE2b-256 59d7c6299ab3c1533217462522b8382738a8d34c1205c2dc1fb89b87bb51d60a

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0.dev20220429-cp36-abi3-manylinux_2_12_i686.manylinux2010_i686.whl.

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220429-cp36-abi3-manylinux_2_12_i686.manylinux2010_i686.whl
Algorithm Hash digest
SHA256 a1db29f34e2ad16017e818a77a38849156c86342a7e6a64f1871fd13b23249ae
MD5 7705974f6a117e148012acacd2c19445
BLAKE2b-256 6894ca082db012d3b5e89197e28f0ba26e52b206f229fffa6a447a9fe407be74

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0.dev20220429-cp36-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220429-cp36-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 b39783cb10ebf35da2ffc277cc2e82e0b873b6f3029bd8e26e3eec9cf2241203
MD5 646c7c72dad44712daad4f7429ecec75
BLAKE2b-256 6b96118ba3505392eba8e0479dc818a367af4cff5e5eb72993796d7f9669d260

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0.dev20220429-cp36-abi3-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220429-cp36-abi3-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 47c487661d06fb3a967c2c6e811e1f1ee5cbdac6324fb22944a2e58280156d38
MD5 394bd29e7ce9f6ae2d8c8e7053a85235
BLAKE2b-256 49bcccfeedbb7ef0dac48d46cf7ec4e21cf8637be4c79efe0420141d97e0176b

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0.dev20220429-cp36-abi3-macosx_10_9_universal2.whl.

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220429-cp36-abi3-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 bd002bf616a4f3ff95678cdcfcd5a04ba22ad94666bda6fc9dd1e18cea308574
MD5 d17ab430d6a43146f9369be50e153611
BLAKE2b-256 dbe25177293820f202d1119a72e9332257dda679a3d353d52c5ac344eadfe87d

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