Metadata-Version: 2.1
Name: lookml_visualizer
Version: 0.1
Summary: Visualize LookML relationships network as an interactive figure
Home-page: https://github.com/iamaziz/lookml_visualizer
License: UNKNOWN
Author: Aziz Alto
Author-email: iamaziz.alto@gmail.com
Description-Content-Type: text/markdown
Requires-Dist: lookml-tools>=2.0.5
Requires-Dist: networkx==2.5
Requires-Dist: plotly==4.14.1

# LookML Network Visualizer

**TL;DR** Visualize LookML contents as an interactive Plotly figure.

Built on top of `lookml-tools`'s [grapher](https://github.com/ww-tech/lookml-tools/blob/master/lkmltools/grapher/lookml_grapher.py). Requires NetworkX and Plotly.  

### Getting Started

```python
from lookml_visualizer import PlotNetwork

network = PlotNetwork(lkml_paths=['path-to-lkml-files'])
```

TODO: gif for the example output from Jupyter notebook


To save the interactive plot as an HTML file:

```python
network.fig.save_to_html(output_name='my_lookml_network.html')
```



### Install

```bash
$ pip install lookml_visualizer
```

