Pretty printer for jomiel messages
Project description
yomiel
The pretty printer for jomiel messages.
Features
-
Secure. It can authenticate and encrypt connections with jomiel by using CURVE and SSH.
-
Flexible. It prints in different output formats (raw/json/yaml).
-
Configurable. Many of the options are configurable.
Installation
pip install yomiel
Install from the repository, e.g. for development:
git clone https://github.com/guendto/jomiel-yomiel
cd jomiel-yomiel
pip install -e . # Install a project in editable mode
Or, if you'd rather not install in "editable mode":
pip install git+https://github.com/guendto/jomiel-yomiel
Be sure to check out jomiel
HOWTO, also.
Usage
usage: yomiel [-h] [--version] [-v] [--config-file FILE] [-D] [-E] [-P]
[--logger-config FILE] [-L] [--logger-idents-verbose] [-l IDENT]
[-o [raw|json|yaml|terse]] [-r ADDR] [-t TIME] [-m]
[--auth-mode [none|curve|ssh]]
[--curve-server-public-key-file FILE]
[--curve-client-key-file FILE] [--ssh-server user@server:port]
[--ssh-key-file FILE] [--ssh-password PASSWD]
[--ssh-timeout TIME] [--ssh-paramiko]
[<uri> ...]
positional arguments:
<uri> the URIs to parse (default: None)
optional arguments:
-h, --help show this help message and exit
--version show program's version number and exit
-v, --version-long show version information about program's environment
and exit (default: False)
--config-file FILE Read configuration from the specified file [env var:
CONFIG_FILE] (default: None)
-D, --print-config Show the configuration values and exit (default:
False)
-E, --report-config Report keys, values and where they were set (default:
False)
-P, --config-paths Print default configuration file paths (default:
False)
-o [raw|json|yaml|terse], --output-format [raw|json|yaml|terse]
Print messages in the specified data serialization
format (default: raw)
logger:
--logger-config FILE Logger configuration file to read [env var:
LOGGER_CONFIG] (default: None)
-L, --logger-idents Print logger identities and exit (default: False)
--logger-idents-verbose
Print logger identities in detail, use together with
--logger-idents (default: False)
-l IDENT, --logger-ident IDENT
Use the logger identity [env var: LOGGER_IDENT]
(default: default)
jomiel:
-r ADDR, --router-endpoint ADDR
jomiel router endpoint address to connect to (default:
tcp://localhost:5514)
-t TIME, --connect-timeout TIME
Maximum time in seconds that the program should allow
the connection to the service to take (default: 60)
debug:
-m, --debug-minify-json
Minify JSON messages in the logger (default: False)
auth:
--auth-mode [none|curve|ssh]
Select authentication mode (default: none)
auth: curve:
--curve-server-public-key-file FILE
Public CURVE certificate key file to use for
connecting to jomiel (default: .curve/server.key)
--curve-client-key-file FILE
Secret client CURVE key file to use for connecting to
jomiel (default: .curve/client.key_secret)
auth: ssh:
--ssh-server user@server:port
SSH server to connect to (default: None)
--ssh-key-file FILE Path to the key file to use (default: None)
--ssh-password PASSWD
Password to the SSH server (default: None)
--ssh-timeout TIME Time (in seconds) after which no activity will result
in the tunnel closing (default: 60)
--ssh-paramiko Use paramiko instead of pexpect (default: False)
If an arg is specified in more than one place, then commandline values
override environment variables which override defaults.
License
yomiel
is licensed under the Apache License version 2.0.
Acknowledgements
- pre-commit is used for linting and reformatting, see the .pre-commit-config.yaml file
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
yomiel-1.1.0.tar.gz
(40.7 kB
view details)
Built Distribution
yomiel-1.1.0-py3-none-any.whl
(15.4 kB
view details)
File details
Details for the file yomiel-1.1.0.tar.gz
.
File metadata
- Download URL: yomiel-1.1.0.tar.gz
- Upload date:
- Size: 40.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f34793dd68cc570de6c1f7d9e524f2873b13dff7751be2d7d2cfb757279a1c8a |
|
MD5 | b862101016fed844a2677db1f13702c7 |
|
BLAKE2b-256 | 8b93228eafc655e832b9da8dce1f6f6c98747661ec7cb0e5245fd45df7380df6 |
File details
Details for the file yomiel-1.1.0-py3-none-any.whl
.
File metadata
- Download URL: yomiel-1.1.0-py3-none-any.whl
- Upload date:
- Size: 15.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2cd5b98e5767c547d0c8a26571ef9a91ae25d9bf31a3dc174a2286c5aa1580a9 |
|
MD5 | 42be0178408fe1f766f9f3ff37742246 |
|
BLAKE2b-256 | 88af102c5e58377988ca9feba262b3d15801270185b0447578da8a793aeb4dde |