$npx skillfedfor your agent

structlog-pretty

A collection of structlog processors for prettier output

With conditionsPyPI Text ProcessingReleased Jul 2024109.3K downloads / mopermissive licensePure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — structlog_pretty-0.4.3-py3-none-any.whl
v0.4.3 · released 2024-07-15 · 1 runtime deps: pygments

Yes, if you use structlog and want prettier logs without extra dependencies beyond pygments. The dormant maintenance status is not a blocker—the package is stable and focused—but verify compatibility with your structlog and Python versions before adopting. No known security vulnerabilities.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3; optional C extensions for faster processors need libxml installed.
  • Low friction install with a single runtime dependency (pygments).
  • Maintenance is dormant—last commit was 2024-07-15 and no updates in 760 days—but the repository remains active and unarchived, suggesting the package is stable rather than abandoned.

License · maintenance · safety

permissive license (permissive) — Licensed under MIT (permissive), so you can use it freely in commercial and private projects with minimal restrictions.

last release 2024-07-15 (760 days) · last repo commit 2024-07-15 · 37 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 109,287 downloads/mo, #12,522 on PyPI

Verify before relying

pip install structlog-pretty

import structlog
import structlog_pretty

structlog.configure(
    processors=[
        structlog_pretty.SyntaxHighlighter({'request': 'json'}),
        structlog_pretty.MultilinePrinter(['request']),
    ]
)
  • Whether the package works with recent structlog versions and modern Python 3.x releases.
  • Performance characteristics of the optional [fast] extras and whether libxml availability is common in typical deployment environments.
Same gist for agents: .md · .json

What it is and 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.

The 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—just pygments as a runtime dependency—and comes with optional faster processors if you install the [fast] extra, though those require C compilation and libxml.

Use it for

  • 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.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you use structlog and want prettier logs without extra dependencies beyond pygments.

The dormant maintenance status is not a blocker—the package is stable and focused—but verify compatibility with your structlog and Python versions before adopting. No known security vulnerabilities.

Install

structlog-pretty on PyPI

Before you install

Low friction install with a single runtime dependency (pygments). Maintenance is dormant—last commit was 2024-07-15 and no updates in 760 days—but the repository remains active and unarchived, suggesting the package is stable rather than abandoned.

Requires Python 3; optional C extensions for faster processors need libxml installed.

License in practice

Licensed under MIT (permissive), so you can use it freely in commercial and private projects with minimal restrictions.

Quickstart

pip install structlog-pretty

import structlog
import structlog_pretty

structlog.configure(
    processors=[
        structlog_pretty.SyntaxHighlighter({'request': 'json'}),
        structlog_pretty.MultilinePrinter(['request']),
    ]
)

Verify before relying

  • Whether the package works with recent structlog versions and modern Python 3.x releases.
  • Performance characteristics of the optional [fast] extras and whether libxml availability is common in typical deployment environments.

Package facts

Licensepermissive license permissive
Python supportNot specified
Install frictionLow. Pure-Python wheel
Runtime dependencies
1 package
pygments
MaintenanceDormant 760 days since the last release
Last repo commit
First released
Downloads109,287 / month, #12,522 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 3 - AlphaLicense :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: Python :: 3 :: Only

Evidence: structlog_pretty-0.4.3-py3-none-any.whl

Tags

Capabilities
structlog formatting processorspretty print structured logsJSON log prettifiersyntax highlight log outputstructured logging enhancement
Topics
loggingstructlogformatting

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “structlog formatting processors”

  • structlog-prettyAdds structlog processors that format log output with syntax…
  • structlog-gcpConfigures structlog to output logs in Google Cloud Logging JSON…
  • pytest-structlogProvides a pytest fixture for capturing and asserting on structured…

Give your agent the search over MCP, or paste the wish link into any chat.

More Text Processing packages

regex Worth it
PyPI · Python Modules · released Jul 2026

A drop-in replacement for Python's standard `re` module that adds advanced regex features like nested sets, fuzzy matching, lookaround in conditionals, and full Unicode case-folding while maintaining backward compatibility.

Apache-2.0 AND CNRI-Pythoncompiled wheel · 3.10+
437.7Mdownloads / mo
pyparsing Worth it
PyPI · Text Processing · released Jan 2026

pyparsing provides a library for building text parsers directly in Python code using composable grammar classes, handling quoted strings, whitespace variation, and embedded comments without regex or lex/yacc.

Install it if you need to parse text or define grammars programmatically.

MITpure Python · 3.9+
412.7Mdownloads / mo
fonttools Worth it
PyPI · Text Processing · released May 2026

fonttools manipulates font files in multiple formats (TrueType, OpenType, AFM, Type 1, Mac-specific) and includes TTX, a tool to convert fonts to and from XML text format.

Install it if you need to read, write, or manipulate fonts programmatically or via the TTX command-line tool.

permissive licensepure Python · 3.10+
235.9Mdownloads / mo
docutils With conditions
PyPI · Software Development · released May 2026

Docutils converts plaintext documentation in reStructuredText format into multiple output formats including HTML, XML, and LaTeX using a modular processing system.

BSD-3-Clausepure Python · 3.9+
225.6Mdownloads / mo
RapidFuzz Worth it
PyPI · Text Processing · released Apr 2026

RapidFuzz provides fast fuzzy string matching using Levenshtein Distance and related metrics, implemented mostly in C++ with Python bindings for rapid similarity scoring and approximate string matching.

Install it if you need fuzzy string matching; it's a solid replacement for FuzzyWuzzy with better licensing and performance.

MITcompiled wheel · 3.10+
184.2Mdownloads / mo
tinycss2 Worth it
PyPI · Text Processing · released Nov 2025

tinycss2 parses CSS strings into token and block objects, and generates CSS strings from those objects, following the CSS Syntax Level 3 specification without enforcing specific properties or values.

Install it if your project requires CSS tokenization or syntax manipulation.

BSD-3-Clausepure Python · 3.10+
113.2Mdownloads / mo

See also structlog-gcp · structlog-sentry · structlog · pytest-structlog · prettyprinter · django-structlog · macwinnie-enhanced-logging · opentelemetry-instrumentation-structlog · python-json-logger · gdbmongo