Lightning talk delivered at PyCon 2018, offers a quick introduction to the Python library glom. Video here: https://www.youtube.com/watch?v=3aREXkfeWek
Restructuring Datain PythonMahmoud Hashemi - PyCon 2018
View Slide
“Flat is better than nested.— Tim PetersPEP20(The Zen of Python)2
“ Namespaces are onehonking great idea—let’sdo more of those!— Also Tim PetersPEP20(The Zen of Python)3
4...
glom!Python’s nested data operatorhttp://github.com/mahmoud/glom5
Path-based declarative access6
Readable, meaningful error messages7
Declarative data transformation8
Features:● Path-based access● Declarative data transformation● Readable, meaningful error messages● Built-in data exploration and debugging● Command-line tool○ Like jq, but you no DSL, just Python9
10Thanks!pip install glomsedimental.org@mhashemiOpen Session Tomorrow 5/12 at 4pm