Build and Deploy a Multi-Page Web Application Using Python (Streamlit)

Sdílet
Vložit
  • čas přidán 22. 07. 2024
  • 👉 Explore All My Excel Solutions: pythonandvba.com/solutions
    𝗗𝗘𝗦𝗖𝗥𝗜𝗣𝗧𝗜𝗢𝗡
    ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
    In this video, I’ll guide you step-by-step on how to build and deploy a multi-page web application in just 15 minutes using Python and Streamlit. No need to worry about HTML, CSS, or JavaScript-everything will be done in Python!
    We’ll start by creating a simple navigation menu to switch between different pages and add a fully functional modal contact form. This project will showcase how powerful and easy Streamlit makes web development.
    I'll also show you how to integrate no-code tools to enhance your app's functionality, making it even more versatile. By the end of this tutorial, you’ll have a professional-looking web app ready to go. Plus, I’ll teach you how to deploy it on the Streamlit Community Cloud for free, so you can share your work with the world.
    🌍 𝗟𝗜𝗡𝗞𝗦:
    ▶ Live Website: multipage-webapp.streamlit.app/
    ▶ Source Code: github.com/Sven-Bo/python-mul...
    ▶ Pabbly Connect: pythonandvba.com/go/pabbly-co...
    ▶ Material Icons: fonts.google.com/icons
    ▶ Build a Streamlit Sales Dashboard: • Turn An Excel Sheet In...
    ▶ Build a Streamlit ChatBot App: • Turn An Excel Sheet In...
    ⭐ 𝗧𝗜𝗠𝗘𝗦𝗧𝗔𝗠𝗣𝗦:
    00:00 - Introduction
    01:26 - Installing Dependencies
    01:57 - Creating 'Hello World' App
    02:52 - Setting Up Navigation Menu
    06:26 - Inserting Logo
    07:21 - Creating 'About Me' Page
    09:30 - Creating Contact Form
    10:53 - Setting Up No Code Automation
    14:45 - Building Sales Dashboard & ChatBot
    15:48 - Styling the App
    16:55 - Configuring Secrets File
    17:49 - Deploying the App
    19:43 - App Review
    20:20 - Outro
    𝗧𝗢𝗢𝗟𝗦 𝗔𝗡𝗗 𝗥𝗘𝗦𝗢𝗨𝗥𝗖𝗘𝗦
    ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
    🆓【𝗙𝗥𝗘𝗘】Excel Add-in (𝗠𝘆𝗧𝗼𝗼𝗹𝗕𝗲𝗹𝘁): pythonandvba.com/mytoolbelt
    📊 Dashboard Excel Add-In (𝗚𝗿𝗮𝗳𝗹𝘆): pythonandvba.com/grafly
    🎨 Cartoon Charts Excel Add-In (𝗖𝘂𝘁𝗲𝗣𝗹𝗼𝘁𝘀): pythonandvba.com/cuteplots
    🤪 Fun Emoji Excel Add-In (𝗘𝗺𝗼𝗷𝗶𝗳𝘆): pythonandvba.com/emojify
    📑 Excel Templates: pythonandvba.com/go/excel-tem...
    🎓 My Courses: pythonandvba.com/go/courses
    📚 Books, Tools, and More: pythonandvba.com/resources
    𝗖𝗢𝗡𝗡𝗘𝗖𝗧 𝗪𝗜𝗧𝗛 𝗠𝗘
    ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
    🔗 LinkedIn: / sven-bosau
    📸 Instagram: / codingisfun_official
    💻 GitHub: github.com/Sven-Bo
    💬 Discord: pythonandvba.com/discord
    📬 Contact: pythonandvba.com/contact
    ☕ 𝗕𝘂𝘆 𝗺𝗲 𝗮 𝗰𝗼𝗳𝗳𝗲𝗲?
    If you want to support this channel, you can buy me a coffee here:
    ▶ pythonandvba.com/coffee-donation

Komentáře • 74

  • @CodingIsFun
    @CodingIsFun  Před 16 dny +2

    *Here's the link to the final website:* multipage-webapp.streamlit.app/
    I hope you enjoyed the video and the project. All the links mentioned in the video can be found in the description box. Cheers, Sven ✌

    • @Harazi868
      @Harazi868 Před 15 dny

      How to upload on internet please

    • @CodingIsFun
      @CodingIsFun  Před 15 dny

      @@Harazi868 Have you watched the video? 😅

  • @williamsagbanagba-p7p
    @williamsagbanagba-p7p Před 4 dny +1

    Best python-streamlit coders

  • @ici6308
    @ici6308 Před 16 dny +1

    I even didin't look at all the video yet, but i give you already a five star *****. You are a great guy.

    • @CodingIsFun
      @CodingIsFun  Před 16 dny

      Thanks for the support! I appreciate it! Cheers, Sven ✌️

  • @sitrakaforler8696
    @sitrakaforler8696 Před 16 dny +1

    The best streamlit youtuber !!!!! BRAVO

  • @py_skii
    @py_skii Před 10 dny +1

    I have learn streamlit from your video...its is really helpful...Jai hind... respect from India 🤍

    • @CodingIsFun
      @CodingIsFun  Před 10 dny

      Glad to hear that! Thanks for watching and taking the time to leave a comment. Love to India ❤️ Cheers, Sven ✌️

  • @Namratabenke
    @Namratabenke Před 11 dny +1

    Thankyou so much , it's really useful🙂🙏 love from India..😊

    • @CodingIsFun
      @CodingIsFun  Před 11 dny

      Glad you liked it. Love to India. Cheers, Sven ✌️

  • @mdld1293
    @mdld1293 Před 15 dny

    I just finished a web app today and was looking for a video on how to upload it. Thanks! Your channel is one of the best for Python!

    • @CodingIsFun
      @CodingIsFun  Před 15 dny

      I'm glad to hear it was helpful. Just curious, what kind of app did you create? Cheers, Sven ✌️

    • @mdld1293
      @mdld1293 Před 15 dny

      @@CodingIsFun We often have to figure out the volumes for stock solution dilutions in our lab. The math is really easy but gets really tedious when you have a bunch of solutions to mix. So, I made an app that automates all that. Just enter the data for your solutions, and it spits out a SOP in PDF format. I think our techs and students are going to love how much easier it makes things!

    • @CodingIsFun
      @CodingIsFun  Před 15 dny +1

      @@mdld1293 Thanks for sharing. Sounds like an interesting project 👍

  • @hrmanager6883
    @hrmanager6883 Před 15 dny

    Great addition Sven , helping others to grow by learning these skills, great contribution , have great success ahead

    • @CodingIsFun
      @CodingIsFun  Před 15 dny

      Appreciate your kind words. Cheers for the support! -Sven ✌️

  • @z.r.777
    @z.r.777 Před 16 dny

    Thank you. So timely.

    • @CodingIsFun
      @CodingIsFun  Před 16 dny

      Glad it was helpful! Cheers, Sven ✌️

  • @funese102
    @funese102 Před 16 dny

    Bro is cooking the best streamlit tutorial again 🎉🎉🎉

    • @CodingIsFun
      @CodingIsFun  Před 16 dny +1

      Cheers mate✌️

    • @funese102
      @funese102 Před 16 dny

      @@CodingIsFun By the way Sven, please make more contents relating to Machine Learning & Taipy 😁. All the best to you!

  • @umeshsuwal85
    @umeshsuwal85 Před 7 dny +1

    Great Video

  • @patriciohernandezballester2485

    "Hi Sven! 😃 I just watched your new tutorial and, as always, it's incredibly useful and well explained. Thank you for sharing your knowledge with us! 🌟👍"

    • @CodingIsFun
      @CodingIsFun  Před 16 dny

      Hi Patricio, thanks for tuning in again and taking the time to leave a comment. I'm glad to hear you liked this video too. Cheers, Sven ✌️

  • @hrmanager6883
    @hrmanager6883 Před 15 dny

    Great job again, best wishes and have great success ahead

    • @CodingIsFun
      @CodingIsFun  Před 15 dny

      Again, appreciate the support and well wishes. All the best to you as well! -Sven 😊

  • @sanrui
    @sanrui Před 2 dny

    great tutorial is easy to understand for me even just beginer in python like, thanks for the video

    • @CodingIsFun
      @CodingIsFun  Před 2 dny

      Thanks for the positive feedback! Appreciate you taking the time to leave a comment. Cheers, Sven ✌️

  • @darrenlefcoe
    @darrenlefcoe Před 11 dny

    great video. well done.

    • @CodingIsFun
      @CodingIsFun  Před 11 dny

      Glad you liked it. Thanks for watching and taking the time to leave a comment! -Sven ✌️

  • @_NickTech
    @_NickTech Před 16 dny

    Hi!
    Thank you for such high-quality content! 😍
    Regarding checking an email for correctness, using regular expressions is a flawed approach because:
    1. There are numerous formats all over the world
    2. The address might not exist
    3. There may be a typo
    The best way is to send a verification link to the email.
    I understand that it's off-topic, but worth mentioning, I guess.
    BTW, the Win + Dot command to see emojis is handy, thanks! 😊

    • @CodingIsFun
      @CodingIsFun  Před 16 dny +1

      Thank you for watching, and I'm glad you liked it! Regarding the email:
      That's an absolutely valid point. Initially, I considered integrating an email validation API as well, but I wanted to keep the video concise. However, if you're interested in the code, you can check out this form I created for another app:
      github.com/Sven-Bo/streamlit_contest/blob/main/streamlit_app.py#L17
      Basically, I first validate the email and using a dedicated API also has the advantage of filtering out temporary email addresses.
      Cheers,
      Sven ✌️

    • @_NickTech
      @_NickTech Před 16 dny

      @@CodingIsFun Wow, that's cool! thank you!!

  • @loginet1
    @loginet1 Před 12 dny

    Very nice!

  • @chandrasekars8904
    @chandrasekars8904 Před 14 dny

    This is really an excellent channel on Python like "techie talkee"

  • @cookiee_86
    @cookiee_86 Před 16 dny

    Thank you Sven for another amazing tutorial💫! looking handsome as usual 😉

    • @CodingIsFun
      @CodingIsFun  Před 16 dny +1

      Aw, you're making me blush. Thanks for watching and for your comment. Cheers, Sven ✌️

  • @abdielgoni5690
    @abdielgoni5690 Před 16 dny

    Realy cool 🙌

  • @11Argy
    @11Argy Před 15 dny

    Thanks sir ✌️😉

    • @CodingIsFun
      @CodingIsFun  Před 14 dny

      My pleasure! Appreciate you taking the time to watch and leave a comment. -Sven ✌️

  • @mansoormoideen6733
    @mansoormoideen6733 Před 11 dny

    Hi Sven, I'm learning from you. You made it so easy. Thanks a lot. Can you make a video regarding how to use pabbly.

    • @CodingIsFun
      @CodingIsFun  Před 11 dny

      Happy to hear that you like my teaching style. Your request on the Pabbly Connect video is well noted. Cheers, Sven ✌️

  • @r.e.434
    @r.e.434 Před 15 dny

    can this be deployed also to a vps like digitalocean?

    • @CodingIsFun
      @CodingIsFun  Před 15 dny +1

      Yes, that should be possible. Here's one example: www.bitdoze.com/streamlit-deploy-vps-cloudflare/
      Happy Deployment! -Sven

  • @sundayabiodun8819
    @sundayabiodun8819 Před 4 dny

    How did you use an icon as a call action button?
    I mean the contact me button you used that opened the contact form

    • @CodingIsFun
      @CodingIsFun  Před 2 dny

      As explained in the video 4:12 min. Cheers, Sven ✌️

  • @imbhasz94
    @imbhasz94 Před 14 dny

    Hi! I really loved your video and tutorial of streamlit you made. Can you give full tutorial of simple website which can crud and have login page for my projects? Thanksss

    • @CodingIsFun
      @CodingIsFun  Před 14 dny

      Thanks for watching and your video suggestion! Cheers, Sven ✌️

  • @Bedwarsblockmango0
    @Bedwarsblockmango0 Před 15 dny

    Way of your explaining everyone can understand easily,
    My request: Can you create tutorials based on user login,user can access web pages (based on permission)

    • @CodingIsFun
      @CodingIsFun  Před 15 dny

      Thank you for watching. I'm glad to hear you like my explanation style. Regarding your request: I'm still waiting for native authentication support from Streamlit. Currently, there are some workarounds and third-party packages available, but I prefer to wait for official Streamlit support for authentication. Cheers, Sven ✌️

    • @Bedwarsblockmango0
      @Bedwarsblockmango0 Před 15 dny

      @@CodingIsFun Thanks for reply,

  • @neetiwason2065
    @neetiwason2065 Před 5 dny

    Can we build a sidebar like the one on the Streamlit documentation webpage (docs.streamlit.io/)? For instance, imagine having sections like "About Me" or "Section 1" with clickable subsections. Clicking on any section or subsection should take me to the corresponding page. How can we achieve this?

    • @CodingIsFun
      @CodingIsFun  Před 4 dny +1

      Thanks for watching. Currently, that does not seem to be supported natively in Streamlit. Cheers, Sven ✌️

  • @charleshopper4638
    @charleshopper4638 Před 16 dny

    Is streamlit responsive and how do you handle mobile apps with it? Excellent tutorial. Looking forward to many more.

    • @CodingIsFun
      @CodingIsFun  Před 16 dny

      Yes, Streamlit is mobile responsive. You can check out the live website on your mobile phone. Cheers, Sven ✌️

  • @Tech-speaker
    @Tech-speaker Před 15 dny

    Can I add a custom domain to my streamlit webapp?

    • @CodingIsFun
      @CodingIsFun  Před 15 dny

      Thank you for watching. In Streamlit Cloud, you can specify a custom subdomain but not change the top-level domain. If you deploy your app on Heroku or Render, you can set up a custom domain.
      Here are the tutorials for deployment:
      ▶ Heroku (no free plan): czcams.com/video/nJHrSvYxzjE/video.htmlsi=5N5QWkUwftgFSsUM
      ▶ Render (free plan available): czcams.com/video/4SO3CUWPYf0/video.htmlsi=HFFruTkzTevHHBsO
      And here are the instructions for setting up a custom domain:
      ▶ Heroku: czcams.com/video/ZP7GpxMlxOI/video.htmlsi=fNWEbw3xc7xtvtm3
      ▶ Render: docs.render.com/custom-domains
      I hope this helps! Cheers, Sven ✌️

    • @Tech-speaker
      @Tech-speaker Před 15 dny

      @@CodingIsFun Thanks a lot, Sven. Appreciate your work. Keep going. Hope to see more useful streamlit webapp and data viz videos from you.

  • @amusaber6648
    @amusaber6648 Před 12 dny

    Thanks Very Useful. 👏
    I have an unrelated question, but I guess you know the Answer,
    How to build Executable (.exe) file from Python for all Versions of Windows (Seven,8,10,11)
    i used PyInstaller in windows 10 ,but the Executable file compiled by PyInstaller does not work on Windows 7
    I apologize for the unrelated topic .

    • @CodingIsFun
      @CodingIsFun  Před 12 dny

      Thanks for watching. I have never tried to run compiled Python scripts on older Windows versions. Hence, I cannot help you here. You might need to do some Google searching. Happy debugging! Cheers, Sven ✌️

  • @kuvikina
    @kuvikina Před 14 dny

    Can you do this with shiny for python

    • @CodingIsFun
      @CodingIsFun  Před 14 dny

      Thanks for watching. In Shiny for Python you could also include a navigation panel:
      shiny.posit.co/py/templates/basic-navigation/
      Happy Coding! Cheers, Sven ✌️

  • @Jriad
    @Jriad Před 9 hodinami

    i keep getting
    AttributeError: module 'streamlit' has no attribute 'Page'
    any idea why?

    • @CodingIsFun
      @CodingIsFun  Před 7 hodinami

      Are you using the latest Streamlit version as explained in the video (1:27 min)?
      pip install streamlit --upgrade
      Cheers, Sven ✌️

  • @gagansingh3481
    @gagansingh3481 Před 5 dny

    How do i build a web site like you sir ... Any udemy course you can recommend I am a non coder

    • @CodingIsFun
      @CodingIsFun  Před 4 dny

      Thanks for watching. You might want to check out my Streamlit Playlist here: czcams.com/play/PL7QI8ORyVSCaejt2LICRQtOTwmPiwKO2n.html
      Also, for learning Python, you can check out my favorite resources here: pythonandvba.com/resources
      I hope it helps! Happy learning & coding! Cheers, Sven ✌️

    • @gagansingh3481
      @gagansingh3481 Před 4 dny

      ​@@CodingIsFun -Thank you sir