--- id: python-json-logger version: "4.1.0" license: BSD-2-Clause license_treatment: permissive maintenance: active --- # python-json-logger — JSON Log Formatter for the Python Logging Package License: permissive · Maintenance: active · Popularity: top 1,000 on PyPI ## Install pip install python-json-logger uv add python-json-logger poetry add python-json-logger ## Description [![PyPi](https://img.shields.io/pypi/v/python-json-logger.svg)](https://pypi.python.org/pypi/python-json-logger/) [![PyPI - Status](https://img.shields.io/pypi/status/python-json-logger)](https://pypi.python.org/pypi/python-json-logger/) [![PyPI - Downloads](https://img.shields.io/pypi/dm/python-json-logger)](https://pypi.python.org/pypi/python-json-logger/) [![Python Versions](https://img.shields.io/pypi/pyversions/python-json-logger.svg)](https://github.com/nhairs/python-json-logger) [![License](https://img.shields.io/github/license/nhairs/python-json-logger.svg)](https://github.com/nhairs/python-json-logger) ![Build Status](https://github.com/nhairs/python-json-logger/actions/workflows/test-suite.yml/badge.svg) # # Python JSON Logger Python JSON Logger enables you produce JSON logs when using Python's `logging` package. JSON logs are machine readable allowing for much easier parsing and ingestion into log aggregation tools. ## Documentation - [Documentation](https://nhairs.github.io/python-json-logger/latest/) - [Quickstart Guide](https://nhairs.github.io/python-json-logger/latest/quickstart/) - [Change... ## AI interpretation — verify before relying Produces machine-readable JSON logs using Python's standard logging package, enabling easier parsing and ingestion into log aggregation tools. Verdict: Mature, actively maintained JSON logging formatter with zero dependencies, permissive licensing, and no known vulnerabilities. Well-suited for production log aggregation pipelines where structured output is required. [View on SkillFed](https://skillfed.io/packages/python-json-logger) · [View on PyPI](https://pypi.org/project/python-json-logger/)