Skip to main content

Pypi

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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

jsonlf-0.1.3.tar.gz (2.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

jsonlf-0.1.3-py3-none-any.whl (3.4 kB view details)

Uploaded Python 3

File details

Details for the file jsonlf-0.1.3.tar.gz.

File metadata

  • Download URL: jsonlf-0.1.3.tar.gz
  • Upload date:
  • Size: 2.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.2 CPython/3.10.2 Linux/5.15.0-1031-azure

File hashes

Hashes for jsonlf-0.1.3.tar.gz
Algorithm Hash digest
SHA256 c36bbfac140f055ebabfa2cd99ecf24431d4f39d6932f6242f78c60125fc2f75
MD5 50062a6d8b2c9690b8b03ca476c0a2a4
BLAKE2b-256 a0e76f7b68a9e6b790941fe00fa9b839084a7e0e51b026cb6730398953d15c57

See more details on using hashes here.

File details

Details for the file jsonlf-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: jsonlf-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 3.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.2 CPython/3.10.2 Linux/5.15.0-1031-azure

File hashes

Hashes for jsonlf-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 80889300853fea4260584af173ba8ac63577742cafafa6781a7315818d85170c
MD5 fed7367452f20f589584a3d50da80d90
BLAKE2b-256 c81d8c3e66086637de90e69753a144b487320369876ad3f05779cf5a430e838d

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.3 This release

2 files

0.1.2

2 files

0.1.1

2 files

0.1.0

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page