Dash wrapper for Datatables.net
Project description
dash-datatables
Minimal Dash wrapper for the wonderful DataTables.net
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 for more details.
Contributing
The source code for dash-datatables is available on GitHub. 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.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
dash_datatables-0.0.9.tar.gz
(800.8 kB
view details)
Built Distribution
File details
Details for the file dash_datatables-0.0.9.tar.gz
.
File metadata
- Download URL: dash_datatables-0.0.9.tar.gz
- Upload date:
- Size: 800.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 77256bc0d127d25dcb8b0fb56915fc2ae2482188a2bb436d8e23aa298b2a34f8 |
|
MD5 | 4f55bd5bca4b9802eb72eca6ada7831a |
|
BLAKE2b-256 | cc68e6dabbae1e439557249e8c59a239742dee72b9754bd6e5700efbb796974f |
File details
Details for the file dash_datatables-0.0.9-py3-none-any.whl
.
File metadata
- Download URL: dash_datatables-0.0.9-py3-none-any.whl
- Upload date:
- Size: 750.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 96e14b4a94849b76a37e98fd526153269283e4bed246efbcdfb86217a0367ffa |
|
MD5 | 7c178179a4fc586bc5762cdeaa963c42 |
|
BLAKE2b-256 | 214d21418b97200eec2624a0906861b9dfe50a1d7d2dbb8b30bf9dc096789bad |