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

To install the latest nightly build of the development version do:

pip install eclipse-zenoh-nightly

: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
    
  • Ensure your system can find the building tool maturin (installed by previous step). For example, it is placed at $HOME/.local/bin/maturin by default on Ubuntu 20.04.

    export PATH="$HOME/.local/bin:$PATH"
    
  • Build and install zenoh-python:

    • With a virtual environment active:
    maturin develop --release
    
    • Without one:
    maturin build --release
    pip install ./target/wheels/<there should only be one .whl file here>
    

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

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.7.0rc20221220.tar.gz (113.4 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.7.0rc20221220-cp37-abi3-win_amd64.whl (4.2 MB view details)

Uploaded CPython 3.7+Windows x86-64

eclipse_zenoh_nightly-0.7.0rc20221220-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (6.7 MB view details)

Uploaded CPython 3.7+manylinux: glibc 2.17+ x86-64

eclipse_zenoh_nightly-0.7.0rc20221220-cp37-abi3-manylinux_2_17_i686.manylinux2014_i686.whl (7.1 MB view details)

Uploaded CPython 3.7+manylinux: glibc 2.17+ i686

eclipse_zenoh_nightly-0.7.0rc20221220-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl (6.4 MB view details)

Uploaded CPython 3.7+manylinux: glibc 2.17+ ARMv7l

eclipse_zenoh_nightly-0.7.0rc20221220-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (6.7 MB view details)

Uploaded CPython 3.7+manylinux: glibc 2.17+ ARM64

eclipse_zenoh_nightly-0.7.0rc20221220-cp37-abi3-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl (9.8 MB view details)

Uploaded CPython 3.7+macOS 10.9+ universal2 (ARM64, x86-64)macOS 10.9+ x86-64macOS 11.0+ ARM64

eclipse_zenoh_nightly-0.7.0rc20221220-cp37-abi3-macosx_10_7_x86_64.whl (5.1 MB view details)

Uploaded CPython 3.7+macOS 10.7+ x86-64

File details

Details for the file eclipse_zenoh_nightly-0.7.0rc20221220.tar.gz.

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.7.0rc20221220.tar.gz
Algorithm Hash digest
SHA256 7329d321ddab94e8664ca83aac677a7de70ba0e7163bd7050f14d2652f510662
MD5 3eeaa5374def1ebb870275e4ac044245
BLAKE2b-256 7ecbc6fa7f96c36ee3460b575887b6c3be653a99394f9236c174a0d10b311d70

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.7.0rc20221220-cp37-abi3-win_amd64.whl.

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.7.0rc20221220-cp37-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 50f512eaa1f3a8dda1e3220b9e1a3a74edad92207c4b56293815dafcd7b9fe26
MD5 f1c761b4e2f4eb3f695ba258c43ebdd3
BLAKE2b-256 b9c3fa366e9bd247d93a86c4d8c360a8a8a14b13cae8194e1a12682ec1c3300c

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.7.0rc20221220-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.7.0rc20221220-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 c5dec6679e8d12caf1c5001cd547b5d80449d955208f4e83746793b5a64c9924
MD5 8a54cb4242d238b38e077d3667ec1472
BLAKE2b-256 7319ae819d9d149be900a445cf3e79dc5885e63c5cd0fdd2a0d8ccd3572d1558

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.7.0rc20221220-cp37-abi3-manylinux_2_17_i686.manylinux2014_i686.whl.

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.7.0rc20221220-cp37-abi3-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 e5c437444d46c3b17cd90f348ea33a3e4e3b71675efed5becdb3cc2bcc67879b
MD5 1430391188bc3805debd7e18b6ae7ebb
BLAKE2b-256 3a03574a06b30802ff22e830d6043e1bdab13d9e9d5834fcc0c36bea7adefa0d

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.7.0rc20221220-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl.

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.7.0rc20221220-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm Hash digest
SHA256 6d5937142440a1df9c38d0dfeec976e7875c1b282f74d223ffede34182dad7fe
MD5 458bc243806312ac19e5c4aac2f9fb46
BLAKE2b-256 d32402d10cae6bb6405fb771a5068298f67f6d834899fd39ac659173f2dd2ed0

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.7.0rc20221220-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.7.0rc20221220-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 002f67efa51c3605fad3dc00a0fb3012e90aa6ca422b802f10e1394cbfc20218
MD5 b77ed41fda934c71b71fd1cbc8d539b7
BLAKE2b-256 a9db4fcac48aa23f0ccf48ec940e9ca0a7f716b5237aa8f45d3bccb72c5fc73c

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.7.0rc20221220-cp37-abi3-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl.

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.7.0rc20221220-cp37-abi3-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 ae9f73c2ce2d9570307a784180f5e1e9451bb7a0f3110d8e5f400e3d73f26911
MD5 c1ad9518b191c844d35646c2e2274b8a
BLAKE2b-256 a287829dacf59572b60c3ac00e1c16048e5c57943b82306c451c96d7b44c757c

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.7.0rc20221220-cp37-abi3-macosx_10_7_x86_64.whl.

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.7.0rc20221220-cp37-abi3-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 b1aeb2a24f86af60ae618894380fef33e4f25e9644ee130d4582e200618c90b6
MD5 de655cbc6e04cc0c768ae211761c892b
BLAKE2b-256 97ccb4b4734430afb085b462d9b616739dbaaedc090b0a9623cb8ec362880dfb

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.7.0rc20221220-cp37-abi3-linux_armv6l.whl.

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.7.0rc20221220-cp37-abi3-linux_armv6l.whl
Algorithm Hash digest
SHA256 55b037bd647650b41d3cfa0361a041c7a30e89df922835f82c68a86f15cff1cd
MD5 5630e4f1d949eba6c3882b2ba496838d
BLAKE2b-256 53e954a8b55714206b509bd97ed704b7d84e80de0de3704f3bae8499a3732eb7

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