All Projects → RafaelMiquelino → Dash Flask Login

RafaelMiquelino / Dash Flask Login

Licence: mit
Implementation of Flask-login on top of Dash.

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Dash Flask Login

Hiitpi
A workout trainer Dash/Flask app that helps track your HIIT workouts by analyzing real-time video streaming from your sweet Pi using machine learning and Edge TPU..
Stars: ✭ 106 (-32.91%)
Mutual labels:  flask, dash, plotly
Dash
Analytical Web Apps for Python, R, Julia, and Jupyter. No JavaScript Required.
Stars: ✭ 15,592 (+9768.35%)
Mutual labels:  flask, dash, plotly
Slapdash
Boilerplate for bootstrapping scalable multi-page Dash applications
Stars: ✭ 225 (+42.41%)
Mutual labels:  flask, dash, plotly
Dash Table
A First-Class Interactive DataTable for Dash
Stars: ✭ 382 (+141.77%)
Mutual labels:  dash, plotly
Dash Cytoscape
Interactive network visualization in Python and Dash, powered by Cytoscape.js
Stars: ✭ 309 (+95.57%)
Mutual labels:  dash, plotly
Dashr
Dash for R - An R interface to the Dash ecosystem for creating analytic web applications
Stars: ✭ 337 (+113.29%)
Mutual labels:  dash, plotly
dash-fda
A Plotly Dash application to interact with the API endpoints of openFDA
Stars: ✭ 17 (-89.24%)
Mutual labels:  plotly, dash
Hexapod Robot Simulator
A hexapod robot simulator built from first principles
Stars: ✭ 577 (+265.19%)
Mutual labels:  dash, plotly
Explainerdashboard
Quickly build Explainable AI dashboards that show the inner workings of so-called "blackbox" machine learning models.
Stars: ✭ 378 (+139.24%)
Mutual labels:  dash, plotly
Bowtie
Create a dashboard with python!
Stars: ✭ 724 (+358.23%)
Mutual labels:  flask, plotly
Dash Stock Tickers Demo App
Dash Demo App - Stock Tickers
Stars: ✭ 108 (-31.65%)
Mutual labels:  dash, plotly
Dash Sample Apps
Open-source demos hosted on Dash Gallery
Stars: ✭ 2,090 (+1222.78%)
Mutual labels:  dash, plotly
Flask jsondash
🐍 📊 📈 Build complex dashboards without any front-end code. Use your own endpoints. JSON config only. Ready to go.
Stars: ✭ 3,215 (+1934.81%)
Mutual labels:  flask, plotly
Plotlydash Flask Tutorial
📊📉Embed Plotly Dash into your Flask applications.
Stars: ✭ 265 (+67.72%)
Mutual labels:  flask, plotly
Dash Docs
📖 The Official Dash Userguide & Documentation
Stars: ✭ 338 (+113.92%)
Mutual labels:  dash, plotly
bigfoot-dash-app
An example application for exploring Bigfoot data with Plotly's Dash.
Stars: ✭ 23 (-85.44%)
Mutual labels:  plotly, dash
Crypto Whale Watching App
Python Dash app that tracks whale activity in cryptocurrency markets.
Stars: ✭ 389 (+146.2%)
Mutual labels:  dash, plotly
Docker Flask Gunicorn Nginx
Bootstrap example of a Flask app served via Gunicorn and Nginx using Docker conteiners
Stars: ✭ 138 (-12.66%)
Mutual labels:  flask, dash
dash-admin
CLI tool for initiating dash boilerplate
Stars: ✭ 22 (-86.08%)
Mutual labels:  plotly, dash
dash-flexbox-grid
Wrapper around react-flexbox-grid for Plotly Dash
Stars: ✭ 19 (-87.97%)
Mutual labels:  plotly, dash

dash-flask-login

dash-flask-login

This is an example of Flask-login implementation on top of a Dash application for users authentication.

The example comes with users authentication through a sqlite3 database, however you can use your own database by changing the con parameter with your database URI in the config.txt file.

The example comes with the a standard username test and password test1 but you can add more users using the add_remove_users.ipynb jupyter notebook or the functions available in the users_mgt.py.

Files description:

add_remove_users.ipynb: A jupyter notebook to help creating and removing users
app.py: The app initial screen
config.py: python script to initialize the configuration included in the config.txt file
config.txt: configuration file
requirements.in: input configuration file to be used together with pip-tools
requirements.txt: configuration file generated bypip-tools
server.py: the app initialization file
users.db: sqlite3 database with user information
users_mgt.py: helper file for the user management process

Running an app locally

To run an app locally:

  1. (optional) create and activate new virtualenv:
pip install virtualenv
virtualenv venv
source venv/bin/activate
  1. pip install -r requirements.txt
  2. flask run or gunicorn wsgi:application
  3. open http://127.0.0.1:5000 in your browser or
  4. flask run --host=0.0.0.0 or gunicorn --bind 0.0.0.0:8000 wsgi:application to open for external connections

Deployng to Heroku

  1. Install Heroku CLI: https://devcenter.heroku.com/articles/heroku-cli
  2. Login to your heroku account: heroku login
  3. Create the app: heroku create
  4. Deploy to Heroku: git push heroku master
  5. Access the app via the address provided by Heroku

Contributing

PRs accepted! Please contribute if you believe this example can be improved.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].