Learning Flask - Integrating Flask and Dash
In this part of the series we'll learn how to integrate Dash applications in Flask applications. We'll also learn how make dashboards private with flask-login.
Checkout the code here github.com/pepegar/flask-vide...
Пікірлер: 48
Would love to see the next one on deploying the application!
thanks a lot sir! You have saved me from my 10 hours of research integrating my dash apps
What a great tutorial, I'm so grateful. you helped me a lot!
Thanks so much Pepe. I was finding this pretty incomprehensible until seeing your vid. Now I actually have somewhere to start.
@taucoding3417
2 жыл бұрын
Glad I could help!
Great stuff man please don't give up, your content is worth it soon you will have 100k subs I promise !!!!
@huseyinuzun3219
4 ай бұрын
lol
super helpful, thank you!
keep up the good work bro. we miss u
Thanks sir for your valuable contribution in enhancing knowledge. Thanks a lot.
Hey dude, thanks for the tutorial, really helpful and really clear. Cheers !
@taucoding3417
2 жыл бұрын
Glad it helped!
Thanks so much for the great tutorial.
Awesome tutorial! Thanks!!!!!
Gracias por compartir. Buen tutorial. Claro y al grano.
Thanks so much for the great tutorial. I have one more question: is there also a way to allow access to the dashboard only if a certain variable of the database table has a desired value? That on one hand you have to be logged in (@login_required) and on the other hand (for example) the column "is_checked" in the user table has to be True.... Would be very helpful for me :)
Yes! Awesome! thanks for sharing this. Though your video explains things really clearly, I would expect Dash/Flask integration to be even more straight forward... Hope to see some more dash tutorials from you. Liked and subbed!
@taucoding3417
2 жыл бұрын
Thanks for your comment Karl! Yes, I'd also love a simpler integration between these :D stay tuned!
Very Good!
Great Tutorial! Can you please show how to implement Callback in the create_dash_application function.
Thanks a lot Master of the Universe of Code! I have a question: How integrate a new "URLs and Multi-Page Apps on Dash" inside the Dash_application folder? or must be outside?
Very Good video! I have a Question, right now I'm saving each plotly in HTML to personalize the dashboard of the users. How can I do that with your method? Apparently this example is more general dashboard for everybody
Thanks a lot!
Great tutorial! However, with Dash and Flask integration, I cannot load my assets (images and styling) anymore. How can I just show an image like: html.Img( src=dash_app.get_asset_url("Logo.png") )
Nice video. How to you keep the same look and feel between the Flask and Dash app? Would be cool if you could show how you would do that.
@taucoding3417
2 жыл бұрын
What I'd do is to create a single CSS file that describes your application look and feel, and make sure that the HTML on both sides (flask and dash) is the same. Having the same classes, ids, etc
Thank so much.
nice intro man
Hi I need some help. So I have created a flask app which uses blueprints, and I also have this dash app. They are integrated well and I am able to access all routes. My issue : I don't know how to share data from flask to dash. Like, if i uploaded a file in flask, and stored it's data in a class object, how do I access that object's value? Also, how do I check for request method = POST, like we do in flask routes?
Thank you buddy
@taucoding3417
2 жыл бұрын
No problem 👍
Thank you! Nice series of video. It really helped me clearout some point. But now i need help to figure out how to do it with multipages dash. Because now, i cant do @app.callback anymore, because its turned into a dash_app inside a function at my mainpage. How do i bring back my callbacks using the dash_app, if i cant import it from anywhere
Hi It was a great tutorial to clear all my concept and really thankful to you. Can you please help me in understanding how we can embed Dashboard application directly inside HTML layout without redirecting to dashboard page? and how I can use JavaScript to push HTML Component as an Input to Dash Output ?
hello, can one create a dashboard with dash where different users and access and retrieve their own analysis and visualization?
Pero mira esa intro papaaaa!!
Tanks
how or where do we create the @app.callback(Output() , Input()) with the Dash inside the flash, could you make an example?
Quick question: how do i make callbacks? especially with how we declare the flask and dash apps with your method
@taucoding3417
2 жыл бұрын
Hey Brian! What do you mean by callbacks?
Can we integrate different tech stacks like Chart.js and custom HTML/CSS with Dash?
@taucoding3417
2 жыл бұрын
You definitely can add custom HTML/CSS to Dash, but I haven't seen how to itnegrate different charting libraries like chartjs.
Any idea how to configure sso auth with flask and dash?
ImportError: cannot import name 'create_dash' from 'dash_application' (unknown location) and i use jupyter i need your help
Ничего не понятно, но очень интересно)
tnx peepe
MAn you are a genious, i tried to do this with chat gpt and it was giving me too much buldsh.. Thanks!
a bad presentation. You do not even move your head so that reader can see what you are writing. Also you do not explain many things.
@taucoding3417
Жыл бұрын
Thanks for your comment!