Metadata-Version: 2.1
Name: datapane
Version: 0.9.2
Summary: Datapane client library and CLI tool
Home-page: https://www.datapane.com
License: Apache-2.0
Keywords: data,analysis,jupyter,pandas,altair
Author: Datapane Team
Author-email: dev@datapane.com
Requires-Python: >=3.6.1,<4.0.0
Classifier: Development Status :: 2 - Pre-Alpha
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
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Topic :: Software Development
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Dist: PyYAML (>=5.3.0,<6.0.0)
Requires-Dist: altair (>=4.0.0,<5.0.0)
Requires-Dist: bleach (>=3.2.1,<4.0.0)
Requires-Dist: bokeh (==2.0.0)
Requires-Dist: boltons (>=20.2.1,<21.0.0)
Requires-Dist: click (>=7.0.0,<8.0.0)
Requires-Dist: click-spinner (>=0.1.8,<0.2.0)
Requires-Dist: colorlog (>=4.1.0,<5.0.0)
Requires-Dist: dacite (>=1.5.0,<2.0.0)
Requires-Dist: dataclasses (==0.7); python_version >= "3.6.1" and python_version < "3.7.0"
Requires-Dist: dominate (>=2.4.0,<3.0.0)
Requires-Dist: flit-core (>=3.0.0,<3.1.0)
Requires-Dist: folium (>=0.11.0,<0.12.0)
Requires-Dist: furl (>=2.1.0,<3.0.0)
Requires-Dist: glom (>=20.11.0,<21.0.0)
Requires-Dist: importlib_resources (>=3.0.0,<4.0.0)
Requires-Dist: jinja2 (>=2.11.1,<3.0.0)
Requires-Dist: jsonschema (>=3.2.0,<4.0.0)
Requires-Dist: lxml (>=4.5.2,<5.0.0)
Requires-Dist: matplotlib (>=3.1.0,<4.0.0)
Requires-Dist: micawber (>=0.5.2,<0.6.0)
Requires-Dist: munch (>=2.5.0,<3.0.0)
Requires-Dist: nbconvert (>=6.0.0,<6.1.0)
Requires-Dist: numpy (>=1.18.0,<2.0.0)
Requires-Dist: packaging (>=20.3,<21.0)
Requires-Dist: pandas (>=1.0.1,<2.0.0)
Requires-Dist: plotly (>=4.8.1,<5.0.0)
Requires-Dist: pyarrow (>=2.0.0,<3.0.0)
Requires-Dist: requests (>=2.20.0,<3.0.0)
Requires-Dist: requests-toolbelt (>=0.9.1,<0.10.0)
Requires-Dist: ruamel.yaml (>=0.16.5,<0.17.0)
Requires-Dist: stringcase (>=1.2.0,<2.0.0)
Requires-Dist: tabulate (>=0.8.7,<0.9.0)
Requires-Dist: toolz (>=0.11.1,<0.12.0)
Requires-Dist: validators (>=0.18.0,<0.19.0)
Project-URL: Documentation, https://docs.datapane.com
Project-URL: Repository, https://www.github/datapane/datapane
Description-Content-Type: text/markdown

<p align="center">
  <a href="https://datapane.com">
    <img src="https://datapane.com/static/datapane-logo-dark.png" width="250px" alt="Datapane" />
  </a>
</p>
<p align="center">
    <a href="https://datapane.com">Datapane.com</a> |
    <a href="https://docs.datapane.com">Documentation</a> |
    <a href="https://twitter.com/datapaneapp">Twitter</a>
    <br /><br />
    <a href="https://pypi.org/project/datapane/">
        <img src="https://img.shields.io/pypi/dm/datapane?label=pip%20downloads" alt="Pip Downloads" />
    </a>
    <a href="https://pypi.org/project/datapane/">
        <img src="https://img.shields.io/pypi/v/datapane?color=blue" alt="Latest release" />
    </a>
    <a href="https://anaconda.org/conda-forge/datapane">
        <img src="https://anaconda.org/conda-forge/datapane/badges/version.svg" alt="Latest release" />
    </a>
    <img src="https://github.com/datapane/datapane-hosted/workflows/Test%20%5BDP%20CLI%5D/badge.svg" alt="Latest release" />
</p>

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:

```python
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.DataTable(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](https://i.imgur.com/RGp7RzM.png)

# Getting Started

- [Read the documentation](https://docs.datapane.com)
- [View samples and demos](https://github.com/datapane/datapane-demos/)

# 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
1. 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!

