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.6.0_beta.120221006.tar.gz (93.7 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_beta.120221006-cp37-abi3-win_amd64.whl (4.3 MB view details)

Uploaded CPython 3.7+Windows x86-64

eclipse_zenoh_nightly-0.6.0_beta.120221006-cp37-abi3-win32.whl (4.0 MB view details)

Uploaded CPython 3.7+Windows x86

eclipse_zenoh_nightly-0.6.0_beta.120221006-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (6.9 MB view details)

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

eclipse_zenoh_nightly-0.6.0_beta.120221006-cp37-abi3-manylinux_2_17_i686.manylinux2014_i686.whl (7.3 MB view details)

Uploaded CPython 3.7+manylinux: glibc 2.17+ i686

eclipse_zenoh_nightly-0.6.0_beta.120221006-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl (6.5 MB view details)

Uploaded CPython 3.7+manylinux: glibc 2.17+ ARMv7l

eclipse_zenoh_nightly-0.6.0_beta.120221006-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.6.0_beta.120221006-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.6.0_beta.120221006.tar.gz.

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_beta.120221006.tar.gz
Algorithm Hash digest
SHA256 ff65ae8f100d6f3a97b35262d43ffdf1cc950793ca3e5a2718588716f00abf79
MD5 7d5e421b6d138fc3ace4a2092a36c388
BLAKE2b-256 9666b1436de6686992e2c650d355b528cfaf579a66554acec53da4120d5d02ad

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0b120221006-cp37-abi3-linux_armv6l.whl.

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0b120221006-cp37-abi3-linux_armv6l.whl
Algorithm Hash digest
SHA256 90ffc29df4a9515957fdec444c5d2ac0e2440e7bdc417e3af788dc291bdd6692
MD5 9dda95823a21ad3f7fd31b701bdf4c5c
BLAKE2b-256 61417dfb14e8929a6869ff96e7766ab5ffc1acd863bb2ca9298ee390aadba313

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_beta.120221006-cp37-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 2cda36295140becc048958a059b29d07ee21a899eabfc957c99c349eb832be03
MD5 fcc86391b251d705ed78a5d79baa331d
BLAKE2b-256 0aefed68e84c70b717c86ee21f03d8b7c9b12ea0a3317cedce79b27c9bfe2aea

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_beta.120221006-cp37-abi3-win32.whl
Algorithm Hash digest
SHA256 22f9d34c78da387e22219dd32a739fb50bce0485993c8ac13c1c4d4aa85bbe5c
MD5 613215e767dd4b497f92bea7fe248202
BLAKE2b-256 390e0bbdc86f6337120e69e3e999661466b0ea0c5c244248c1859b92288a9a28

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0_beta.120221006-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_beta.120221006-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 32b6acc85e94dd7ff6a3dc3f547ad2dd6783c5c5cfc3db7b2715dbd8a670be3b
MD5 40032e4221d07aab36057ec48792fade
BLAKE2b-256 6a2762511ab14c67639c1eb805ab46d12da18d2f3f94e1cc9dec23250d5307cc

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0_beta.120221006-cp37-abi3-manylinux_2_17_i686.manylinux2014_i686.whl.

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_beta.120221006-cp37-abi3-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 a589cea14963ad3559a12c86e82bd08e4ffb9b31a5b57073eb354533ed2ef3b8
MD5 838c98197274bf800b8178f0fa429bc2
BLAKE2b-256 58b55643e28191b4418005ac01d934d05c4dcceb28cc361eca1f5d093510b734

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_beta.120221006-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm Hash digest
SHA256 13b9a1c37ad57cbb9c196dcace1e35c1d78cf11c3161e38498abf33675e95122
MD5 0ff8952197be29b4278dd36435bb66e4
BLAKE2b-256 c3cdc65add9636a4cd31598ae834847bb4390ef7b5c3c21c8144e51a22ce2cdf

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_beta.120221006-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 15e5cb9460facf258013b2d23a69515fabdbfa8938a2e885851d61e93ca185a8
MD5 4b7d10899b9a8aa6156efaa928379a04
BLAKE2b-256 71de454768c28c22bedf4ce4a3f372e63f18f49b5ba61e3f3d5fa944f2c2ecbf

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0_beta.120221006-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_beta.120221006-cp37-abi3-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 bf8d33ccec6c88cceb3a74c22fd4024ffea416870057f0e873ed98154e0e97aa
MD5 c661a9a543c4aacbcc2a7be986341648
BLAKE2b-256 ff8ab02afab2a4a4c42496bfd53b22b9213fe6d7f038047c370a2dd77934172e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_beta.120221006-cp37-abi3-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 92f36d10ec45dbde2103ae12e63ac7ef22f1d4bc16ade161dc6174ab2491fc7a
MD5 c47e2a745ec777a6e6fa29649a9ea1fd
BLAKE2b-256 419f7d099ff4200368367f77738e673edf1b4a7ed8e7ce8aee47cc26f5fad9ef

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