purarue / google_takeout_parser

A library/CLI tool to parse data out of your Google Takeout (History, Activity, Youtube, Locations, etc...)
https://pypi.org/project/google-takeout-parser/
MIT License
82 stars 14 forks source link

make internal types namedtuples #47

Closed purarue closed 1 year ago

purarue commented 1 year ago

2023-10-01--12_02_43

SELECT *
FROM cache
WHERE JSON_ARRAY_LENGTH(JSON_EXTRACT(data, '$[1].subtitles')) > 0;

these were previously just tuples because of https://github.com/karlicoss/cachew/issues/28, but now can be stored as dicts (which is nice since then you get the field names and its not just a tuple of data)