Install & Compatibility
Where this runs
tested against v24.4.0 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
muslpy 3.10–3.95 runs
installs and imports cleanly · install 0.0s · import 0.000s · 17.8MB
glibcpy 3.10–3.95 runs
installs and imports cleanly · install 1.5s · import 0.000s · 18MB
16MB installed
● package 16MB
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
Flake8JSONFormatter
✓ from flake8_json_reporter import Flake8JSONFormatter
✗ from flake8_json_reporter import Flake8JSONFormatter
Run flake8 with JSON output format on a file.
import subprocess
result = subprocess.run(['flake8', '--format', 'json', 'myfile.py'], capture_output=True, text=True)
print(result.stdout)
Upgrade
Version history
24.4.0latest on PyPI · released Apr 20, 2024
Audit
Dependencies
flake8requiredRequired runtime dependency; flake8-json is a plugin for Flake8.