Comparison
deflate-dict vs flatdict vs json-flatten vs unflatten
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 flatdictPython functions for flattening a JSON object to a single dictionary of pairs, and unflattening that dictionary back to a JSON object
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 json-flattenUnflatten 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
- flatdict is the most used: 1.6M downloads a month, 3.8× more than json-flatten.
- 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 | json-flatten | unflatten |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 18 | 43 |