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.dev20220316.tar.gz (46.7 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.dev20220316-cp36-abi3-win_amd64.whl (3.6 MB view details)

Uploaded CPython 3.6+Windows x86-64

eclipse_zenoh_nightly-0.6.0.dev20220316-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (5.5 MB view details)

Uploaded CPython 3.6+manylinux: glibc 2.17+ ARM64

eclipse_zenoh_nightly-0.6.0.dev20220316-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (5.6 MB view details)

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

eclipse_zenoh_nightly-0.6.0.dev20220316-cp36-abi3-manylinux_2_12_i686.manylinux2010_i686.whl (5.8 MB view details)

Uploaded CPython 3.6+manylinux: glibc 2.12+ i686

eclipse_zenoh_nightly-0.6.0.dev20220316-cp36-abi3-macosx_11_0_arm64.whl (3.8 MB view details)

Uploaded CPython 3.6+macOS 11.0+ ARM64

eclipse_zenoh_nightly-0.6.0.dev20220316-cp36-abi3-macosx_10_9_x86_64.whl (4.0 MB view details)

Uploaded CPython 3.6+macOS 10.9+ x86-64

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

File metadata

  • Download URL: eclipse-zenoh-nightly-0.6.0.dev20220316.tar.gz
  • Upload date:
  • Size: 46.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for eclipse-zenoh-nightly-0.6.0.dev20220316.tar.gz
Algorithm Hash digest
SHA256 3f7499f67bcecb07d80fe2b85a9833bd563ef8291080f2f7b2c0ffd6488db203
MD5 ab4df7c686535910993c973b387ddb7e
BLAKE2b-256 1899dd86882ddf30176cc8a7a5dda5330b46fa9f9f52b65e52a7dad95fa8f532

See more details on using hashes here.

File details

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

File metadata

  • Download URL: eclipse_zenoh_nightly-0.6.0.dev20220316-cp36-abi3-win_amd64.whl
  • Upload date:
  • Size: 3.6 MB
  • Tags: CPython 3.6+, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220316-cp36-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 3991220b20c82010eff08cb77c16df9718fd199f5ebb6273e46eefc67af6008d
MD5 5c0b19f70bd339bf63cf66871c5457e9
BLAKE2b-256 c238b1db1ec30671f640192b7ef386353f679bd07874ace595509e2975017292

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220316-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 5eb28330e948732820e0e64e71aac5042f2a26d42b21c94bc49d76e6876f2f78
MD5 e0e5cdca152d394ffd6f23f7c3337a67
BLAKE2b-256 47874809845b8723549d1435718203cdb32513c2346d1c6dc54086d35dbac0ad

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220316-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 ca2a929466d001c79871899b4599d0cd48a4b11dd62933e0dac0b41f18177c78
MD5 ee176e442492864c0d430e2559451efb
BLAKE2b-256 50858be39cf098dde49e8f3b37055a958f360b39c196533f80d596d9f4f08703

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220316-cp36-abi3-manylinux_2_12_i686.manylinux2010_i686.whl
Algorithm Hash digest
SHA256 82dc4662f234689087a4f5fbf2c9549859d6be1072a7518ab446cb5da20403b8
MD5 95c1fceb63425bdb1c0a1b6acfe60add
BLAKE2b-256 a0fc0721494e14d5c58fcdc7acf4779d2252957eb0002beb416496171ab5c395

See more details on using hashes here.

File details

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

File metadata

  • Download URL: eclipse_zenoh_nightly-0.6.0.dev20220316-cp36-abi3-macosx_11_0_arm64.whl
  • Upload date:
  • Size: 3.8 MB
  • Tags: CPython 3.6+, macOS 11.0+ ARM64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220316-cp36-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 80d2f71ccc37872c0e5cedf6aefe991b5af3837bfe3145873ee0325c87b528ed
MD5 4b211cce3f4c89ac6b18713d9d885327
BLAKE2b-256 92063ec947f8a66a79377a2913ecbf06e40bef083e1f39f89a3d576dae5e3036

See more details on using hashes here.

File details

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

File metadata

  • Download URL: eclipse_zenoh_nightly-0.6.0.dev20220316-cp36-abi3-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 4.0 MB
  • Tags: CPython 3.6+, macOS 10.9+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220316-cp36-abi3-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 f6fa85cc8b255557984b04bd7c4675953b2e5f3f3e9f4558721781fa929246ea
MD5 0a82f7acc186da9868a9ffddb31a0637
BLAKE2b-256 984b2ccbbbcba00fcc9849cbae6f54343885bfe4101e8daa6e4e3a341f72c74f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: eclipse_zenoh_nightly-0.6.0.dev20220316-cp36-abi3-macosx_10_9_universal2.whl
  • Upload date:
  • Size: 7.8 MB
  • Tags: CPython 3.6+, macOS 10.9+ universal2 (ARM64, x86-64)
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220316-cp36-abi3-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 b339a7e4d893e321d90ada53f5b950eca20ade00606ea6fc309b178186e8c995
MD5 9f5883afed2bff58cefa6e2c8b2b74a9
BLAKE2b-256 de9d73fd34617648df9f7cdfb3d0696fc219b08bafd20e41b8404159a740ea9f

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