Comparison
deflate-dict vs flatdict vs flatten-json vs json-flattener
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-dictPython module for interacting with nested dicts as a single level dict with delimited keys.
Maintained. Last release 10 months ago, commits in 1 of the last 26 weeks. Weaker on commit activity and release cadence.
pip install flatdictFlatten 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-jsonPython library for denormalizing nested dicts or json objects to tables and back
Likely abandoned. No release or commit for years (last release over 4 years ago).
pip install json-flattenerIn short
- flatten-json is slowing down (last release over 3 years ago): fine for existing code, risky for a new project.
- json-flattener looks abandoned: avoid it for new projects.
- flatdict is the most used: 1.6M downloads a month.
- flatdict also has the best Pythie’s Index (43).
- flatdict is growing fastest: downloads +19% over the last month.
Side by side
| Metric | deflate-dict | flatdict | flatten-json | json-flattener |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 18 | Pythie’s Index: 43 | Pythie’s Index: 25 | Pythie’s Index: 13 |
| Verdict | Low maintenance activity | Maintained | Slowing down | Likely abandoned |
| Downloads / month | 90.5K | 1.6M | 2.7M | 1.3M |
| Downloads, month over month | -1% | +19% | -5% | +46% |
| GitHub stars | 2 | 116 | 555 | 12 |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 2 | 68 | 69 | 4 |
| Last release | Oct 26, 2024 | Feb 15, 2026 | Oct 27, 2023 | Feb 26, 2022 |
| Releases, 12 months | 0 | 1 | 0 | 0 |
| Weeks with commits | 2 / 26 | 1 / 26 | 0 / 26 | 0 / 26 |
| Recent contributors | 1 | 6 | 15 | 2 |
| First release | May 2019 | Aug 2012 | Apr 2016 | Jul 2021 |
| Python versions | – | 3.10 – 3.14 | – | – |
| License | MIT | BSD-3-Clause | MIT | non-standard |
| Known vulnerabilities | None | None | None | None |
Bold marks the best value in each row. Pythie’s Index rates maintenance out of 100: how it works.