Metadata-Version: 2.1
Name: dashhtmlgrid
Version: 0.0.1
Summary: Generic python package for a plotly dash grid
Author-email: Vamsee Achanta <vamsee.achanta@aceengineer.com>
License: MIT License
        
        Copyright (c) 2022 Vamsee Achanta
        
        Permission is hereby granted, free of charge, to any person obtaining a copy
        of this software and associated documentation files (the "Software"), to deal
        in the Software without restriction, including without limitation the rights
        to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
        copies of the Software, and to permit persons to whom the Software is
        furnished to do so, subject to the following conditions:
        
        The above copyright notice and this permission notice shall be included in all
        copies or substantial portions of the Software.
        
        THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
        IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
        FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
        AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
        LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
        OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
        SOFTWARE.
        
Project-URL: repository, https://github.com/vamseeachanta/dashhtmlgrid
Project-URL: documentation, https://github.com/vamseeachanta/dashhtmlgrid/blob/main/README.md
Keywords: package,library,module
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Requires-Python: >=3.7
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: pyyaml
Requires-Dist: tomli ; python_version < "3.11"
Provides-Extra: build
Requires-Dist: build ; extra == 'build'
Requires-Dist: twine ; extra == 'build'
Provides-Extra: dev
Requires-Dist: black ; extra == 'dev'
Requires-Dist: bumpver ; extra == 'dev'
Requires-Dist: isort ; extra == 'dev'
Requires-Dist: pytest ; extra == 'dev'

# Introduction

Data science typically involves data, analysis, tests and outputs. A simple way to review, verify or present results is via Visualizations.

Plotly Dash is selected to help prepare and present visualizations in a single dashboard. The key is to help present results in a organized manner to avoid 

# Summary

A library is under development to standardize this. See [dashhtmlgrid](https://github.com/vamseeachanta/dashhtmlgrid)

**#TODO**
- A decidated plotly visualization library is required to help develop faster custom plotting
    - The data provided to charts should be dedicated dfs with simple configuration files


# Usage

- Prepare data
- Define html div matrix using app layout (based on expected outputs). Some examples are:
    - 
- Utilize standard elements to plug into each matrix divs charts, tables 

The library currently supports:
- 1 dropdown menu box (with only 1 input field)
- multiple tables
- multiple plots

<img src="docs/visualization_architecture.svg" width=auto, height=auto/>


## Example codes

- Dropdown, multiple option selection. Example is given below:

Code file: src\dashhtmlgrid\tests\test_dropdown_multiple_options.py

<img src="docs\test_dropdown_multiple_options.png" width=600, height=auto/>


- Dropdown - Single selection. Example is given below:
    - https://github.com/vamseeachanta/energy/blob/ea3d37d9c65175cb6718d3052948d1871b3e54e2/py/utilities/plotly_dash_dropdown_graph.py


## Drag value - Circular Callback

https://community.plotly.com/t/dash-1-19-0-circular-callbacks-drag-value-in-dcc-slider-close-button-in-dev-tools-dcc-graph-bug-fixes/49500


## CSS templates

https://towardsdatascience.com/how-to-embed-bootstrap-css-js-in-your-python-dash-app-8d95fc9e599e

## References

https://pypi.org/project/dash/
https://www.statworx.com/en/content-hub/blog/how-to-build-a-dashboard-in-python-plotly-dash-step-by-step-tutorial/
https://chart-studio.plotly.com/dashboard/PythonPlotBot:540/present#/

20 line code dashboard tutorial
- https://pythoninoffice.com/python-dash-web-app-tutorial/
- https://youtu.be/fhJ_6EbawUA
