Comparison
deflate-dict vs flatten-dict vs flatten-json
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Package to deflate and inflate dictionaries.
Low maintenance activity. Last release over 2 years ago, commits in 2 of the last 26 weeks. Weaker on commit activity and recent releases.
$
pip install deflate-dictA flexible utility for flattening and unflattening dict-like objects in Python.
Maintained. Last release 3 weeks ago, commits in 2 of the last 26 weeks. Weaker on commit activity and release cadence.
$
pip install flatten-dictFlatten JSON objects
Slowing down. Last release over 3 years ago, little activity since. Fine for existing code; think twice for a new project.
$
pip install flatten-jsonIn short
- flatten-json is slowing down (last release over 3 years ago): fine for existing code, risky for a new project.
- flatten-dict is the most used: 3.8M downloads a month.
- flatten-dict also has the best Pythie’s Index (53).
Side by side
| Metric | deflate-dict | flatten-dict | flatten-json |
|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 18 | Pythie’s Index: 53 | Pythie’s Index: 25 |
| Verdict | Low maintenance activity | Maintained | Slowing down |
| Downloads / month | 87K | 3.8M | 2.6M |
| Downloads, month over month | -7% | +0% | -9% |
| GitHub stars | 2 | 185 | 555 |
| Stars, last 7 days | – | – | – |
| Direct dependents | 2 | 91 | 69 |
| Last release | Oct 26, 2024 | Nov 14, 2026 | Oct 27, 2023 |
| Releases, 12 months | 0 | 2 | 0 |
| Weeks with commits | 2 / 26 | 2 / 26 | 0 / 26 |
| Recent contributors | 1 | 13 | 15 |
| First release | May 2019 | Dec 2016 | Apr 2016 |
| Python versions | – | 3.10 – 3.14 | – |
| 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.