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

CI Documentation Status Discussion Discord 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.

Check the website zenoh.io and the roadmap for more detailed information.


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

Uploaded CPython 3.6+Windows x86-64

eclipse_zenoh_nightly-0.6.0.dev20220517-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (6.7 MB view details)

Uploaded CPython 3.6+manylinux: glibc 2.17+ ARM64

eclipse_zenoh_nightly-0.6.0.dev20220517-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (6.7 MB view details)

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

eclipse_zenoh_nightly-0.6.0.dev20220517-cp36-abi3-manylinux_2_12_i686.manylinux2010_i686.whl (7.1 MB view details)

Uploaded CPython 3.6+manylinux: glibc 2.12+ i686

eclipse_zenoh_nightly-0.6.0.dev20220517-cp36-abi3-macosx_11_0_arm64.whl (4.7 MB view details)

Uploaded CPython 3.6+macOS 11.0+ ARM64

eclipse_zenoh_nightly-0.6.0.dev20220517-cp36-abi3-macosx_10_9_x86_64.whl (5.0 MB view details)

Uploaded CPython 3.6+macOS 10.9+ x86-64

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

File metadata

File hashes

Hashes for eclipse-zenoh-nightly-0.6.0.dev20220517.tar.gz
Algorithm Hash digest
SHA256 aa893c8679ec1ec1ae466ee0f93263a521a6815fe765757aa159025c821c8c74
MD5 2e426f10006302d8de1071d89f23337f
BLAKE2b-256 dcb09bf8d7fc1ac342dfa45b1fc268cbceb75766d35f62cdee344740174a2a3e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220517-cp36-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 9d9d5cf669555bd628886a0fb8d98fbd8d5f680678f9a5003af2cf514cd4158d
MD5 c42c57086ec1a9526058c883874504c5
BLAKE2b-256 e41c9da4d20b5c1b22604fee9ff3ca421fa97b90a93dfeedc7e39d48697539da

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220517-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 c6d03e24cab7d2d85bb1167f31fa3a5d7bf707ba6d5b4b0776b8332da75428af
MD5 44921f088971c4366826b4173dbca225
BLAKE2b-256 16915e35897e5c908d92eaf5200e7d10211908f0a98c00c26e760fb0dabd5bfe

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220517-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 b85d518df16333398f6c3599d2f1dd9a9779eab51d009eb7da84ff1dd2438e66
MD5 b1eb523818c9ce5323d66d32c9c946dd
BLAKE2b-256 14df9a0b4798fd5fb729274f8736a0ca2b3635e2a223abcd408f294e3b8ce494

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220517-cp36-abi3-manylinux_2_12_i686.manylinux2010_i686.whl
Algorithm Hash digest
SHA256 4bb0f8c1c2e7b42dc2a616ad887992b23e1190b6071186e72f7607e13da01985
MD5 8d1cfe2f8283befe34108bf282defe51
BLAKE2b-256 f26206774139fbab43dc7936195aa55fd5ecbd94ca556fae4ca829633e0a76dd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220517-cp36-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 11be6f0707081c1b1a37c5914d3f87579c71d83fc82474232719a560a7a27b08
MD5 0324997253813c30bfc40db273a4fa8a
BLAKE2b-256 505427f9c31200b272d1c8a634430d8c020729987ba220ed3ca7c74cc8fb86e3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220517-cp36-abi3-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 1d319c3ec42896e2f9c04a7f237655259180ccd851551fbb0ee1daaa4c44acf3
MD5 a427518b77ace032698b4d1c9a461c4a
BLAKE2b-256 a2ebfbe2d3e8902e338a75006643aecddf3b45bda8f2e1efe3609d8ba1a1fbaf

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220517-cp36-abi3-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 1a0080f8b87f4a56ac03911f8807f11ba31e5e381737e00533c0dd849566a374
MD5 8015e54721ae75e3bef36d804a071a88
BLAKE2b-256 cf69f568a70c15be2b12a241ba0226d3a62a67317751d5c96d0755ca7bb63681

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