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. For example, it is placed at $HOME/.local/bin/maturin by default on Ubuntu 20.04.

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

    maturin build --release
    

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

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_dev20220915.tar.gz (107.6 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_dev20220915-cp37-abi3-win_amd64.whl (4.6 MB view details)

Uploaded CPython 3.7+Windows x86-64

eclipse_zenoh_nightly-0.6.0_dev20220915-cp37-abi3-win32.whl (4.2 MB view details)

Uploaded CPython 3.7+Windows x86

eclipse_zenoh_nightly-0.6.0_dev20220915-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl (6.8 MB view details)

Uploaded CPython 3.7+manylinux: glibc 2.17+ ARMv7l

eclipse_zenoh_nightly-0.6.0_dev20220915-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (7.1 MB view details)

Uploaded CPython 3.7+manylinux: glibc 2.17+ ARM64

eclipse_zenoh_nightly-0.6.0_dev20220915-cp37-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (7.1 MB view details)

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

eclipse_zenoh_nightly-0.6.0_dev20220915-cp37-abi3-manylinux_2_12_i686.manylinux2010_i686.whl (7.5 MB view details)

Uploaded CPython 3.7+manylinux: glibc 2.12+ i686

eclipse_zenoh_nightly-0.6.0_dev20220915-cp37-abi3-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl (10.2 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.6.0_dev20220915-cp37-abi3-macosx_10_7_x86_64.whl (5.3 MB view details)

Uploaded CPython 3.7+macOS 10.7+ x86-64

File details

Details for the file eclipse_zenoh_nightly-0.6.0_dev20220915.tar.gz.

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220915.tar.gz
Algorithm Hash digest
SHA256 af1f3809b7ec3eb92875d5776f173030221442a592a29c6274313c4a7b97fe38
MD5 94fff4f66f6396bf13b4e05901061f35
BLAKE2b-256 cb6cf7da83805d7b15d8229da133c279faf85f83f1057a5fa63876554511e590

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0_dev20220915-cp37-abi3-win_amd64.whl.

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220915-cp37-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 01609f5e1304d63a2266eadd84fc0424aa12a39411c89502cd466b4753165425
MD5 ff82a7d2ee995919834cd91e2fa2d18b
BLAKE2b-256 47ad8cb8c5377c8a50e0c4d4b48ec26b231aa727aa805e382ea8d1db535a8044

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0_dev20220915-cp37-abi3-win32.whl.

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220915-cp37-abi3-win32.whl
Algorithm Hash digest
SHA256 74766b8c1569218c82c0d0c8c751710e7edb01d5aaf29d6362a22dca16fbdb70
MD5 94e4aaaa1574f7b38d473e2e175140f7
BLAKE2b-256 112e043edf8457e6e406e067933014a5a0b3ed0eb6f89adb8a6c4d57a11bc06d

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0_dev20220915-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl.

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220915-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm Hash digest
SHA256 704c92571ae524b78ef0528d5d38d134648ac0fa7214d2f8524b8acd6e2ea6f1
MD5 1ca6639b6b5ef9b992985e41975a6da8
BLAKE2b-256 9c29f91d0856cb38cf6e14370f1e4cfa9eb3100bc793f01c6a090eb45f1caa36

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0_dev20220915-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220915-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 bac2a8db1ebc29640950e189558139fdc7171b7ab107a338c6c902e49ce66612
MD5 454ab7d56b1564400cbe16f15b73cd96
BLAKE2b-256 efe00d49fa67e4590655b54194efe103043653316951e546f9e211668d864435

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0_dev20220915-cp37-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl.

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220915-cp37-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 83cfcb6c1e70957a6a53a6ace01fabb153f7c7feb7e7e1f101ae65a7d718a992
MD5 943802afabb21599d6e02968e5f0d8b1
BLAKE2b-256 6320c40b53c943c96f7d04aca4387e59c53392ffcb0a6047363b357b4755576c

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0_dev20220915-cp37-abi3-manylinux_2_12_i686.manylinux2010_i686.whl.

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220915-cp37-abi3-manylinux_2_12_i686.manylinux2010_i686.whl
Algorithm Hash digest
SHA256 a6037fa9814243b3ebfc5b99ca5daaa6eb8c2718752d5b70de3b63431e0149f4
MD5 04fa047865c24146c876941956c41783
BLAKE2b-256 d56a98b2ae18dccb82b1bbad60a80dc1860c2591331e47623ad483bda80c4d53

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0_dev20220915-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.6.0_dev20220915-cp37-abi3-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 578d1e134587870336b7595007f290d6299e5965fc44dffc3abefa82e641ca60
MD5 c7b7808700b3becb4b36a679886552a8
BLAKE2b-256 cd355bf990a155d79c4ebe3bc32a199c274a43da22cde908d69ba38437c56bb1

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0_dev20220915-cp37-abi3-macosx_10_7_x86_64.whl.

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220915-cp37-abi3-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 fb2d488711298b6a620ee4a78caa265d4693ba3620d35433b824110e50095d62
MD5 c6b6336819bfab51514b4dacb436c228
BLAKE2b-256 efeaae4604555c662b924885153791a988eff282bde5aeeaf2c526012f20a267

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