Skip to main content

Datapane client library and CLI tool

Project description

Datapane

Datapane.com | Documentation | Twitter

Pip Downloads Latest release Latest release Latest release

Datapane is a Python library which makes it simple to build reports from the common objects in your data analysis, such as pandas DataFrames, plots from Python visualisation libraries, and Markdown.

Reports can be exported as standalone HTML documents, with rich components which allow data to be explored and visualisations to be used interactively.

For example, if you wanted to create a report with a table viewer and an interactive plot:

import pandas as pd
import altair as alt
import datapane as dp

df = pd.read_csv('https://query1.finance.yahoo.com/v7/finance/download/GOOG?period2=1585222905&interval=1mo&events=history')

chart = alt.Chart(df).encode(
    x='Date:T',
    y='Open'
).mark_line().interactive()

r = dp.Report(dp.Table(df), dp.Plot(chart))
r.save(path='report.html', open=True)

This would package a standalone HTML report such as the following, with an searchable Table and Plot component.

Report Example

Getting Started

Components

Datapane currently contains the following components. Need something different? Open an issue (or make a PR!)

Component Description Supported Formats Example
Table A searchable, sortable table component for datasets. Supports up to 10m cells. Pandas DataFrames, JSON documents, Local CSV files Table(df)
Plot A wrapper for plots from Python visualisation libraries. Altair, Bokeh, Matplotlib, SVG Plot(altair_chart)
Markdown A simple Markdown component to document your report. Markdown, Text Markdown("# My fun title")

Datapane.com

In addition to the this local library, Datapane.com provides an API and hosted platform which allows you to:

  1. Upload Jupyter Notebooks and Python scripts, so that other people can run them in their browser with parameters to generate reports dynamically
  2. Share and embed reports online -- either publicly, or privately within your team

Joining the community

Looking to get answers to questions or engage with us and the wider community? Our community is most active on our Discourse Forum. Submit requests, issues, and bug reports on this GitHub repo, or join us by contributing on some good first issues on this repo.

We look forward to building an amazing open source community with you!

Project details


Release history Release notifications | RSS feed

This version

0.8.5

Download files

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

Source Distribution

datapane-0.8.5.tar.gz (1.4 MB view details)

Uploaded Source

Built Distribution

datapane-0.8.5-py3-none-any.whl (1.4 MB view details)

Uploaded Python 3

File details

Details for the file datapane-0.8.5.tar.gz.

File metadata

  • Download URL: datapane-0.8.5.tar.gz
  • Upload date:
  • Size: 1.4 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.0.10 CPython/3.8.6 Linux/5.4.0-1031-azure

File hashes

Hashes for datapane-0.8.5.tar.gz
Algorithm Hash digest
SHA256 2ed2a8db49423f7d63dea7141c74376ab048b292d1c1bf61e2af6c14bfae16f4
MD5 721be63185838cbee0d429652cc71b0f
BLAKE2b-256 c28713270bdb006c979d43711b0390138e03ccc14a98d7b26c265842db38f18e

See more details on using hashes here.

File details

Details for the file datapane-0.8.5-py3-none-any.whl.

File metadata

  • Download URL: datapane-0.8.5-py3-none-any.whl
  • Upload date:
  • Size: 1.4 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.0.10 CPython/3.8.6 Linux/5.4.0-1031-azure

File hashes

Hashes for datapane-0.8.5-py3-none-any.whl
Algorithm Hash digest
SHA256 a1e0f91d390be82471a94799faf6cab6e48ca5bc14e4497911a252d90c9f5422
MD5 b0a97eae8b9a78bf3c9ae15a3359cb8e
BLAKE2b-256 006ee684d2abfa7aabf61781679eae4fddd92387fc4c854ca35b1c6844edb9d3

See more details on using hashes here.

Supported by

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