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.120221019.tar.gz (94.1 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.120221019-cp37-abi3-win_amd64.whl (4.3 MB view details)

Uploaded CPython 3.7+Windows x86-64

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

Uploaded CPython 3.7+Windows x86

eclipse_zenoh_nightly-0.6.0_beta.120221019-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.120221019-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.120221019-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl (6.6 MB view details)

Uploaded CPython 3.7+manylinux: glibc 2.17+ ARMv7l

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_beta.120221019.tar.gz
Algorithm Hash digest
SHA256 1d98b081203abf3a6b2bba660895dd0719a02563f6ebca9e5e1735b10d935ea2
MD5 8b915f45c08a710f49a660e75aa9da77
BLAKE2b-256 a69320fbf996e311f2399dcf1779382decd612906714f81a27902442d0bd7351

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0b120221019-cp37-abi3-linux_armv6l.whl
Algorithm Hash digest
SHA256 0f7c7a8bb5692281b11e1f12eff7b472c23588189f3a6618271a781996df94b4
MD5 1cac7f20bd3d052f7c1143566cbdccf2
BLAKE2b-256 7a91a54bd944850bd6f19d7bc44e7b51e21ca79be6e0c2b33b3bc0e04915b6ba

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_beta.120221019-cp37-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 8f9cef130dbbe97a977d190d12279c0e9551e83b25c6f09799ca719eb018bdb0
MD5 ff42458c0895681c4c01c8d26d319e9e
BLAKE2b-256 ee738ebb43e3202ef241c9ff1c6323777b49f9d8442759f6b677943f3a92835c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_beta.120221019-cp37-abi3-win32.whl
Algorithm Hash digest
SHA256 0c060adc5930fa0d3bb5fa3b86545399ca3221968b671b1c03ada2a255f0b3eb
MD5 635dd49b9103c2d1433a96cecbfdf4d9
BLAKE2b-256 9065e22b9d8045b9a7676b639cff9be85545818487e99613d1e762cf97394fc8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_beta.120221019-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 52899dbebe573a7465bf26cdea740d15efe8678d6ef57aa01eb55dc3443ef401
MD5 4721ee24f478a68877fd044580020f78
BLAKE2b-256 5de168c5b47ccb1ee4e6f9d26e1db2494378019ed23fb1813afa29171f41bf65

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_beta.120221019-cp37-abi3-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 c58236eddbe0aa2750fab656074dbbcbdd44a5261dbec6bddf11862497e3a3cc
MD5 9246d30d08fed44bc464665f0b2e2860
BLAKE2b-256 2d46194a5407c2b2a797922096a06b29ba3b4fa043ddb9c09ac6e4805f6b21d7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_beta.120221019-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm Hash digest
SHA256 51a7dfbecaa2d93e0ccb70572ac9845c4e796d2504d5d98e1d18a188c347e673
MD5 1751518ee38770933ead4901f7e8107c
BLAKE2b-256 122af8d75583c85cc37ed440887b785300c67fefc1164c24b57d8e04775da0b5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_beta.120221019-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 7ddb04211a664562e56244159d0a9764cf7f03d362f015a7645fa897a2ef1ccb
MD5 9f670c20831120e25b7b9bead3cc77ee
BLAKE2b-256 08cec28703e1f235d34fd1f84ec4eaf839cc7f4bfd788ac923dcf20e796c7a4b

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0_beta.120221019-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.120221019-cp37-abi3-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 22edfdf3c5071e79278aec76cbb7f588651d76001b1ed3c496b6ab8904ffd6d2
MD5 6e2688faaa1ac573ab170c43b3599a19
BLAKE2b-256 e7f6fc6b485ebbc4f1f8e551be03b637348c6c6cff35caab980f6fff8e1bd8fc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_beta.120221019-cp37-abi3-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 40014df4435766a8de5d8c8fda0f8dcc23329818f43339c638491bf7ab8a83e9
MD5 0765108e378e7a0f0de169fb179a7d05
BLAKE2b-256 d7ce2c169a620232005677c248e0703459c4f6f9c9e28f3c8e3b61cf95cde04c

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