flatdict

Python module for interacting with nested dicts as a single level dict with delimited keys.

BSD-3-CLAUSE License

Downloads
901.6K
Stars
109
Committers
11
flatdict - Goodbye Python 2 Latest Release

Published by gmr over 4 years ago

  • FIXED deprecation warning from Python 3.9 (#40 nugend)
  • FIXED keep order of received dict and it's nested objects (#38 wsantos)
  • Drops Python 2 support and Python 3.4
flatdict - What 2.0 Should Have Been

Published by gmr over 6 years ago

  • CHANGED FlatDict.as_dict to return the nested data structure based upon delimiters, coercing FlatDict objects to dict.
  • CHANGED FlatDict to extend collections.MutableMapping instead of dict
  • CHANGED dict(FlatDict()) to return a shallow dict instance with the delimited keys as strings
  • CHANGED FlatDict.__eq__ to only evaluate against dict or the same class
  • FIXED FlatterDict behavior to match expectations from pre-2.0 releases.