pylint-json2html
Pylint JSON report to HTML
What it is and what it does
pylint-json2html is a command-line tool and optional pylint plugin that transforms pylint's JSON output into readable HTML reports. Pylint removed its native HTML output format in version 1.7, so this tool fills that gap by accepting JSON reports (either the standard format or an extended format with metrics) and rendering them as HTML documents using Jinja2 templates.
The tool works in a pipeline: you run pylint with JSON output, pipe or save that JSON, then pass it to pylint-json2html to generate an HTML file. It supports custom templates for report styling, output encoding control, and both basic and extended pylint JSON formats. The extended format requires loading pylint-json2html as a pylint plugin to unlock additional metrics like code scores and dependency analysis.
Use it for:
- Generate shareable HTML code-quality reports from pylint JSON output for team review and CI/CD pipelines
- Create custom-styled HTML reports by providing your own Jinja2 template to match your organization's branding
- Convert extended pylint reports with metrics and scores to HTML when using the jsonextended format
- Integrate pylint quality checks into documentation or dashboards by converting JSON reports to HTML
- Handle encoding-specific output requirements when generating reports in non-default locales
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Converts pylint JSON reports into formatted HTML documents, optionally using custom Jinja2 templates and supporting both standard and extended pylint JSON formats.
Yes, if you need HTML reports from pylint. The package is stable, has low install friction, and no known vulnerabilities. However, maintenance is dormant (last update 2023-11-11), so verify compatibility with your current pylint and Python versions before relying on it in production. The MPL-2.0 copyleft license is permissive for internal use but requires disclosure if you modify and redistribute.
Install
pylint-json2html on PyPI
pip
pip install pylint-json2htmluv
uv add pylint-json2htmlpoetry
poetry add pylint-json2htmlInstalling pylint-json2html
Before you install
Low install friction with only two runtime dependencies (pylint and Jinja2). Maintenance is dormant—last commit was 2023-11-11—but the repository remains unarchived, suggesting the package is stable rather than abandoned.
License in practice
Licensed under MPL-2.0 (copyleft). You must disclose source code modifications and distribute under the same license if you modify and redistribute the package; proprietary use of unmodified binaries is permitted.
Quickstart
pip install pylint-json2html
# Generate pylint JSON report and convert to HTML
pylint your_package --output-format=json | pylint-json2html -o report.html
# Or convert an existing JSON file
pylint-json2html -o report.html pylint.json
Verify before relying
- Whether the package works correctly with pylint versions released after 2023-11-11
- Current compatibility with Python 3.12 or later (classifiers list only up to 3.11)
Package facts
| License | MPL-2.0 (copyleft) |
| Python support | not specified |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 2 — pylint, Jinja2 |
| Maintenance | dormant — 1,007 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 221,003/month — #9,286 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: pylint_json2html-0.5.0-py3-none-any.whl
Keywords: pylint, report, quality
Tags
More Quality Assurance packages
Coverage.py measures which lines of Python code…
permissive · top 1,000 on PyPI
ruffRuff is a Python linter and code formatter…
permissive · top 1,000 on PyPI
pexpectPexpect spawns and controls interactive console…
permissive · top 1,000 on PyPI
blackBlack reformats Python source code to a…
permissive · top 1,000 on PyPI
pytest-xdistpytest-xdist distributes pytest tests across…
permissive · top 1,000 on PyPI
cfn-lintValidates AWS CloudFormation templates in YAML…
permissive · top 1,000 on PyPI
pylint-gitlabProvides custom pylint output formatters that…
copyleft · top 5,000 on PyPI
pylint-junitGenerates JUnit-formatted XML reports from…
permissive · top 15,000 on PyPI
pylint-actionsA Pylint plugin that formats linting output as…
permissive · top 15,000 on PyPI
pylint-djangoA Pylint plugin that improves static analysis…
copyleft · top 5,000 on PyPI
pylint-odooA Pylint plugin that adds Odoo-specific code…
agpl · top 15,000 on PyPI
pylint-quotesA Pylint plugin that enforces consistent use of…
permissive · top 15,000 on PyPI
pylint-pydanticA Pylint plugin that extends Pylint's…
copyleft · top 5,000 on PyPI
pylint-protobufA Pylint plugin that makes Pylint understand…
permissive · top 15,000 on PyPI
pylint-pytestA Pylint plugin that suppresses false-positive…
permissive · top 15,000 on PyPI
inscriptisConverts HTML documents to plain text while…
permissive · top 5,000 on PyPI