{"library":"dm-tree","type":"library","category":null,"description":"dm-tree (DeepMind Tree) is a lightweight Python library designed for working with nested data structures such as lists, tuples, and dictionaries. It provides functional tools like `map_structure`, `flatten`, and `unflatten` to apply operations across arbitrary tree-like data. The current stable version is 0.1.10, and it follows an infrequent release cadence focused on stability for its core functionalities.","language":"python","status":"active","version":"0.1.10","tags":["data structures","nested data","deepmind","functional programming","tree traversal"],"last_verified":"Wed May 20","install":[{"cmd":"pip install dm-tree","imports":["import tree","from tree import map_structure","from tree import flatten","from tree import unflatten"]}],"homepage":null,"github":"https://github.com/deepmind/tree","docs":null,"changelog":null,"pypi":"https://pypi.org/project/dm-tree/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"3.10–3.9","success_rate":50,"avg_install_s":3.5,"avg_import_s":0.12,"wheel_type":"wheel"},"url":"https://checklist.day/v1/registry/dm-tree/compatibility"}}