mahmoud/glom ? reverse-engineered prompt
Reverse engineered prompt
Build me a small Python library and command line tool for working with nested data in a much easier way. I want to be able to point it at dictionaries, lists, and other nested objects, then grab values with simple path style expressions and also reshape the data into a new structure without writing a bunch of messy indexing code.
It should have friendly error messages when something is missing, plus a way to inspect and debug data from the terminal. I’d like a CLI where I can pass in a target file and a spec file, choose JSON or Python style input, and print the result nicely. Make the library feel clean and Pythonic, with good documentation and tests, so it works as both a package I can import and a tool I can use at the command line.
If you need current best practices for packaging or testing, look up the latest docs online.