lkml


Namelkml JSON
Version 1.3.6 PyPI version JSON
download
home_pagehttps://github.com/joshtemple/lkml
SummaryA speedy LookML parser implemented in pure Python.
upload_time2024-11-21 21:32:01
maintainerNone
docs_urlNone
authorJosh Temple
requires_pythonNone
licenseMIT
keywords lookml looker parser
VCS
bugtrack_url
requirements black flake8 isort mypy pytest-cov pytest requests tox
Travis-CI No Travis.
coveralls test coverage No coveralls.
            [![CircleCI](https://img.shields.io/circleci/build/github/joshtemple/lkml.svg)](https://circleci.com/gh/joshtemple/lkml)
[![Codecov](https://img.shields.io/codecov/c/github/joshtemple/lkml.svg)](https://codecov.io/gh/joshtemple/lkml)
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)
[![Read the Docs](https://img.shields.io/readthedocs/lkml)](https://lkml.readthedocs.io/en/latest/)

# lkml

A speedy LookML parser and serializer implemented in pure Python.

**Read the documentation on [Read the Docs](https://lkml.readthedocs.io/en/latest/).**

`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](CONTRIBUTING.md).

## How do I install it?

`lkml` is available to install on [pip](https://pypi.org/project/lkml/) via the following command:

```
pip install lkml
```


            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/joshtemple/lkml",
    "name": "lkml",
    "maintainer": null,
    "docs_url": null,
    "requires_python": null,
    "maintainer_email": null,
    "keywords": "lookml looker parser",
    "author": "Josh Temple",
    "author_email": null,
    "download_url": "https://files.pythonhosted.org/packages/54/ac/764931312aed2ad611b2ef0c6b1291f685f54ac9a3610096b965f2ecf715/lkml-1.3.6.tar.gz",
    "platform": null,
    "description": "[![CircleCI](https://img.shields.io/circleci/build/github/joshtemple/lkml.svg)](https://circleci.com/gh/joshtemple/lkml)\n[![Codecov](https://img.shields.io/codecov/c/github/joshtemple/lkml.svg)](https://codecov.io/gh/joshtemple/lkml)\n[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)\n[![Read the Docs](https://img.shields.io/readthedocs/lkml)](https://lkml.readthedocs.io/en/latest/)\n\n# lkml\n\nA speedy LookML parser and serializer implemented in pure Python.\n\n**Read the documentation on [Read the Docs](https://lkml.readthedocs.io/en/latest/).**\n\n`lkml.load` parses LookML strings to Python objects or JSON strings. `lkml.dump` serializes (generates) LookML strings from Python objects.\n\nWhy should you use `lkml`?\n- Tested on **over 160K lines of LookML** from public repositories on GitHub\n- Parses a typical view or model file in < **10 ms** (excludes I/O time)\n- Written in pure, modern Python 3.7 with **no external dependencies**\n- A **full unit test suite** with excellent coverage\n\nInterested in contributing to `lkml`? Check out the [contributor guidelines](CONTRIBUTING.md).\n\n## How do I install it?\n\n`lkml` is available to install on [pip](https://pypi.org/project/lkml/) via the following command:\n\n```\npip install lkml\n```\n\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "A speedy LookML parser implemented in pure Python.",
    "version": "1.3.6",
    "project_urls": {
        "Download": "https://github.com/joshtemple/lkml/tarball/1.3.6",
        "Homepage": "https://github.com/joshtemple/lkml"
    },
    "split_keywords": [
        "lookml",
        "looker",
        "parser"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "d7c1e65843b2bed96b764e270a29478f0e10f2a94b0aa24d3e667e4f7c9d35bd",
                "md5": "63ff77763b5329f14a410a3189066021",
                "sha256": "1f68a44ba7935d56cd34514af7901a68b855328d09cf271ed54f9f2c520df217"
            },
            "downloads": -1,
            "filename": "lkml-1.3.6-py2.py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "63ff77763b5329f14a410a3189066021",
            "packagetype": "bdist_wheel",
            "python_version": "py2.py3",
            "requires_python": null,
            "size": 22955,
            "upload_time": "2024-11-21T21:31:58",
            "upload_time_iso_8601": "2024-11-21T21:31:58.403515Z",
            "url": "https://files.pythonhosted.org/packages/d7/c1/e65843b2bed96b764e270a29478f0e10f2a94b0aa24d3e667e4f7c9d35bd/lkml-1.3.6-py2.py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "54ac764931312aed2ad611b2ef0c6b1291f685f54ac9a3610096b965f2ecf715",
                "md5": "7c078aa7f627b5a380e5a495f84518a4",
                "sha256": "a1467799bcabe420ec3f238898b21e5be15b2cf8ecb741e28310d9761498673b"
            },
            "downloads": -1,
            "filename": "lkml-1.3.6.tar.gz",
            "has_sig": false,
            "md5_digest": "7c078aa7f627b5a380e5a495f84518a4",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 28956,
            "upload_time": "2024-11-21T21:32:01",
            "upload_time_iso_8601": "2024-11-21T21:32:01.148725Z",
            "url": "https://files.pythonhosted.org/packages/54/ac/764931312aed2ad611b2ef0c6b1291f685f54ac9a3610096b965f2ecf715/lkml-1.3.6.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-11-21 21:32:01",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "joshtemple",
    "github_project": "lkml",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "circle": true,
    "requirements": [
        {
            "name": "black",
            "specs": [
                [
                    "==",
                    "22.3.0"
                ]
            ]
        },
        {
            "name": "flake8",
            "specs": [
                [
                    "==",
                    "3.8.3"
                ]
            ]
        },
        {
            "name": "isort",
            "specs": [
                [
                    "==",
                    "4.3.20"
                ]
            ]
        },
        {
            "name": "mypy",
            "specs": [
                [
                    "==",
                    "0.782"
                ]
            ]
        },
        {
            "name": "pytest-cov",
            "specs": [
                [
                    "==",
                    "2.7.1"
                ]
            ]
        },
        {
            "name": "pytest",
            "specs": [
                [
                    "==",
                    "6.0.1"
                ]
            ]
        },
        {
            "name": "requests",
            "specs": [
                [
                    "==",
                    "2.24.0"
                ]
            ]
        },
        {
            "name": "tox",
            "specs": [
                [
                    "==",
                    "3.20.1"
                ]
            ]
        }
    ],
    "tox": true,
    "lcname": "lkml"
}
        
Elapsed time: 0.38794s