glom
Python's nested data operator
glom is a Python library and command-line tool for accessing, restructuring, and transforming nested data. It is designed for real-world data structures where dictionaries, objects, and lists are deeply nested and difficult to handle cleanly. Developers can use path-based access to retrieve values without writing long chains of fragile indexing code. The library also provides readable error messages, which makes debugging broken paths much easier. Its declarative specification style lets...