Skip to main content

Cool React components, wrapped for Plotly Dash

Project description

Dash Cool Components

Cool React components, wrapped for Plotly Dash

PyPI version

Table of contents

Installation

pip install dash-cool-components

Components

Datatime Picker

A date-time picker. Source React component.

import dash
import dash_html_components as html
import dash_cool_components

app = dash.Dash(__name__)

my_component = dash_cool_components.DateTimePicker(id='date_time_picker')
app.layout = html.Div(my_component)

if __name__ == '__main__':
    app.run_server(debug=True)

Keyed File Browser

File and directory browser given a flat keyed list of objects. Source React component.

import dash
import dash_html_components as html
import dash_bootstrap_components as dbc
import dash_cool_components


external_stylesheets = [dbc.themes.BOOTSTRAP]
app = dash.Dash(__name__, external_stylesheets=external_stylesheets)

dir_dict = [
    {'key': 'dir1/my_image.jpeg', 'size': 2782874},
    {'key': 'dir2/other_image.tif', 'size': 499240007}
]

my_component = dash_cool_components.FileExplorer(
    id='file_explorer',
    value=dir_dict,
)
app.layout = html.Div(my_component, style={'width': '500px'})

if __name__ == '__main__':
    app.run_server(debug=True)

Tag Input

A tag input component. Source React component.

import dash
import dash_html_components as html
import dash_cool_components

app = dash.Dash(__name__)

my_component = dash_cool_components.Keywords(id='tag_input')
app.layout = html.Div(my_component)

if __name__ == '__main__':
    app.run_server(debug=True)

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_cool_components-0.0.4.tar.gz (474.6 kB view details)

Uploaded Source

File details

Details for the file dash_cool_components-0.0.4.tar.gz.

File metadata

  • Download URL: dash_cool_components-0.0.4.tar.gz
  • Upload date:
  • Size: 474.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.7.7

File hashes

Hashes for dash_cool_components-0.0.4.tar.gz
Algorithm Hash digest
SHA256 1e481dbe6646489b035a6175e4ad36e7f6fb01846237f68edd8334274ee0ab65
MD5 a0f745fd3afeb36b3624571218aa12cb
BLAKE2b-256 d06d59aacb597c684ebd8380c4d957a7301d8b67e488f4477f7c867a17be949d

See more details on using hashes here.

Provenance

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