Metadata-Version: 2.4
Name: inara
Version: 0.1.1
Summary: Display Helpers in Jupyter, VSCode, and Databricks Notebooks for JSON and XML data. This is like IPython.display.JSON but also works in VSCode and Databricks.
Author-email: Philipp Thomann <philipp.thomann@d-one.ai>
License-Expression: Apache-2.0
Requires-Python: >=3.9.0
Description-Content-Type: text/markdown
License-File: LICENSE
Provides-Extra: dev
Requires-Dist: build; extra == "dev"
Provides-Extra: all
Requires-Dist: pillow; extra == "all"
Dynamic: license-file

# Inara - helper for displaying JSON, XML, Images in all kinds of notebooks

Use in any Notebook (Jupyter, VSCode, Databricks) to display dicts/jsons and XML:
```python
from inara import displayJSON, displayXML, displayImage, image_frames
displayJSON(dict(data='driven',value=dict(cre='ation'), location=dict(ch="Zurich", gr="Athens")))
displayXML("""<?xml version="1.0"?>
<data>
    <country name="Liechtenstein">
        <rank>1</rank>
        <year>2008</year>
        <gdppc>141100</gdppc>
        <neighbor name="Austria" direction="E"/>
        <neighbor name="Switzerland" direction="W"/>
    </country>
    <country name="Singapore">
        <rank>4</rank>
        <year>2011</year>
        <gdppc>59900</gdppc>
        <neighbor name="Malaysia" direction="N"/>
    </country>
</data>
""")
```

And for images use:
```python
displayImage(image, width=500)
# or with an array of images e.g. from a multi-frame TIF
displayImage(image_frames(image_tif), width=500)
```

