Comparison
flatten-json vs unflatten
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Flatten 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-jsonUnflatten dict to dict with nested dict/arrays
Low maintenance activity. Last release over 2 years ago, commits in 0 of the last 26 weeks. Weaker on commit activity and recent releases.
$
pip install unflattenIn short
- flatten-json is slowing down (last release over 3 years ago): fine for existing code, risky for a new project.
- unflatten is the most used: 72.3K downloads a month.
- unflatten also has the best Pythie’s Index (16).
Side by side
| Metric | flatten-json | unflatten |
|---|---|---|
| Pythie’s Index | Pythie’s Index: 25 | 16 |