Comparison
commentjson vs json-with-comments vs jsonc-parser
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Add Python and JavaScript style comments in your JSON files.
Likely abandoned. No release or commit for years (last release over 6 years ago).
$
pip install commentjsonJSON with Comments (jsonc) for Python
Maintained. Last release 3 months ago, commits in 7 of the last 26 weeks. Weaker on release cadence and contributor spread.
$
pip install json-with-commentsA lightweight, native tool for parsing .jsonc files
Likely abandoned. No release or commit for years (last release over 5 years ago).
$
pip install jsonc-parserIn short
- commentjson looks abandoned: avoid it for new projects.
- jsonc-parser looks abandoned: avoid it for new projects.
- json-with-comments is the most used: 155.2K downloads a month.
- json-with-comments also has the best Pythie’s Index (58).
- json-with-comments is growing fastest: downloads +39% over the last month.
Side by side
| Metric | commentjson | json-with-comments | jsonc-parser |
|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 12 | Pythie’s Index: 58 | Pythie’s Index: 11 |
| Verdict | Likely abandoned | Maintained | Likely abandoned |
| Downloads / month | 1.2M | 155.2K | 343.9K |
| Downloads, month over month | -58% | +39% | +49% |
| GitHub stars | 108 | 21 | 17 |
| Stars, last 7 days | – | – | – |
| Direct dependents | 70 | 11 | 15 |
| Last release | Oct 5, 2020 | Aug 24, 2026 | May 23, 2021 |
| Releases, 12 months | 0 | 1 | 0 |
| Weeks with commits | 0 / 26 | 7 / 26 | 0 / 26 |
| Recent contributors | 8 | 5 | 5 |
| First release | Sep 2013 | Jul 2022 | Jan 2021 |
| Python versions | – | 3.8 – 3.15 | 3.5 – 3.9 |
| License | MIT | MIT | MIT |
| Known vulnerabilities | None | None | None |
Bold marks the best value in each row. Pythie’s Index rates maintenance out of 100: how it works.