CLI for Zenoh
Project description
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
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.encoderszenoh_cli.codecs.decoders
For an example, see example_plugin
Project details
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 Distributions
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file zenoh_cli-0.7.0-py3-none-any.whl.
File metadata
- Download URL: zenoh_cli-0.7.0-py3-none-any.whl
- Upload date:
- Size: 11.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f60539f0b70ccc8af49a8ee19683c32c8cd08c521a54a1ef9a9cf40462c1169a
|
|
| MD5 |
d939f37e33011392aee8ff7bf5ebf76a
|
|
| BLAKE2b-256 |
4532f860467059767fd80af1fc85deb470b15ba83adbaa1742b6e1bf41c77576
|
Provenance
The following attestation bundles were made for zenoh_cli-0.7.0-py3-none-any.whl:
Publisher:
release.yml on RISE-Maritime/zenoh-cli
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
zenoh_cli-0.7.0-py3-none-any.whl -
Subject digest:
f60539f0b70ccc8af49a8ee19683c32c8cd08c521a54a1ef9a9cf40462c1169a - Sigstore transparency entry: 814570224
- Sigstore integration time:
-
Permalink:
RISE-Maritime/zenoh-cli@194ee3a0d65f7b996014bb88449156ab63da3e47 -
Branch / Tag:
refs/tags/0.7.0 - Owner: https://github.com/RISE-Maritime
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@194ee3a0d65f7b996014bb88449156ab63da3e47 -
Trigger Event:
release
-
Statement type: