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

Uploaded CPython 3.6+Windows x86-64

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

File metadata

File hashes

Hashes for eclipse-zenoh-nightly-0.6.0.dev20220407.tar.gz
Algorithm Hash digest
SHA256 225b43610fefd6f74a21570b8c6a321130e962fa8f9f4b718f001f6269317372
MD5 c4cf375ae357bf4d6a1707cf03a0a4be
BLAKE2b-256 c1d53ca9493e5e9a97a1fdb4d4408e8309e2345d83330c210655929452508e77

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220407-cp36-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 84c143cb8f3155f62cfdb24394ab6fa1e7bf9aff4477703245ccdd91e7ad4c6d
MD5 66645d511ddfed9f277a5b2ee8add707
BLAKE2b-256 75652b3b17f40016742d6e209a4ff80919ff2ceb1f563a6a2a069301b7e370e1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220407-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 37a23313f3cc2894508175c5302193b2452fbb384de2283d03f71f7c21f1c7d7
MD5 031391a811575698b27947e0f7d18546
BLAKE2b-256 2d969397acdcbc561b6907e93479489e615f661a61f994fa1f774f9befbc62ba

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220407-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 75b1dd53b08fbd99903a4c44db15bc3f49ee90b9494c7965824249d1d22125ce
MD5 4fe013b86afbd97ded29378900e354e3
BLAKE2b-256 f20455f470defcfc884e6abd2c277fca241082a2f8e4f7cbe81d5642a680dc6c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220407-cp36-abi3-manylinux_2_12_i686.manylinux2010_i686.whl
Algorithm Hash digest
SHA256 48302a804fecf25b070a4e68aa0fbd55e0d1f9ffad88f25f482ce3a6ad08e9a7
MD5 5e349f5a1a99267728b972947fb0b7b5
BLAKE2b-256 26c67b073139adf68653434a4c5e2abafa471b322098f51a66018e071c83ce70

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220407-cp36-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 0036ab689f495f384555cfd5874e05713444add65805961ce5f9125100458a82
MD5 5b207160273491f26f24008c43eb67be
BLAKE2b-256 91d50ac97655a4c8f5750580a43f31316fc924aa0f6e3731e8f575c15a8a02b2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220407-cp36-abi3-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 02aef881bc2575f5972fd50e706d4c68a22f5db0e30b6fc378cc1f3bcf2ae9cf
MD5 232ddc8023c19410c2140a02c5cc12d3
BLAKE2b-256 c94e243f08d38c4eee79904e5f201a4a6c1581d326401eadd03752e67579b62d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220407-cp36-abi3-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 3f34b556bbe04c4d175b98e748c0d231a4579516d936ecd12ad45e6ef4cedf13
MD5 a639af216227c30797480eda6b32ee9a
BLAKE2b-256 fc6a9d679ded6d6e197261c41633ed86ed48dddcf434497bee2bae47585df5df

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