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.18.0.tar.gz (208.7 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.18.0-py3-none-any.whl (84.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: datainpane-0.18.0.tar.gz
  • Upload date:
  • Size: 208.7 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.18.0.tar.gz
Algorithm Hash digest
SHA256 26adc2c88967e7280c4339fecd244420000951db02da62a8afaf7922173c3ad7
MD5 315ce26c65e40c639997c57c90894acc
BLAKE2b-256 93622a8366713167e347bc7c07df44f22e87d8705accb77bdda4f08d0a8519c0

See more details on using hashes here.

File details

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

File metadata

  • Download URL: datainpane-0.18.0-py3-none-any.whl
  • Upload date:
  • Size: 84.2 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.18.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c21b6d1545f1653ad86dd2d4b0922389c3ba9779b11ac52070f61422bfd6adef
MD5 69e9d640183ee35702e73345b0712833
BLAKE2b-256 70abc9f03faaa832d587fce824ce38503c4f04d9b2e23d9933dd6ce4a76a253b

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