alhankeser/lkml-parser
A faster LookML parser
Created without knowledge of parsers or the language its written in, this parser has only one goal: be faster than lkml.
Assuming you have Zig installed, build the zig executable:
zig build-exe main.zig -O ReleaseFast
Use it inside of Python:
import json
import subprocess
view_as_json = subprocess.check_output(["./main", "customer.view.lkml"]).decode('utf-8')
view_as_dict = json.loads(view_as_json)