jsonlf
This is a json line formarter. It expects a valid json on stdin and outputs it pretty-printed and uses pygments for highlighting. It will also attempt to format python tracebacks.
Installation
pip install jsonlf
Usage
some_command_that_logs_json_lines | jsonlf
You can use pygments styles listed here: https://pygments.org/styles/ Just pass their names as the first argument. Example:
some_command_that_logs_json_lines | jsonlf emacs
Metadata
Release files for jsonlf 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| jsonlf-0.1.3.tar.gz | 2.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| jsonlf-0.1.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 6.3 kB
Release files / jsonlf-0.1.3.tar.gz
| Download URL | jsonlf-0.1.3.tar.gz |
|---|---|
| Size | 2.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c36bbfac140f055ebabfa2cd99ecf24431d4f39d6932f6242f78c60125fc2f75
|
|
BLAKE2b-256 checksum How to use checksums |
a0e76f7b68a9e6b790941fe00fa9b839084a7e0e51b026cb6730398953d15c57
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.3.2 CPython/3.10.2 Linux/5.15.0-1031-azure
|
Release files / jsonlf-0.1.3-py3-none-any.whl
| Download URL | jsonlf-0.1.3-py3-none-any.whl |
|---|---|
| Size | 3.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
80889300853fea4260584af173ba8ac63577742cafafa6781a7315818d85170c
|
|
BLAKE2b-256 checksum How to use checksums |
c81d8c3e66086637de90e69753a144b487320369876ad3f05779cf5a430e838d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.3.2 CPython/3.10.2 Linux/5.15.0-1031-azure
|