lkml
A speedy LookML parser and serializer implemented in pure Python.
Read the documentation on Read the Docs.
lkml.load
parses LookML strings to Python objects or JSON strings. lkml.dump
serializes (generates) LookML strings from Python objects.
Why should you use lkml
?
- Tested on over 160K lines of LookML from public repositories on GitHub
- Parses a typical view or model file in < 10 ms (excludes I/O time)
- Written in pure, modern Python 3.7 with no external dependencies
- A full unit test suite with excellent coverage
Interested in contributing to lkml
? Check out the contributor guidelines.
How do I install it?
lkml
is available to install on pip via the following command:
pip install lkml