{"categories":[{"label":"Text Processing","url":"https://skillfed.io/packages/category/text-processing/3"}],"enrichment":{"capability":"Adds structlog processors that format log output with syntax highlighting, JSON/XML prettification, multiline string handling, and numeric rounding for more readable structured logs.","skillfed_tags":["logging","structlog","formatting"],"use_cases":["Format JSON request/response payloads in logs for readability during API debugging.","Highlight code snippets embedded in log messages with syntax coloring.","Pretty-print XML responses in SOAP or other XML-based service logs.","Round numeric timing values to a fixed number of digits for cleaner performance logs.","Display multiline strings (stack traces, formatted output) without mangling indentation."],"what_it_does":"structlog-pretty is a collection of processors that integrate with structlog to make structured log output more human-readable. It provides syntax highlighting for code snippets in logs, prettification for JSON and XML fields, multiline string formatting, and numeric rounding for cleaner output. The package wraps around structlog's processor pipeline, so you add its processors to your logging configuration and it transforms specific fields in your log events on the fly.\n\nThe package is designed for developers who use structlog and want logs that are easier to read during development or debugging without changing the underlying structured format. It has low install friction\u2014just pygments as a runtime dependency\u2014and comes with optional faster processors if you install the [fast] extra, though those require C compilation and libxml.","worth_installing":"Yes, if you use structlog and want prettier logs without extra dependencies beyond pygments. The dormant maintenance status is not a blocker\u2014the package is stable and focused\u2014but verify compatibility with your structlog and Python versions before adopting. No known security vulnerabilities."},"id":"structlog-pretty","links":{"html":"https://skillfed.io/packages/structlog-pretty","md":"https://skillfed.io/packages/structlog-pretty.md","pypi":"https://pypi.org/project/structlog-pretty/"},"maintenance":{"status":"dormant"},"meta":{"latest_release":"2024-07-15","license_spdx":null,"license_treatment":"permissive","name":"structlog-pretty","python_support":"unspecified","summary":"A collection of structlog processors for prettier output"},"popularity":{"monthly_downloads":109287,"position":12522,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.4.3"}
