Comparison
json-repair vs partial-json-parser vs partialjson
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
A package to repair broken json strings
Actively maintained. Last release 3 weeks ago, commits in 23 of the last 26 weeks. A safe choice.
$
pip install json-repairParse partial JSON generated by LLM
Low maintenance activity. Last release 12 months ago, commits in 0 of the last 26 weeks. Weaker on commit activity and recent releases.
$
pip install partial-json-parserParse incomplete or partial JSON, e.g. from a streaming LLM response
Maintained. Last release 3 months ago, commits in 1 of the last 26 weeks. Weaker on commit activity and release cadence.
$
pip install partialjsonIn short
- json-repair is the most used: 49.5M downloads a month, 5.4× more than partial-json-parser.
- json-repair also has the best Pythie’s Index (85).
- json-repair is growing fastest: downloads +34% over the last month.
- Safe default for a new project: json-repair.
Side by side
| Metric | json-repair | partial-json-parser | partialjson |
|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 85 | 19 |