Restructuring Data in Python

Restructuring Data in Python

Lightning talk delivered at PyCon 2018, offers a quick introduction to the Python library glom. Video here: https://www.youtube.com/watch?v=3aREXkfeWek

B4bbc497062643a8913884e7aba305f2?s=128

Mahmoud Hashemi

May 11, 2018
Tweet

Transcript

  1. Restructuring Data in Python Mahmoud Hashemi - PyCon 2018

  2. “ Flat is better than nested. — Tim Peters PEP20 (The

    Zen of Python) 2
  3. “ Namespaces are one honking great idea—let’s do more of

    those! — Also Tim Peters PEP20 (The Zen of Python) 3
  4. 4 ...

  5. glom! Python’s nested data operator http:/ /github.com/mahmoud/glom 5

  6. Path-based declarative access 6

  7. Readable, meaningful error messages 7

  8. Declarative data transformation 8

  9. 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 Python 9
  10. 10 Thanks! pip install glom sedimental.org @mhashemi Open Session Tomorrow

    5/12 at 4pm