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.120221024.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.120221024-cp37-abi3-win_amd64.whl (4.3 MB view details)

Uploaded CPython 3.7+Windows x86-64

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

Uploaded CPython 3.7+Windows x86

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_beta.120221024.tar.gz
Algorithm Hash digest
SHA256 54da5ae84ac91329b5c775e6657cfec063fcdd4b6e4b7b4deb50f60f645318d8
MD5 11007b7554c13357517deefb77425db7
BLAKE2b-256 d68b4b50f7269aac2b6d02c77cc714642228caabf04585c012f0fe60da477b38

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0b120221024-cp37-abi3-linux_armv6l.whl
Algorithm Hash digest
SHA256 7d2f16f39f6e886405b1df64f5892a199d7228295e705d2a1c7d3bd374e60724
MD5 44e94237dfb363634b87df35e68f2a15
BLAKE2b-256 c6fe5e6a429a23d1219afdb32808fd3549bf4046ff2040cafcea21625422be55

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_beta.120221024-cp37-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 f9362f923cfa1abf20317b6151251ee43f5c82cb59651b667a77f3ff7717ba5d
MD5 77b2d3b1b5bf83f27142252708c43138
BLAKE2b-256 e0a601cba6d327c5455f26a4ed0fad20f845e97fc499b10edb65bb0a533a12ec

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_beta.120221024-cp37-abi3-win32.whl
Algorithm Hash digest
SHA256 c8b67f47a00a1bca5ba484e46653a9eb3db40f2928462ef2c5721d39daecc0a7
MD5 e27252f9cae9624b5b46fa566cbfed83
BLAKE2b-256 d3517246e5b4f81c2d12677c5dcdb5639f56e0f74832ec069d426812ca7d70df

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_beta.120221024-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 8b9c2542ab0bbe0b3d551b23f5e3fd25474f8b83e817ced13f25ab1e061ee176
MD5 772afbff66d6fc0c4a03b2e34928810d
BLAKE2b-256 bfd86651181fbae4d12830354957eab18452a6d53e1336df32498b8d62fe3e80

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_beta.120221024-cp37-abi3-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 2669b17f193b0e909d15e9f461be505595a08a2b99b0e9e664cc9625de270a4a
MD5 59202cc8368b9afaaa292cafdf5034bb
BLAKE2b-256 9dea6aadab9d3fe6d0a143c5b23f5ed700e54e9112543ca88bebfd4485eca686

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_beta.120221024-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm Hash digest
SHA256 9db60e9088bf17500f9c840b20be7fb924ba172e5ec464e34dc96cf02a7fb7ff
MD5 e8baf9fe8f1cee302105c5f25f3e94eb
BLAKE2b-256 5695374a6fbc4f0e8be93fd834a25d8ae731e1a173947dc0d63073a8eb577518

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_beta.120221024-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 6ff2ba28c0c1822dbac82ef56fe480acfa300dd8b5780558eaa5715cc146c089
MD5 bbfd4861714a792d87f4e26a69f6420f
BLAKE2b-256 624b3d40427c68b08754e7d67026982668cc6a67e62985ce2337485972f20072

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0_beta.120221024-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.120221024-cp37-abi3-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 d5e8bb82bc981eab52a1017fa29804ebad37346fab72a7c2720193b251c3e6d4
MD5 6c55d9e5a4f34f9e7cf5eec16d65fb21
BLAKE2b-256 a438d08aad28753e2ba5c86a69840406e2e274da94f633d8be49ba2f2c9e6737

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_beta.120221024-cp37-abi3-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 7fa9909be14d2b213522a25082e877d78cbcfe9027afd75d16f935bab538ff5d
MD5 065410a6803855566a8743733b5fa9e6
BLAKE2b-256 27e14bca0feab721848f32dd8ae5e57a997af9d351e818e0d47fcf22bb516161

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