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

Uploaded CPython 3.6+Windows x86-64

eclipse_zenoh_nightly-0.6.0.dev20220405-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (6.5 MB view details)

Uploaded CPython 3.6+manylinux: glibc 2.17+ ARM64

eclipse_zenoh_nightly-0.6.0.dev20220405-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (6.6 MB view details)

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

eclipse_zenoh_nightly-0.6.0.dev20220405-cp36-abi3-manylinux_2_12_i686.manylinux2010_i686.whl (7.0 MB view details)

Uploaded CPython 3.6+manylinux: glibc 2.12+ i686

eclipse_zenoh_nightly-0.6.0.dev20220405-cp36-abi3-macosx_11_0_arm64.whl (4.6 MB view details)

Uploaded CPython 3.6+macOS 11.0+ ARM64

eclipse_zenoh_nightly-0.6.0.dev20220405-cp36-abi3-macosx_10_9_x86_64.whl (4.9 MB view details)

Uploaded CPython 3.6+macOS 10.9+ x86-64

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

File metadata

File hashes

Hashes for eclipse-zenoh-nightly-0.6.0.dev20220405.tar.gz
Algorithm Hash digest
SHA256 0c46203eb6da90b01603ed4a3f30abbd0b52a2be6c7482bd27e75620fd8fc26e
MD5 9fe31faf0ab279e17f022d0c2be75bbe
BLAKE2b-256 c1372dfe477ef9c5c7279465ec1ef42969cf947513fa38310e27fa55b9ca604b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220405-cp36-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 9319a1639106f8387d397838a58edf012ccd84baa4c775e59e4d885773b76679
MD5 a9488569cdea34a24d7dc594a6dbd064
BLAKE2b-256 6337ec29e56192080ef3e1e8f729991572fe7238e3fd58f97b758ac6bf098d12

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220405-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 187184f9d3d183e72a03044a06455d04721ce0a2c468ede253a8a2613c853acf
MD5 a5d744cd77126a474760930a3874fe2f
BLAKE2b-256 91f885e113a9c134ab09439bd38d46b787a9770c18c855bbc7929ec7db7ec135

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220405-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 c6dfb933e298424c327c978b735e7e1f1eb9278905f6b523f89404ab693d8a3a
MD5 ddec11d2baf4170ffe878b0759eefd64
BLAKE2b-256 24948c264ec175c9064ed23c0d6bbe530af7ada6899db5c6265594c41e2ef0d4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220405-cp36-abi3-manylinux_2_12_i686.manylinux2010_i686.whl
Algorithm Hash digest
SHA256 f1445a225d4d251145aa2bcd7d9423e3bd905391fab64e5eea13252fb34a7758
MD5 3528e82971544f981b5ec5b776b84b82
BLAKE2b-256 1b1aa9a214cca1d76261c3477fe903cb72d1c14d612059669a1053f624c156c1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220405-cp36-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 d6e6958a448a041269cd53c75ee1839afddd19b548b7ba8e0741cc9052919660
MD5 40678d81a9d6d3a6d207748bf390c193
BLAKE2b-256 a96ede01869ddacb9a00bb5dba15bf5320c4ac5929e9d6d7ada330352b72657b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220405-cp36-abi3-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 53396ea0516af1e24fcc70a73462d339f39bbd9a3dd2c76bf62106b1034e05ef
MD5 9f2a6973db2b93d94bf47ed43d961e3f
BLAKE2b-256 6ec82d83d14767576672d1ca9791d56b0982ec5e9dac4f24b82b98abd8d59e20

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220405-cp36-abi3-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 6fada79fb03773019cbe18657f407ad7c40df03ce8a5ec75c3a08fe3140c7adf
MD5 1914d725f042a80596dc4044b50b3bd1
BLAKE2b-256 69a8e1be0004d1cec66b4329cfcf03f390b3beb5c7ed4342614ccee6a8ef018b

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