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

Uploaded CPython 3.6+Windows x86-64

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

File metadata

  • Download URL: eclipse-zenoh-nightly-0.6.0.dev20220202.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.dev20220202.tar.gz
Algorithm Hash digest
SHA256 3da09209acfe40a6b0321afbd038c5d8b2fa4afe8dd14418136b4ef28dd464ec
MD5 50c79cd7fd76d29e98b218a50d02e706
BLAKE2b-256 556eea5c97d08d59c90456b928b4fc86c305b4be7492aba4ad2955ca2c74f8ef

See more details on using hashes here.

File details

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

File metadata

  • Download URL: eclipse_zenoh_nightly-0.6.0.dev20220202-cp36-abi3-win_amd64.whl
  • Upload date:
  • Size: 3.8 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.dev20220202-cp36-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 6839fb2bf008e633fecdefdc60ff095aeff07d21b81453c848bc3b766283da9a
MD5 1bd3d30e49ba40c1cacf9d78d1a3de10
BLAKE2b-256 b949437b4306acaa24e7a9a109c47e7eda4a1f5e755f238111122a3d6e7e2811

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220202-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 11832d045be57734159349c81c39974988316b73bdfd87220926079f6685668d
MD5 3cfb55ab8672d9eed5ff45eede217825
BLAKE2b-256 53aec5a4480daa27aa460f250b0fc67e2e7b1c322230ec9ff6425cb5b9a182e9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220202-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 417f187f589044f92c18598e0077d8f5c6de748ea8eccde58181ceb3da876670
MD5 51987b4fb983d13f56f6e1a2b3f89706
BLAKE2b-256 de03eeb12646531e1f1aec70d043e651082eb37d74449b487cafb1a8f3fb5100

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220202-cp36-abi3-manylinux_2_12_i686.manylinux2010_i686.whl
Algorithm Hash digest
SHA256 4b122f2e34ba050c694db0a4c259a9e875a0f332813cf1a7c04d3a4cdb39f98a
MD5 394b1775ab4c8f89e3086d7905b808f6
BLAKE2b-256 c56a7cd2ab6a598882c6e3e1a9f7f86aaf7e02167222fbbb9a0eec1fc9662a05

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220202-cp36-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 53723fa13de5222db82da44efaed34db7dc025d6751e16b18b8a6d710d8ea7d2
MD5 f2809aadad89e6134e389c86a793c4cd
BLAKE2b-256 8fe8fcccc6df4100002d1e8e5541a78aa2a9f702cfaa8b0a6947d2daa1b64c98

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220202-cp36-abi3-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 53d1ce24d0696029c9bc0d6439178de48c58486469c55374e9e1c3f244483703
MD5 8353de0d28e7e7056ca4ba519e94bd9a
BLAKE2b-256 354d4d09b97ce7f9c8e45de6e71a928eebc0a06866e61ecb044e3f6f8abea9e1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220202-cp36-abi3-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 194114c1f61b553b5e7140420b2c2434f63009d9ca61f881facff1aa13de86fe
MD5 495e44ae9e488dbc92f30f57ceaefb34
BLAKE2b-256 30cfe872a99372861ba7b27743ef571adb7d89af5667f863ec527660ed35b927

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