Metadata-Version: 2.1
Name: dash-datatables
Version: 0.0.9
Summary: Dash wrapper for Datatables.net
Home-page: UNKNOWN
Author: Steve Jones <jonesst2608@gmail.com>
License: MIT
Platform: UNKNOWN
Classifier: Framework :: Dash
Description-Content-Type: text/markdown
License-File: LICENSE

# dash-datatables

Minimal [Dash](https://dash.plot.ly/) wrapper for the wonderful **[DataTables.net](https://datatables.net/)**

![](https://raw.githubusercontent.com/stevej2608/dash-datatables/main/docs/img/datatables.png)

**Code Snippet**
```
from dash import html
import dash_datatables as ddt

import pandas as pd

df = pd.read_csv('https://raw.githubusercontent.com/plotly/datasets/master/solar.csv')

column_defs = [{"title": i, "data": i} for i in df.columns]

layout = html.Div([
    html.H2('US Solar Capacity'),
    html.Br(),
    ddt.DashDatatables(
        columns=column_defs,
        data=df.to_dict('records'),
        width="100%",
        order=[2, 'asc'],
    )
])
```
## Installation

You can install *dash-datatables* with `pip`:

```
pip install dash-datatables
```

## Documentation

Head over to the [*README*][docs-homepage] for more details.

## Contributing

The source code for *dash-datatables* is available
[on GitHub][dash-datatables-repo]. If you find a bug or something is unclear, we encourage
you to raise an issue. We also welcome contributions, to contribute, fork the
repository and open a [pull request][dash-datatables-pulls].


[dash-homepage]: https://dash.plot.ly/
[dash-datatables-repo]: https://github.com/stevej2608/dash-datatables
[docs-homepage]: https://github.com/stevej2608/dash-datatables/blob/master/README.md
[dash-datatables-pulls]: https://github.com/stevej2608/dash-datatables/pulls


