{"id":16393518,"url":"https://github.com/iamaziz/lookml_visualizer","last_synced_at":"2025-10-26T14:30:23.549Z","repository":{"id":62576874,"uuid":"325169535","full_name":"iamaziz/lookml_visualizer","owner":"iamaziz","description":"Visualize LookML contents as a network diagram in an interactive Plotly figure.","archived":false,"fork":false,"pushed_at":"2021-01-06T04:34:41.000Z","size":23425,"stargazers_count":5,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-31T20:11:14.549Z","etag":null,"topics":["looker","lookml","networkx-graph","plotly"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/iamaziz.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-12-29T02:48:40.000Z","updated_at":"2023-04-30T17:23:44.000Z","dependencies_parsed_at":"2022-11-03T19:07:59.835Z","dependency_job_id":null,"html_url":"https://github.com/iamaziz/lookml_visualizer","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iamaziz%2Flookml_visualizer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iamaziz%2Flookml_visualizer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iamaziz%2Flookml_visualizer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iamaziz%2Flookml_visualizer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/iamaziz","download_url":"https://codeload.github.com/iamaziz/lookml_visualizer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238337701,"owners_count":19455359,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["looker","lookml","networkx-graph","plotly"],"created_at":"2024-10-11T04:53:29.309Z","updated_at":"2025-10-26T14:30:22.243Z","avatar_url":"https://github.com/iamaziz.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# LookML Network Visualizer\n\n[![pypi package](https://img.shields.io/pypi/v/lookml_visualizer.svg)](https://pypi.org/project/lookml_visualizer/)\n\n**TL;DR** Visualize [LookML](https://docs.looker.com/data-modeling/learning-lookml/what-is-lookml) contents as a network diagram in an interactive Plotly figure.\n\nBuilt on top of `lookml-tools`'s [grapher](https://github.com/ww-tech/lookml-tools/blob/master/lkmltools/grapher/lookml_grapher.py). Requires NetworkX, graphviz, and Plotly.\n\n### Getting Started\n\n```python\nfrom lookml_visualizer import PlotNetwork\n\nnetwork = PlotNetwork(lkml_paths=['./my_lookml_project/*.lkml'])\n```\n\nTo save the interactive plot as an HTML file:\n\n```python\nnetwork.fig.save_to_html(output_name='my_lookml_network.html')\n```\n\n### Examples\n\nExample1: A tiny project\n\n![](./examples/lookml_visualizer_sample1.gif)\n\nExample2: A large project\n\n![](./examples/lookml_visualizer_sample2.gif)\n\n\u003chr\u003e\n\n**Plot layouts**\n\nThe network plot can have different layouts. The following example shows how to pass a different plot layout:\n\n```python\nnetwork = PlotNetwork(paths, plot_layout='fdp')\n```\nwhich will display the same network in example 2 (above) in this layout:\n![image](https://user-images.githubusercontent.com/3298308/103260846-2838b500-496d-11eb-9f01-ab15704983e6.png)\n\n\u003e `plot_layout` options: 'dot', 'twopi', 'fdp', 'sfdp', 'circo'\n\n### Install\n\n```bash\n$ pip install lookml_visualizer\n```\nAlso, if not installed, need to install PyGraphviz\n\n```bash\n$ brew install graphviz\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiamaziz%2Flookml_visualizer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fiamaziz%2Flookml_visualizer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiamaziz%2Flookml_visualizer/lists"}