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

zenoh banner

CI Documentation Status Gitter 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.dev20220126.tar.gz (44.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.dev20220126-cp36-abi3-win_amd64.whl (3.7 MB view details)

Uploaded CPython 3.6+Windows x86-64

eclipse_zenoh_nightly-0.6.0.dev20220126-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (5.6 MB view details)

Uploaded CPython 3.6+manylinux: glibc 2.17+ ARM64

eclipse_zenoh_nightly-0.6.0.dev20220126-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (5.7 MB view details)

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

eclipse_zenoh_nightly-0.6.0.dev20220126-cp36-abi3-manylinux_2_12_i686.manylinux2010_i686.whl (6.1 MB view details)

Uploaded CPython 3.6+manylinux: glibc 2.12+ i686

eclipse_zenoh_nightly-0.6.0.dev20220126-cp36-abi3-macosx_11_0_arm64.whl (3.9 MB view details)

Uploaded CPython 3.6+macOS 11.0+ ARM64

eclipse_zenoh_nightly-0.6.0.dev20220126-cp36-abi3-macosx_10_9_x86_64.whl (4.1 MB view details)

Uploaded CPython 3.6+macOS 10.9+ x86-64

eclipse_zenoh_nightly-0.6.0.dev20220126-cp36-abi3-macosx_10_9_universal2.whl (8.0 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.dev20220126.tar.gz.

File metadata

  • Download URL: eclipse-zenoh-nightly-0.6.0.dev20220126.tar.gz
  • Upload date:
  • Size: 44.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.10

File hashes

Hashes for eclipse-zenoh-nightly-0.6.0.dev20220126.tar.gz
Algorithm Hash digest
SHA256 f25e47fcf881afc899b94bed14252aa62397a1f71c808f41935a65718e126fc7
MD5 ab139e5d8a2a01e5c545ccb888a5e11b
BLAKE2b-256 a37aa10b04a1c05558e2ecc380510c5561f7a3431049158d9e2211c11015c051

See more details on using hashes here.

File details

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

File metadata

  • Download URL: eclipse_zenoh_nightly-0.6.0.dev20220126-cp36-abi3-win_amd64.whl
  • Upload date:
  • Size: 3.7 MB
  • Tags: CPython 3.6+, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.10

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220126-cp36-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 8cff1f295fcf514adf5666e8a378108dacae01d0feb836cc35f585d3059894fa
MD5 5b2c73a1c9d9698a379664f5da6a5c23
BLAKE2b-256 4492020a5274c07b77847640657ad357d8be6399864750df806fa38c9960532b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220126-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 d0d317480008f20ad531fb78e0cd9468de564b41eb9793ec7d5aaa6de73255c8
MD5 af5610e54fd75d35aebf15d81b12f4c0
BLAKE2b-256 88f06e117f9082f87467507f94a70be60734fba4fd1767ea0960b0ea637d5788

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220126-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 8b0afe77a0d0bdfc626567921d113088f6e78414ba9bacca412ba65b9d5f24ac
MD5 7e80bbd3833968644cf14a7a46e9fff7
BLAKE2b-256 12e0e36f4251f3065e5db08d39ac6e447f63e377231ee965fe768e7d2a0b870a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220126-cp36-abi3-manylinux_2_12_i686.manylinux2010_i686.whl
Algorithm Hash digest
SHA256 ec99464dd140e4d221d61e136a5b11b231160202691e42de28cf4caf73622049
MD5 b55e2be72a6b6e918693f7ec6a254d5f
BLAKE2b-256 6d613d1f44d68d2242c4880446eb948bb45cbf3b6389f76df955eb7c993e0f29

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220126-cp36-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 47457ab9dffd4fd656bf11f8fdd3a2d0bf4a9f4810f0e5a62b9e4ab4a07a229c
MD5 4bdf4fb601b4017fcc2bfa7a40682912
BLAKE2b-256 28c27cc5f8c7e37730928170540a648a697b05919b1b22bc09325c94acc3a77e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220126-cp36-abi3-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 3b270350e9696af81cce793b80871a95feb354f00634669a01b2bdb6503ac7f4
MD5 bc8a6155fbdd8fc80ccd7fbc46f4e4ea
BLAKE2b-256 025a65eb6906dd36614ffbac4bdcaadbded7552ffe08567feecd30e548a63791

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220126-cp36-abi3-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 3498b01f8ff9082965249294ad3b4fe5ea318f70c6d634c49791d0449736d854
MD5 c7b6100efc2bfff3442a5c528ada5e97
BLAKE2b-256 be7adada401c041f6fead26129b605a3f453d9865834db9b77fc30cac9925795

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