Skip to main content

Build interactive HTML reports from Python. Fork of the original Datapane project.

Project description

Data In Pane

Forked from 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

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.

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).

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

datainpane-0.17.0.tar.gz (197.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

datainpane-0.17.0-py3-none-any.whl (76.9 kB view details)

Uploaded Python 3

File details

Details for the file datainpane-0.17.0.tar.gz.

File metadata

  • Download URL: datainpane-0.17.0.tar.gz
  • Upload date:
  • Size: 197.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.10 {"installer":{"name":"uv","version":"0.9.10"},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for datainpane-0.17.0.tar.gz
Algorithm Hash digest
SHA256 39e620e39e75838cb59c43c6a736efe8940ce63016df3a234f86c69b8596e6f2
MD5 3d88452e5548b9f41d1fce5e8fc042a4
BLAKE2b-256 cfb3e788e46975164a78c6634060b5790475462b17dce76a3dc7d90a22b4d475

See more details on using hashes here.

File details

Details for the file datainpane-0.17.0-py3-none-any.whl.

File metadata

  • Download URL: datainpane-0.17.0-py3-none-any.whl
  • Upload date:
  • Size: 76.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.10 {"installer":{"name":"uv","version":"0.9.10"},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for datainpane-0.17.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d90200af7b44caac2fd156e270d99aa22fbcf31ea98b8b9bf410b351fee734c4
MD5 ea6a42ac5dee332c23278672c189925b
BLAKE2b-256 388257f5f653714c36e42db209bb206e2106455e072e70ea85e99de185457cb8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page