Metadata-Version: 2.1
Name: datapane
Version: 0.2.121
Summary: Datapane client library and CLI tool
Home-page: https://www.datapane.com
License: Proprietary
Keywords: datapane,data,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 :: Other/Proprietary 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 :: Build Tools
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Dist: PyYAML (>=5.3.0,<6.0.0)
Requires-Dist: altair (>=3.0.1)
Requires-Dist: altair-recipes (>=0.8.0)
Requires-Dist: bokeh (>=2.0.0,<3.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.2.0,<2.0.0)
Requires-Dist: dataclasses (==0.7); python_version >= "3.6.1" and python_version < "3.7.0"
Requires-Dist: jinja2 (>=2.11.1,<3.0.0)
Requires-Dist: jsonschema (>=3.2.0,<4.0.0)
Requires-Dist: matplotlib (>=3.1.0,<4.0.0)
Requires-Dist: munch (>=2.5.0,<3.0.0)
Requires-Dist: packaging (>=20.3,<21.0)
Requires-Dist: pandas (>=1.0.1,<2.0.0)
Requires-Dist: requests (>=2.22,<3.0)
Requires-Dist: ruamel.yaml (>=0.16.5,<0.17.0)
Requires-Dist: scikit-learn (>=0.22.1,<0.23.0)
Requires-Dist: seaborn (>=0.10.0,<0.11.0)
Requires-Dist: stringcase (>=1.2.0,<2.0.0)
Requires-Dist: tabulate (>=0.8.7,<0.9.0)
Requires-Dist: validators (>=0.14.0,<0.15.0)
Project-URL: Documentation, https://docs.datapane.com
Project-URL: Repository, https://www.github/datapane/datapane-cli
Description-Content-Type: text/markdown

# Datapane CLI and Python client library

[![image](https://img.shields.io/pypi/v/datapane.svg)](https://pypi.python.org/pypi/datapane)

Datapane is a platform to rapidly build and share data-driven reports and analysis publicly on the cloud and within your organisation.

This package includes both the Datapane Python client library, and the `datapane` command-line tool.

The `datapane` tool provides CLI functionality into creating Datapanes and running scriped Datapanes.

Available to download for Windows, macOS, and Linux. Free software under the Apache license.

Happy hacking! :)

### Docs

See https://docs.datapane.com/api/

### Install

```bash
$ pip3 install datapane
```

### Configure

```bash
$ datapane login
$ datapane ping
```

### Use

#### API

```python
from datapane import api

api.init()

ds = api.Dataset.upload_df(df)

s = api.Script.upload_file("./script.ipynb")

asset = api.Asset.upload_obj(my_matplotlib_figure)

api.Report.create(ds, asset)
```

#### Command line

```bash
# create a Dataset
$ datapane dataset upload ./test.csv --public
# create a Script
$ datapane script upload ./script.ipynb --title "My cool script"
# create a Datapane
$ datapane datapane create ./test.csv ./figure.png
```

