A "Best of the Best Practices" (BOBP) guide to developing in Python.
- "Build tools for others that you want to be built for you." - Kenneth Reitz
- "Simplicity is alway better than functionality." - Pieter Hintjens
| # Based on the example from https://www.activestate.com/blog/dash-vs-bokeh/ | |
| import dash | |
| import dash_core_components as dcc | |
| import dash_html_components as html | |
| import pandas as pd | |
| import plotly.graph_objs as obj | |
| import uvicorn as uvicorn | |
| from dash.dependencies import Input, Output | |
| from fastapi import FastAPI | |
| from starlette.middleware.wsgi import WSGIMiddleware |
| in upload handler | |
| in file close | |
| .. | |
| ---------------------------------------------------------------------- | |
| Ran 2 tests in 0.021s | |
| OK |