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.dev20220418.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.dev20220418-cp36-abi3-win_amd64.whl (4.5 MB view details)

Uploaded CPython 3.6+Windows x86-64

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

File metadata

File hashes

Hashes for eclipse-zenoh-nightly-0.6.0.dev20220418.tar.gz
Algorithm Hash digest
SHA256 cb20b32872e4f831e9eb3155b4be48043bace2384c86c60229930244a390f1a5
MD5 534b076e05fb91e62bbfcc989760773e
BLAKE2b-256 8bb31693aa9c7b0685876d52bdeaaa3f97f176eeb77975f148ed103c4cb4f546

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220418-cp36-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 92fa0bc2be37df5ab921d1e556865b822d70856c884a7a3fc322729f63ff11ed
MD5 907614451bcb5e7d77c9685bd42b4d3b
BLAKE2b-256 259b823d21ef5f88ccd021be47af14b3b82d84aafa494c08482460686eacfdfa

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220418-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 b390accb3b7b4b3a5e5fbcd516e8ad88ddccbcd38906c469e53bfb0b69a0e82a
MD5 deae7c661b34851a59e7d716dd44d054
BLAKE2b-256 673cd5eede818f9c60eda01119856cbe2023ea71e68bf3655a0c4ae52e5143a3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220418-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 74d51eebc0f90af295282f60b4b1de5c49d66fa2e517d3d68be27c511eb37565
MD5 9e94342a0bc937e811266788aac915c6
BLAKE2b-256 2ecf0a7ad411ee4c63262d11d72a50fdb15d124e4d00f2768c933aac9a1cb056

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220418-cp36-abi3-manylinux_2_12_i686.manylinux2010_i686.whl
Algorithm Hash digest
SHA256 220d5371f00e8794b524478ba851ea13a54cfd81fb559c1486755ad6ee376e41
MD5 92100def38aa2195b726b27cd7fc2982
BLAKE2b-256 9dd41d9c20af86de3b2aeea37ee2b246fbf6962ff2344f1ac88eacb2d4c8b47c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220418-cp36-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 cd27ca3e7cad236f1a42f13c049952afba881d26724fc8dc5894bdcb6fbf3884
MD5 4948c7a5215deb2df2e6c9637e2ccccb
BLAKE2b-256 86b4290196f4ca5739d5cd8692987b1c5027882a087e4b91f0cc298044bc20bd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220418-cp36-abi3-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 739610a87d48a9174d1d713a08b086e10539083695f004f0a261b9bf039f0798
MD5 c4b0c1b799159046825f843f3bf02649
BLAKE2b-256 11fc996a01f4782a7bd3e288d4259c7134e75dbf03cd60af3c35f34fc3237a73

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220418-cp36-abi3-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 acf66fad245f0cd1b28c98a1bf5d4b208d0b0dbf61c79b47d3790be83acbf246
MD5 43f56dd7b702a824800d5d49a55ade88
BLAKE2b-256 918126c904934921452b07fb312c7d0e923a4653497bb242af1f230c7450708e

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