Comparison
jsonlines vs ndjson vs orjsonl
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Library with helpers for the jsonlines file format
Slowing down. Last release over 3 years ago, little activity since. Fine for existing code; think twice for a new project.
$
pip install jsonlinesJsonDecoder for ndjson
Likely abandoned. No release or commit for years (last release over 6 years ago).
$
pip install ndjsonA lightweight, high-performance Python library for parsing jsonl files.
Slowing down. Last release over 3 years ago, little activity since. Fine for existing code; think twice for a new project.
$
pip install orjsonlIn short
- jsonlines is slowing down (last release over 3 years ago): fine for existing code, risky for a new project.
- ndjson looks abandoned: avoid it for new projects.
- orjsonl is slowing down (last release over 3 years ago): fine for existing code, risky for a new project.
Side by side
| Metric | jsonlines | ndjson | orjsonl |
|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 17 | Pythie’s Index: 14 | Pythie’s Index: 18 |
| Verdict | Slowing down | Likely abandoned | Slowing down |
| Downloads / month | 14.9M | 1.5M | 142.1K |
| Downloads, month over month | -1% | +3% | +162% |
| GitHub stars | 303 | 71 | 55 |
| Stars, last 7 days | – | – | – |
| Direct dependents | 339 | 55 | 10 |
| Last release | Sep 1, 2023 | Feb 25, 2020 | Nov 9, 2023 |
| Releases, 12 months | 0 | 0 | 0 |
| Weeks with commits | 0 / 26 | 0 / 26 | 0 / 26 |
| Recent contributors | 9 | 4 | 2 |
| First release | Mar 2015 | May 2018 | Nov 2022 |
| Python versions | – | 3.5 – 3.7 | 3.7 – 3.12 |
| License | BSD-3-Clause | GPL-3.0 | 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.