Skip to main content

Zenoh CLI

A command line tool for interacting with a Zenoh session.

Typical use cases include:

  • Tests
  • Investigations
  • Probing
  • As part of a bash pipeline

zenoh-cli makes use of codecs for encoding and decoding to and from the wire payloads on the zenoh network bus. By default, zenoh-cli bundles the following codecs:

  • text
  • base64
  • JSON

A plugin system is in place to allow for easily extending the available codecs in zenoh-cli, see below.

Installation

pip install zenoh-cli

Usage

usage: zenoh [-h] [--mode {peer,client}] [--connect CONNECT] [--listen LISTEN] [--config CONFIG] [--log-level LOG_LEVEL] {info,network,scout,delete,put,subscribe,get} ...

Zenoh command-line client application

positional arguments:
  {info,network,scout,delete,put,subscribe,get}

options:
  -h, --help            show this help message and exit
  --mode {peer,client}
  --connect CONNECT     Endpoints to connect to. (default: None)
  --listen LISTEN       Endpoints to listen on. (default: None)
  --config CONFIG       A path to a configuration file. (default: None)
  --log-level LOG_LEVEL

Example output of zenoh network

network-example.svg

Extending with codecs for encoding/decoding values

zenoh-cli comes with a plugin system for easily extending it with custom encoders and decoders (codecs) for the data values. The plugin system makes use of the entrypoints provided by setuptools, see here for details. zenoh-cli gather plugins from two custom "groups":

  • zenoh_cli.codecs.encoders
  • zenoh_cli.codecs.decoders

For an example, see example_plugin

Metadata

Release files for zenoh-cli 0.7.0

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

Built distribution (wheel)

Table of built distributions (wheels) for zenoh-cli 0.7.0
File Interpreter ABI Platform
zenoh_cli-0.7.0-py3-none-any.whl Python 3 none any Details

Release files / zenoh_cli-0.7.0-py3-none-any.whl

Download URL zenoh_cli-0.7.0-py3-none-any.whl
Size 11.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f60539f0b70ccc8af49a8ee19683c32c8cd08c521a54a1ef9a9cf40462c1169a
BLAKE2b-256 checksum
How to use checksums
4532f860467059767fd80af1fc85deb470b15ba83adbaa1742b6e1bf41c77576
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jan 12, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.7.0 This release

1 release file

0.6.8

1 release file

0.6.7

1 release file

0.6.6

1 release file

0.6.5

1 release file

0.6.4

1 release file

0.6.3

1 release file

0.6.2

1 release file

0.6.1

1 release file

0.6.0

1 release file

0.5.2

1 release file

0.5.1

1 release file

0.5.0

1 release file

0.4.1

1 release file

0.4.0

1 release file

0.3.3

1 release file

0.3.2

1 release file

0.3.1

1 release file

0.3.0

1 release file

0.2.1

2 release files

0.2.0

2 release files

0.1.1

2 release files

0.1.0

2 release files

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