Metadata-Version: 2.4
Name: datainpane
Version: 0.17.0
Summary: Build interactive HTML reports from Python. Fork of the original Datapane project.
Project-URL: Homepage, https://www.datainpane.com
Project-URL: Repository, https://github.com/pallavbakshi/datapane
Project-URL: Documentation, https://docs.datainpane.com
Project-URL: Original Project, https://github.com/datapane/datapane
Author-email: Data In Pane Team <dev@datainpane.com>
License-Expression: Apache-2.0
License-File: LICENSE
License-File: NOTICE
Keywords: altair,analysis,data,datapane,jupyter,pandas,report
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Natural Language :: English
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Topic :: Software Development
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Python: >=3.12
Requires-Dist: altair<6.0.0,>=5.0.0
Requires-Dist: chardet<6.0.0,>=5.0.0
Requires-Dist: colorlog<7.0.0,>=6.4.0
Requires-Dist: dominate<3.0.0,>=2.7.0
Requires-Dist: ipynbname>=2021.3.2
Requires-Dist: lxml<5.0.0,>=4.7.1
Requires-Dist: micawber>=0.5.3
Requires-Dist: multimethod<2.0.0,>=1.9.0
Requires-Dist: packaging>=21.0.0
Requires-Dist: pandas>=1.4.0
Requires-Dist: pyarrow>=9.0.0
Provides-Extra: cloud
Provides-Extra: plotting
Requires-Dist: bokeh<4.0.0,>=3.0.0; extra == 'plotting'
Requires-Dist: folium>=0.13.0; extra == 'plotting'
Requires-Dist: matplotlib<4.0.0,>=3.5.0; extra == 'plotting'
Requires-Dist: plotly<6.0.0,>=5.6.0; extra == 'plotting'
Description-Content-Type: text/markdown

# Data In Pane

> **Forked from [Datapane](https://github.com/datapane/datapane)** -- the original open-source Python library for building reports, created by the Datapane team (2019-2023). When the original project was discontinued, we forked it, modernized all dependencies, and rebranded it as **Data In Pane** so the community can keep using and building on it.

## What it does

Build interactive, self-contained HTML reports in Python. Wrap pandas DataFrames, plots (Bokeh, Altair, Plotly, Folium, Matplotlib), markdown, and files into shareable HTML reports -- no server required.

## Quick install

```
pip install datainpane
```

## Quick example

```python
import datainpane as dip
import pandas as pd

df = pd.DataFrame({"x": [1, 2, 3, 4], "y": [10, 20, 30, 40]})

view = dip.Blocks(
    dip.Text("## My Report"),
    dip.DataTable(df),
    dip.BigNumber(heading="Total", value="100"),
)
dip.save_report(view, path="report.html")
```

## Layout example

Combine Groups, Selects, formulas, and more for richer layouts.

```python
view = dip.Blocks(
    dip.Formula("x^2 + y^2 = z^2"),
    dip.Group(
        dip.BigNumber(heading="Accuracy", value="84%", change="2%", is_upward_change=True),
        dip.BigNumber(heading="Count", value=100),
        columns=2,
    ),
    dip.Select(
        dip.Plot(fig, label="Chart"),
        dip.DataTable(df, label="Data"),
    ),
)
dip.save_report(view, path="layout.html")
```

## What's new in the fork

- Python 3.12+ required
- pandas 2.x/3.x support (uncapped)
- Bokeh 3.x support
- Migrated from Poetry to uv
- Node 20+ for web components
- Dead cloud code removed
- CDN switched to jsDelivr (served from GitHub)
- Rebranded: `import datainpane as dip`

## Requirements

Python >= 3.12

## License

Apache 2.0 (same as the original Datapane project).
