$npx skillfedfor your agent

jsonformatter

Python log in json format.

With conditionsPyPI UtilitiesReleased Nov 2024406.7K downloads / mopermissive licenseSource build

Decision gist · record as of 2026-08-14

sdist only — jsonformatter-0.3.4.tar.gz · builds from source
v0.3.4 · released 2024-11-21 · Python >=2.7

Yes, with conditions. Install if you need JSON-formatted logs for aggregation or structured logging in a Python application and are comfortable with source-only distribution and dormant maintenance. The package is stable and has no known vulnerabilities, but the lack of wheels and infrequent updates mean you should verify compatibility with your target Python version before production deployment. Not recommended for projects requiring active upstream support.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • High install friction: the package is distributed only as source (tar.gz), with no wheels available.
  • Maintenance is dormant—last release was 631 days ago, though the repository remains active with a recent commit on 2024-11-21.
  • No runtime dependencies, so installation itself is straightforward once the source builds.

License · maintenance · safety

permissive license (permissive) — BSD 2-Clause License (permissive): you may use, modify, and distribute the package freely in both open-source and commercial projects, provided you retain the license notice and disclaimer.

last release 2024-11-21 (631 days) · last repo commit 2024-11-21 · 46 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 406,679 downloads/mo, #6,894 on PyPI

Verify before relying

import logging
from jsonformatter import basicConfig

basicConfig(level=logging.INFO)
logging.info('hello, jsonformatter')
# Output: {"levelname": "INFO", "name": "root", "message": "hello, jsonformatter"}
  • Whether the source-only distribution (no wheels) and dormant maintenance pose practical barriers for production use.
  • Current compatibility with modern Python versions beyond the stated 2.7 and 3.x support.
  • Performance characteristics when handling high-volume logging in production systems.
Same gist for agents: .md · .json

What it is and what it does

jsonformatter is a Python logging formatter that converts log records into JSON output, making logs machine-readable and suitable for centralized log aggregation platforms. It works by intercepting Python's standard logging system and reformatting each LogRecord as JSON, allowing you to customize which record attributes appear in the output and in what order.

The package supports multiple configuration approaches: a simple basicConfig function for quick setup, direct JsonFormatter instantiation for fine-grained control, and logging config files for declarative configuration. It also allows you to inject custom attributes into LogRecords—useful in web frameworks like Flask or Django where you might want to automatically include request context (username, URL, session data) in every log line. The formatter supports all json.dumps parameters and handles non-JSON-serializable custom attributes.

Use it for

  • Centralize logs from a Python application into LogStash or similar aggregation systems by formatting each log entry as JSON.
  • Add request-scoped context (user ID, request URL, session data) to logs in Flask or Django applications automatically.
  • Parse and query logs programmatically by ensuring all output is valid JSON rather than unstructured text.
  • Migrate from text-based logging to structured logging without rewriting application log statements.
  • Output multiple LogRecord attributes in custom JSON keys for downstream analytics or monitoring tools.

Worth the install?

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

With conditions

Yes, with conditions.

Install if you need JSON-formatted logs for aggregation or structured logging in a Python application and are comfortable with source-only distribution and dormant maintenance. The package is stable and has no known vulnerabilities, but the lack of wheels and infrequent updates mean you should verify compatibility with your target Python version before production deployment. Not recommended for projects requiring active upstream support.

Install

jsonformatter on PyPI

Before you install

High install friction: the package is distributed only as source (tar.gz), with no wheels available. Maintenance is dormant—last release was 631 days ago, though the repository remains active with a recent commit on 2024-11-21. No runtime dependencies, so installation itself is straightforward once the source builds.

License in practice

BSD 2-Clause License (permissive): you may use, modify, and distribute the package freely in both open-source and commercial projects, provided you retain the license notice and disclaimer.

Quickstart

import logging
from jsonformatter import basicConfig

basicConfig(level=logging.INFO)
logging.info('hello, jsonformatter')
# Output: {"levelname": "INFO", "name": "root", "message": "hello, jsonformatter"}

Verify before relying

  • Whether the source-only distribution (no wheels) and dormant maintenance pose practical barriers for production use.
  • Current compatibility with modern Python versions beyond the stated 2.7 and 3.x support.
  • Performance characteristics when handling high-volume logging in production systems.

Package facts

Licensepermissive license permissive
Python supportSupports the current Python release >=2.7
Install frictionHigh. Source build required
Runtime dependenciesNone
MaintenanceDormant 631 days since the last release
Last repo commit
First released
Downloads406,679 / month, #6,894 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 2 - Pre-AlphaIntended Audience :: DevelopersLicense :: OSI Approved :: BSD LicenseOperating System :: OS IndependentProgramming Language :: Python :: 2.7Programming Language :: Python :: 3Programming Language :: Python :: Implementation :: CPythonTopic :: Utilities

Evidence: jsonformatter-0.3.4.tar.gz

Tags

Capabilities
json logging formatterpython structured logslogstash compatible loggingjson log outputpython log json formatstructured logging pythonlog aggregation formatter
Topics
loggingjson-outputstructured-logs

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 › “python log json format”

  • jsonformatterFormats Python logging output as JSON, enabling structured logs…
  • ecs-loggingFormats Python logs as Elastic Common Schema (ECS) JSON, enabling…
  • python-json-loggerFormats Python logging output as JSON, making logs machine-readable…

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

More Utilities packages

idna Worth it
PyPI · Python Modules · released Jun 2026

Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.

Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.

BSD-3-Clausepure Python · 3.9+
1.8Bdownloads / mo
charset-normalizer Worth it
PyPI · Utilities · released Aug 2026

Detects and normalizes text encoding from unknown or ambiguous sources, supporting all IANA character sets that Python's core library provides codecs for, with the ability to register custom codecs.

permissive licensepure Python · 3.7+
1.7Bdownloads / mo
setuptools Worth it
PyPI · Python Modules · released Aug 2026

Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.

MITpure Python · 3.10+
1.6Bdownloads / mo
pluggy Worth it
PyPI · Libraries · released May 2025

Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.

Install it if you're building an extensible application or framework.

MITpure Python · 3.9+aging
1.3Bdownloads / mo
Pygments Worth it
PyPI · Utilities · released Mar 2026

Pygments is a syntax highlighter that colorizes source code and text in over 500 languages and formats, outputting to HTML, LaTeX, RTF, SVG, images, or ANSI terminal sequences.

Install it if you need to display or transform source code.

BSD-2-Clausepure Python · 3.9+
1.3Bdownloads / mo
six With conditions
PyPI · Libraries · released Dec 2024

Six provides utility functions to write Python code that runs on both Python 2.7 and Python 3.3+, smoothing over language differences between the two versions.

MITpure Python
1.2Bdownloads / mo

See also logfmter · logging-json · logstash_formatter · logzero · JSON-log-formatter · lib-log-rich · logdna · python-json-logger · python3-logstash · logging-formatter-anticrlf