Skip to main content

Datapane

Docs | Examples |

GitHub Stars Pip Downloads Latest release Conda (channel only)

Note: Datapane is no longer actively maintained.

We've made the difficult decision to stop driving this project and therefore we will no longer actively respond to issues or pull requests. If you would like to take over maintaining this project independently, please let us know so we can add a link to your forked project here.

The final release, 0.17.0, has been optimized to focus on free local report saving, with unused features and analytics removed, and libraries updated to allow usage for as long as possible.

Thank You.

Overview

Build interactive reports in seconds using Python.

Datapane makes it simple to build interactive reports in seconds using Python.

Import Datapane's Python library into your script or notebook and build reports programmatically by wrapping components such as:

  • Pandas DataFrames
  • Plots from Python visualization libraries such as Bokeh, Altair, Plotly, and Folium
  • Markdown and text
  • Files, such as images, PDFs, JSON data, etc.
  • Interactive forms which run backend Python functions

Datapane reports are interactive and can also contain pages, tabs, drop downs, and more. Once created, reports can be exported as HTML, shared as standalone files, or embedded into your own application, where your viewers can interact with your data and visualizations.

Gallery

Check out example reports:

Getting Started

Check out our Quickstart to build a report in 3m.

Installing Datapane

The best way to install Datapane is through pip or conda.

pip

$ pip3 install -U datapane

conda

$ conda install -c conda-forge "datapane>=0.17.0"

Datapane also works well in hosted Jupyter environments such as Colab or Binder, where you can install as follows:

!pip3 install --quiet datapane

Examples

📊 Share plots, data, and more as reports

Create reports from pandas DataFrames, plots from your favorite libraries, and text.

Simple Datapane app example with text, plot and table

import altair as alt
from vega_datasets import data
import datapane as dp

df = data.iris()
fig = (
    alt.Chart(df)
    .mark_point()
    .encode(
        x="petalLength:Q",
        y="petalWidth:Q",
        color="species:N"
    )
)
view = dp.Blocks(
    dp.Plot(fig),
    dp.DataTable(df)
)
dp.save_report(view, path="my_app.html")

🎛 Layout using interactive blocks

Add dropdowns, selects, grid, pages, and 10+ other interactive blocks.

Complex layout

...

view = dp.Blocks(
    dp.Formula("x^2 + y^2 = z^2"),
    dp.Group(
        dp.BigNumber(
            heading="Number of percentage points",
            value="84%",
            change="2%",
            is_upward_change=True
        ),
        dp.BigNumber(
            heading="Simple Statistic", value=100
        ), columns=2
    ),
    dp.Select(
        dp.Plot(fig, label="Chart"),
        dp.DataTable(df, label="Data")
    ),
)
dp.save_report(view, path="layout_example.html")

Next Steps

Metadata

Release files for datapane 0.17.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for datapane 0.17.0
File Size Uploaded
datapane-0.17.0.tar.gz 117.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for datapane 0.17.0
File Interpreter ABI Platform
datapane-0.17.0-py3-none-any.whl Python 3 none any Details

Total release size: 260.7 kB

Release files / datapane-0.17.0.tar.gz

Download URL datapane-0.17.0.tar.gz
Size 117.1 kB
Tags Source
SHA-256 checksum
How to use checksums
6b44cc18df4b4bfd2f39d9220aafcfad7aed82e330d2af44817847e8bbaf41c5
BLAKE2b-256 checksum
How to use checksums
3c9b0a0ca6add40fe174f0b22dca4736f5d241d9e839b613cb258b80d5861bd9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.4.2 CPython/3.10.13 Linux/5.15.0-1041-azure

Release files / datapane-0.17.0-py3-none-any.whl

Download URL datapane-0.17.0-py3-none-any.whl
Size 143.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1574cb3be8270eb0c563080fefe64dca92948f44700a8169673afbd565272e71
BLAKE2b-256 checksum
How to use checksums
a76deec9aaf4dd52751dddb2f155ba0fb8d530065a0ba067a89f38ee4cb34bb0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.4.2 CPython/3.10.13 Linux/5.15.0-1041-azure

Release history Release notifications | RSS feed

This release

0.17.0 This release

2 release files

0.16.7

2 release files

0.16.6

2 release files

0.16.5

2 release files

0.16.4

2 release files

0.16.2

2 release files

0.16.1

2 release files

0.16.0

2 release files

0.15.7

2 release files

0.15.5

2 release files

0.15.4

2 release files

0.15.3

2 release files

0.15.2

2 release files

0.15.1

2 release files

0.15.0

2 release files

0.13.2

2 release files

0.13.1

2 release files

0.12.2

2 release files

0.12.1

2 release files

0.12.0

2 release files

0.11.5

2 release files

0.11.4

2 release files

0.11.3

2 release files

0.11.2

2 release files

0.11.1

2 release files

0.11.0

2 release files

0.10.5

2 release files

0.10.4

2 release files

0.10.3

2 release files

0.10.1

2 release files

0.10.0

2 release files

0.9.2

2 release files

0.9.1

2 release files

0.9.0

2 release files

0.8.6

2 release files

0.8.5

2 release files

0.8.3

2 release files

0.8.2

2 release files

0.8.1

2 release files

0.8.0

2 release files

0.7.4

2 release files

0.7.2

2 release files

0.7.1

2 release files

0.7.0

2 release files

0.6.12

2 release files

0.6.8

2 release files

0.6.7

2 release files

0.6.6

1 release file

0.6.5

1 release file

0.6.4

1 release file

0.6.2

1 release file

0.6.1

1 release file

0.6.0

1 release file

0.4.11

1 release file

0.4.10

1 release file

0.4.6

1 release file

0.3.14

1 release file

0.3.8

1 release file

0.3.7

1 release file

0.3.6

1 release file

0.2.138

1 release file

0.2.137

1 release file

0.2.136

1 release file

0.2.135

1 release file

0.2.129

1 release file

0.2.123

1 release file

0.2.111

1 release file

0.2.102

1 release file

0.2.101

1 release file

0.2.93

1 release file

0.2.82

1 release file

0.2.76

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page