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

  • @SJMNin
    @SJMNin Жыл бұрын

    Would love to see the next one on deploying the application!

  • @ThePriceEngineer
    @ThePriceEngineer2 жыл бұрын

    thanks a lot sir! You have saved me from my 10 hours of research integrating my dash apps

  • @igorxt9
    @igorxt9Ай бұрын

    What a great tutorial, I'm so grateful. you helped me a lot!

  • @thecaveofthedead
    @thecaveofthedead2 жыл бұрын

    Thanks so much Pepe. I was finding this pretty incomprehensible until seeing your vid. Now I actually have somewhere to start.

  • @taucoding3417

    @taucoding3417

    2 жыл бұрын

    Glad I could help!

  • @resourcejunior7481
    @resourcejunior74813 жыл бұрын

    Great stuff man please don't give up, your content is worth it soon you will have 100k subs I promise !!!!

  • @huseyinuzun3219

    @huseyinuzun3219

    4 ай бұрын

    lol

  • @sebastiancroy2677
    @sebastiancroy26773 жыл бұрын

    super helpful, thank you!

  • @abdelkabirmenani962
    @abdelkabirmenani9623 жыл бұрын

    keep up the good work bro. we miss u

  • @RenormalizedAdvait
    @RenormalizedAdvait Жыл бұрын

    Thanks sir for your valuable contribution in enhancing knowledge. Thanks a lot.

  • @ThePiranhat
    @ThePiranhat3 жыл бұрын

    Hey dude, thanks for the tutorial, really helpful and really clear. Cheers !

  • @taucoding3417

    @taucoding3417

    2 жыл бұрын

    Glad it helped!

  • @eduardo9626
    @eduardo9626 Жыл бұрын

    Thanks so much for the great tutorial.

  • @zZGIAN33Zz
    @zZGIAN33Zz Жыл бұрын

    Awesome tutorial! Thanks!!!!!

  • @juantoro6127
    @juantoro61272 жыл бұрын

    Gracias por compartir. Buen tutorial. Claro y al grano.

  • @frigi23182
    @frigi231822 жыл бұрын

    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 :)

  • @karlduckett
    @karlduckett3 жыл бұрын

    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

    @taucoding3417

    2 жыл бұрын

    Thanks for your comment Karl! Yes, I'd also love a simpler integration between these :D stay tuned!

  • @CA_ONST
    @CA_ONST Жыл бұрын

    Very Good!

  • @nomadmathematician400
    @nomadmathematician40011 күн бұрын

    Great Tutorial! Can you please show how to implement Callback in the create_dash_application function.

  • @francotarchini3879
    @francotarchini38792 жыл бұрын

    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?

  • @perfectdeals5254
    @perfectdeals52542 жыл бұрын

    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

  • @AffanHasan
    @AffanHasan Жыл бұрын

    Thanks a lot!

  • @nielshoogeveen3767
    @nielshoogeveen37672 жыл бұрын

    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") )

  • @mxdev6639
    @mxdev66393 жыл бұрын

    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

    @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

  • @mural.frescowang4524
    @mural.frescowang4524 Жыл бұрын

    Thank so much.

  • @hamzalagramez2736
    @hamzalagramez27363 жыл бұрын

    nice intro man

  • @parthkrishna3507
    @parthkrishna35072 жыл бұрын

    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?

  • @yazidmekhtoub
    @yazidmekhtoub3 жыл бұрын

    Thank you buddy

  • @taucoding3417

    @taucoding3417

    2 жыл бұрын

    No problem 👍

  • @EduardoOliveira-gq9qn
    @EduardoOliveira-gq9qn2 ай бұрын

    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

  • @vishalchauhan3781
    @vishalchauhan3781Ай бұрын

    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 ?

  • @felixkuria1250
    @felixkuria1250 Жыл бұрын

    hello, can one create a dashboard with dash where different users and access and retrieve their own analysis and visualization?

  • @Portuenllamas
    @Portuenllamas2 жыл бұрын

    Pero mira esa intro papaaaa!!

  • @qodirjonsafarov5416
    @qodirjonsafarov54162 жыл бұрын

    Tanks

  • @CA_ONST
    @CA_ONST Жыл бұрын

    how or where do we create the @app.callback(Output() , Input()) with the Dash inside the flash, could you make an example?

  • @brianbarasa546
    @brianbarasa5462 жыл бұрын

    Quick question: how do i make callbacks? especially with how we declare the flask and dash apps with your method

  • @taucoding3417

    @taucoding3417

    2 жыл бұрын

    Hey Brian! What do you mean by callbacks?

  • @GamingOzzz
    @GamingOzzz3 жыл бұрын

    Can we integrate different tech stacks like Chart.js and custom HTML/CSS with Dash?

  • @taucoding3417

    @taucoding3417

    2 жыл бұрын

    You definitely can add custom HTML/CSS to Dash, but I haven't seen how to itnegrate different charting libraries like chartjs.

  • @jg1000c
    @jg1000c Жыл бұрын

    Any idea how to configure sso auth with flask and dash?

  • @mohamedazizseyah5161
    @mohamedazizseyah51612 жыл бұрын

    ImportError: cannot import name 'create_dash' from 'dash_application' (unknown location) and i use jupyter i need your help

  • @dns_kr
    @dns_kr Жыл бұрын

    Ничего не понятно, но очень интересно)

  • @gebru1252
    @gebru1252 Жыл бұрын

    tnx peepe

  • @leonardoferigutti9039
    @leonardoferigutti9039 Жыл бұрын

    MAn you are a genious, i tried to do this with chat gpt and it was giving me too much buldsh.. Thanks!

  • @mshirazbaig6055
    @mshirazbaig60552 жыл бұрын

    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

    @taucoding3417

    Жыл бұрын

    Thanks for your comment!