Skip to main content

CI Documentation Status Discussion Discord License License

Eclipse Zenoh

The Eclipse Zenoh: Zero Overhead Pub/sub, Store/Query and Compute.

Zenoh (pronounce /zeno/) unifies data in motion, data at rest and computations. It carefully blends traditional pub/sub with geo-distributed storages, queries and computations, while retaining a level of time and space efficiency that is well beyond any of the mainstream stacks.

Check the website zenoh.io and the roadmap for more detailed information.


Python API

This repository provides a Python binding based on the main Zenoh implementation written in Rust.


How to install it

The Eclipse zenoh-python library is available on Pypi.org. Install the latest available version using pip in a virtual environment:

pip install eclipse-zenoh

⚠️WARNING⚠️ zenoh-python is developped in Rust. On Pypi.org we provide binary wheels for the most common platforms (Linux x86_64, i686, ARMs, MacOS universal2 and Windows amd64). But also a source distribution package for other platforms. However, for pip to be able to build this source distribution, there are 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 rustup.rs)

Supported Python versions and platforms

zenoh-python has been tested with Python 3.8, 3.9, 3.10, 3.11 and 3.12

It relies on the zenoh Rust API which require the full std library. See the list in Rust Platform Support.

Enable zenoh features

To enable some compilation features of the Rust library that are disabled by default, for example shared-memory, execute the following command:

pip install eclipse-zenoh --no-binary :all: --config-settings build-args="--features=zenoh/shared-memory"

How to build it

Requirements:

  • Python >= 3.8

  • pip >= 19.3.1

  • Rust and Cargo. If you already have the Rust toolchain installed, make sure it is up-to-date with:

    rustup update
    

Using a virtual environment is strongly recommended to avoid Python version conflicts and dependency issues.

  1. Create and activate a virtual environment:

    python3 -m venv .venv
    source .venv/bin/activate  # On Windows: .venv\Scripts\activate
    
  2. Install development requirements:

    pip install -r requirements-dev.txt
    
  3. Build and install in development mode:

    maturin develop --release
    
  4. Run examples:

    python examples/z_info.py
    

When you're done, deactivate the virtual environment:

deactivate

Alternative: Build without Virtual Environment

If you cannot use a virtual environment, follow these steps carefully:

  1. Install development requirements:

    pip install -r requirements-dev.txt
    
  2. 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"
    
  3. Build the wheel:

    maturin build --release
    
  4. Install the built wheel:

    pip install ./target/wheels/*.whl --break-system-packages
    

    ⚠️ Important: Systems may have multiple Python installations. Ensure you use the same pip that corresponds to the python3 you intend to use for running examples. You can verify this with:

    pip --version      # Shows which Python version pip uses
    python3 --version  # Shows which Python version python3 uses
    

    If they don't match, use python3 -m pip install ./target/wheels/*.whl instead to ensure the package is installed for the correct Python version.

  5. Run examples using the same Python:

    python3 examples/z_info.py
    

Building Documentation

To build the documentation locally:

  1. Ensure you have zenoh-python installed (follow the build instructions above)

  2. Install documentation requirements:

    pip install -r docs/requirements.txt
    
  3. Build the HTML documentation:

    cd docs
    make html
    
  4. Open the documentation:

    open _build/html/index.html  # macOS
    # or
    xdg-open _build/html/index.html  # Linux
    # or navigate to docs/_build/html/index.html in your browser
    

The documentation is also available online at zenoh-python.readthedocs.io.


Running the Examples

You can install Zenoh Router first (See the instructions). Then, run the zenoh-python examples following the instructions in examples/README.md

Metadata

Release files for eclipse-zenoh 1.10.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for eclipse-zenoh 1.10.2
File Size Uploaded Provenance Actions
eclipse_zenoh-1.10.2.tar.gz 170.2 kB Without provenance Details for eclipse_zenoh-1.10.2.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for eclipse-zenoh 1.10.2
File Actions
eclipse_zenoh-1.10.2-cp39-abi3-win_amd64.whl CPython 3.9 abi3 Windows x86-64 Details for eclipse_zenoh-1.10.2-cp39-abi3-win_amd64.whl
eclipse_zenoh-1.10.2-cp39-abi3-manylinux_2_28_aarch64.whl CPython 3.9 abi3 Linux glibc 2.28+ ARM64 Details for eclipse_zenoh-1.10.2-cp39-abi3-manylinux_2_28_aarch64.whl
eclipse_zenoh-1.10.2-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.9 abi3 Linux glibc 2.17+ x86-64 Details for eclipse_zenoh-1.10.2-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
eclipse_zenoh-1.10.2-cp39-abi3-manylinux_2_17_i686.manylinux2014_i686.whl CPython 3.9 abi3 Linux glibc 2.17+ x86-32 Details for eclipse_zenoh-1.10.2-cp39-abi3-manylinux_2_17_i686.manylinux2014_i686.whl
eclipse_zenoh-1.10.2-cp39-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl CPython 3.9 abi3 Linux glibc 2.17+ ARMv7l Details for eclipse_zenoh-1.10.2-cp39-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
eclipse_zenoh-1.10.2-cp39-abi3-macosx_10_12_x86_64.whl CPython 3.9 abi3 macOS 10.12+ x86-64 Details for eclipse_zenoh-1.10.2-cp39-abi3-macosx_10_12_x86_64.whl
eclipse_zenoh-1.10.2-cp39-abi3-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl CPython 3.9 abi3 macOS 10.12+ universal2 (ARM64, x86-64), macOS 10.12+ x86-64, macOS 11.0+ ARM64 Details for eclipse_zenoh-1.10.2-cp39-abi3-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl
eclipse_zenoh-1.10.2-cp39-abi3-linux_armv6l.whl CPython 3.9 abi3 linux armv6l Details for eclipse_zenoh-1.10.2-cp39-abi3-linux_armv6l.whl

Total release size: 93.0 MB

Release files / eclipse_zenoh-1.10.2.tar.gz

Download URL eclipse_zenoh-1.10.2.tar.gz
Size 170.2 kB
Tags Source
SHA-256 checksum
How to use checksums
a338f4d1a0a736cbae4e1f5becdd2e81a6a2e5934ffa8a4b1436cf0fbac7fb2e
BLAKE2b-256 checksum
How to use checksums
c46d1a71883d4d515a4c30a702ec14dc86150ed5dfb1315b7a2ecfb740f053cb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / eclipse_zenoh-1.10.2-cp39-abi3-win_amd64.whl

Download URL eclipse_zenoh-1.10.2-cp39-abi3-win_amd64.whl
Size 9.1 MB
Tags CPython 3.9 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
545fd22a684b7023423e3a85c17b615a0a7a791344bbc7aade67e121e78ca2d5
BLAKE2b-256 checksum
How to use checksums
a4bb0e1585315a8e27e0496d6576e02c71652393371b8eba89864bc302904b4d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / eclipse_zenoh-1.10.2-cp39-abi3-manylinux_2_28_aarch64.whl

Download URL eclipse_zenoh-1.10.2-cp39-abi3-manylinux_2_28_aarch64.whl
Size 10.9 MB
Tags CPython 3.9 Linux glibc 2.28+ ARM64 abi3
SHA-256 checksum
How to use checksums
d732e89381c1ad28ee587ad11da4ed2d8b12d985f32d0485658c81b125f4ef9b
BLAKE2b-256 checksum
How to use checksums
d777109bfe0339b16e81fe2f3428dc6098c4d4e7586a2a317b1e91f190a4c023
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / eclipse_zenoh-1.10.2-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL eclipse_zenoh-1.10.2-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 10.3 MB
Tags CPython 3.9 Linux glibc 2.17+ x86-64 abi3
SHA-256 checksum
How to use checksums
cd3c922c9f018568f9c7c8747f1aad81b646f5d8e98cc24bfa4aa160f35cdb96
BLAKE2b-256 checksum
How to use checksums
8ccbf8fe2e8a8cc4129797667429484bf978c9821aca4efe25f5f7b30f7c0fae
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / eclipse_zenoh-1.10.2-cp39-abi3-manylinux_2_17_i686.manylinux2014_i686.whl

Download URL eclipse_zenoh-1.10.2-cp39-abi3-manylinux_2_17_i686.manylinux2014_i686.whl
Size 11.7 MB
Tags CPython 3.9 Linux glibc 2.17+ x86-32 abi3
SHA-256 checksum
How to use checksums
945e6df323befcea5b8dc281e5493d4fec192c2bb6ab1d9e91bcaf13632235be
BLAKE2b-256 checksum
How to use checksums
f71df78e91f24e4017adeacbb6b0f4c29c4f380e6320f301f95256f6eaa711d0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / eclipse_zenoh-1.10.2-cp39-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl

Download URL eclipse_zenoh-1.10.2-cp39-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Size 10.8 MB
Tags CPython 3.9 Linux glibc 2.17+ ARMv7l abi3
SHA-256 checksum
How to use checksums
39ab8569449bd655ae8a4ae99422303b5c09a515df38d90135387854baccf796
BLAKE2b-256 checksum
How to use checksums
c87d49ca3a5f5385ceedf15336a60a56b4c72eee744748ea35e232022650355b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / eclipse_zenoh-1.10.2-cp39-abi3-macosx_10_12_x86_64.whl

Download URL eclipse_zenoh-1.10.2-cp39-abi3-macosx_10_12_x86_64.whl
Size 9.9 MB
Tags CPython 3.9 abi3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
a1a36b27671a2a1bd958248c6adfb1ca13456f7de1865d9669f50f0b0e85e602
BLAKE2b-256 checksum
How to use checksums
9eebc92b2d55f08a32cd68db820f94ced2c4083567aa0dee05a51243340ac0ac
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / eclipse_zenoh-1.10.2-cp39-abi3-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl

Download URL eclipse_zenoh-1.10.2-cp39-abi3-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl
Size 19.3 MB
Tags CPython 3.9 abi3 macOS 10.12+ universal2 (ARM64, x86-64) macOS 10.12+ x86-64 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
e7903cb5d8a28e0056c10e0bc872e07ca6e11463b41013c3bdf05fb586f0c768
BLAKE2b-256 checksum
How to use checksums
325b2ea4d1763458f649efe8da780d800be2ca3bf977532d1c6d8b914df78192
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / eclipse_zenoh-1.10.2-cp39-abi3-linux_armv6l.whl

Download URL eclipse_zenoh-1.10.2-cp39-abi3-linux_armv6l.whl
Size 10.9 MB
Tags CPython 3.9 abi3 linux armv6l
SHA-256 checksum
How to use checksums
21f1fe4016f2b508193d3a50b00621d084ac351db0e390211eae87a77a0dec6a
BLAKE2b-256 checksum
How to use checksums
3383c5b27e3ad43841c7f2236e89ca42cd618731da649f7f3f9d743769295f3b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Security for eclipse-zenoh 1.10.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.10.2 This release

9 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page