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

Uploaded CPython 3.7+Windows x86-64

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

Uploaded CPython 3.7+Windows x86

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220615.tar.gz
Algorithm Hash digest
SHA256 1e248fa52ee8848e1758ce706e2fbf2bbfd83cbe3a2fc58c3f09f1239264c288
MD5 a42887b147747646e24bd63f346c87fa
BLAKE2b-256 8e969c66a2cd9864d83da203c2951d0187421797a931c620bb395b33b30807ff

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220615-cp37-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 2f0cbee930ed401cc4ec3c5499afa5ef5e9fb7f3c6248faf58b7eeff869a23b9
MD5 b8295ccffec10e27c05e594d36a81ee9
BLAKE2b-256 dc6e980a2396dda14ea592d7b04406f4b8190711f489204a304f4f1a72a0aa96

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220615-cp37-abi3-win32.whl
Algorithm Hash digest
SHA256 5afdafd33a516bd0eb81b44a1c9a6f7cf61ccc86c7bba4896ce00b3212f70885
MD5 1db5fa35771bacd8dbb927c24baa5fa0
BLAKE2b-256 5223af7817024e9ab5a93cd9dad120ace6da52fcd64a1c3def973a8c2d5b0b89

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220615-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm Hash digest
SHA256 e73c9f9ffe9fe127f7ffbc7101bab9cdd196fb918767966b44f6ca3c4d95c9a7
MD5 37d77903a70b601f88a99973bc761a60
BLAKE2b-256 36753bd2d58e02bca21a8d78d7cb73b41aa41151dd05746c985b74fe7cc3ddac

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220615-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 f19f7d62b520bf0ae570305bdc03f5e0e33b57571d4b57f4e1f3894e218f217a
MD5 b91abcb7428f1dfab7b404ce1bdf260a
BLAKE2b-256 69184186dac38bcaed8b7986ec479c3579aa9a1d9fb8e0cd006a47fa5c290f68

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220615-cp37-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 bc4e02e6129ff7460e15bfad4ee2e701587e545b1c578de52f58d5bbc291740e
MD5 74dd33c57daba1c2d869b4e70d543dd2
BLAKE2b-256 b8f7cae776dc8f5587a639ac6ec263c1180d68c260a1a0e857a671a4bc520057

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220615-cp37-abi3-manylinux_2_12_i686.manylinux2010_i686.whl
Algorithm Hash digest
SHA256 eb005447913863d0c87beb4ac0c06eb3e798613b5e9af2ff6e9195fb7d906387
MD5 fbe345d107e13d43686d34901f174d26
BLAKE2b-256 3651aeb7d328de9857eb4fdc616c13d46bd8e39028f60c23d47c4f35cb0c4ea4

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0_dev20220615-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_dev20220615-cp37-abi3-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 01283d3a41d74d738ca049df4cf74057c242cc22ff5721aafcde9796555572a8
MD5 db89fc58bef8c8e48f0ad1acdf88d788
BLAKE2b-256 b850bc19473e59db5fc2a7a52947ce695233d69d22b3af72193149b0f41c16c4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220615-cp37-abi3-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 211ff21d2fc24ca22039442496ec374e242e4981538edb6a6af666aa273714ae
MD5 764181593ba3e74eb01f207eab5ab6e1
BLAKE2b-256 9a01014839cd0dab2beeed63167c6d941e0d8a06fa9b2c22b9b7e50823c73f74

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