Build A Streamlit Web App From Scratch (incl. NoSQL Database + interactive Sankey chart) 🚀

  Рет қаралды 111,814

Coding Is Fun

Coding Is Fun

Күн бұрын

👉 Explore All My Excel Solutions: pythonandvba.com/solutions
𝗗𝗘𝗦𝗖𝗥𝗜𝗣𝗧𝗜𝗢𝗡
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
In this video, I will be showing you how to build a Python web application from scratch using Streamlit. I will also show you how to connect your streamlit app to a database. In particular, we will be using a free NoSQL database from deta. I will cover the entire process from start to finish and show you how easy it is to build your own web application. We will also learn how to create an interactive Sankey chart using Plotly. Additionally, I will show some very nifty streamlit tricks. After this video, you will be confident to develop your own web apps.
🌍 𝗟𝗜𝗡𝗞𝗦:
▶ Source Code: github.com/Sven-Bo/streamlit-...
▶ More Streamlit Tutorials: • Streamlit Tutorials
▶ Streamlit cloud - secrets management: docs.streamlit.io/streamlit-c...
⭐ 𝗧𝗜𝗠𝗘𝗦𝗧𝗔𝗠𝗣𝗦:
00:00 - Intro
01:23 - Dependency installation and basic settings
03:58 - Coding out the entry area
09:51 - Coding out the plotting area
16:24 - Add a navigation menu
18:32 - Styling of the app
20:12 - Set up a NoSQL database
26:35 - Connect streamlit to a NoSQL database
29:03 - How to handle environment variables on a server
29:38 - Outro
𝗧𝗢𝗢𝗟𝗦 𝗔𝗡𝗗 𝗥𝗘𝗦𝗢𝗨𝗥𝗖𝗘𝗦
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
🆓【𝗙𝗥𝗘𝗘】Excel Add-in (𝗠𝘆𝗧𝗼𝗼𝗹𝗕𝗲𝗹𝘁): pythonandvba.com/mytoolbelt
📊 Data Visualization Excel Add-In (𝗚𝗿𝗮𝗳𝗹𝘆): pythonandvba.com/grafly
🤪 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

Пікірлер: 191
@CodingIsFun
@CodingIsFun 2 жыл бұрын
👉Website Demo: share.streamlit.io/sven-bo/streamlit-income-expense-tracker/app.py 👉Streamlit Playlist: kzfaq.info/sun/PL7QI8ORyVSCaejt2LICRQtOTwmPiwKO2n 👉Deploy your streamlit app for free on Heroku: kzfaq.info/get/bejne/pLB4pbanvt7emnk.html 👉Add user authentication to your app: kzfaq.info/get/bejne/gNV2etWEt9CYiGg.html 💬I will be here in the comments section. For any issues, please provide your exact error message, and I will try to help.
Жыл бұрын
Hey, just wanted to drop a quick note to say thank you for making that KZfaq video! It was seriously so helpful and I loved how you presented the material. Great job!
@CodingIsFun
@CodingIsFun Жыл бұрын
Thanks for the positive feedback, Mark André! Appreciate you taking the time to leave a comment. 🤩
@ievevy
@ievevy 8 ай бұрын
This is exactly what I am looking for. Your codes are neat and your presentation is easy to follow. Thanks a million!
@CodingIsFun
@CodingIsFun 8 ай бұрын
Thanks for the kind words! Stay awesome! 👍
@jackroark6928
@jackroark6928 Жыл бұрын
Awesome tutorial. The pacing is excellent. The editing is top-notch.
@CodingIsFun
@CodingIsFun Жыл бұрын
Thanks for watching and the positive feedback. Glad you liked it! 👍
@sathyahisto
@sathyahisto Жыл бұрын
Precise and to the point 👏👏👏👏
@CodingIsFun
@CodingIsFun Жыл бұрын
Thank you! :)
@akebu6
@akebu6 11 ай бұрын
Your Streamlit videos are so helpful, thank you so much, you've become my favourite KZfaqr!
@CodingIsFun
@CodingIsFun 11 ай бұрын
Happy to hear that! Thanks for watching. Happy Streamlit-ing! 🎉
@maurocruz1824
@maurocruz1824 Жыл бұрын
Great explanation. This video is about 10 advanced Streamlit videos in one! I did't get completely that plot but I will give it a chance later.
@CodingIsFun
@CodingIsFun Жыл бұрын
Thanks for watching. Glad you liked the video :)
@catoberge
@catoberge 2 жыл бұрын
This is brilliant! I finally start to understand some core Python/programming-concepts and this is a great tool for learning more. I especially liked the database-bit, which I didn`t believe I would. Well done! I recommend your channel whenever I can.
@CodingIsFun
@CodingIsFun 2 жыл бұрын
Great to hear! And thanks for your support - I appreciate it! 👍
@stickyvicky16
@stickyvicky16 Жыл бұрын
very well said, this is very well done video !
@ricardo.alves.campos
@ricardo.alves.campos 2 жыл бұрын
Excellent content !!! This channel deserves over 1 million subscribers. Mach weiter so!
@CodingIsFun
@CodingIsFun 2 жыл бұрын
Ah Ricardo Campos, you're making me blush! Thanks for the kind comments and happy to hear that you're enjoying the videos!
@z.r.777
@z.r.777 Жыл бұрын
So much to unpack. Only the Sankey could be its own tutorial... Thank you
@CodingIsFun
@CodingIsFun Жыл бұрын
Thanks for watching. Agree, the Sankey chart turned out to be more complicated than I initially thought 😅
@GraphicalBoss
@GraphicalBoss 2 жыл бұрын
Love your tutorial videos, short but valuable. Love from the 🇺🇸
@CodingIsFun
@CodingIsFun 2 жыл бұрын
Glad you like them! Greetings to the US 👋
@fierval
@fierval Жыл бұрын
You are awesome! I thought I knew all about streamlit, you proved me wrong. 😊
@CodingIsFun
@CodingIsFun Жыл бұрын
Glad I could help! Thanks for watching and for the kind words.
@ArnauViaM
@ArnauViaM 2 жыл бұрын
That is amazing. Extremely great job
@CodingIsFun
@CodingIsFun 2 жыл бұрын
Thank you! Glad you liked it! :)
@irinagetman777
@irinagetman777 10 ай бұрын
Excellent tutorial. I like your code organisation with all these sections and comments, will borrow this from you. BTW never heard of Sankey charts. Thank you for sharing this with us. ❤️
@CodingIsFun
@CodingIsFun 10 ай бұрын
Thanks for the kind words! I am glad you enjoyed it. Happy Coding! :)
@stevenl
@stevenl Жыл бұрын
Thanks for the tutorial, i learn a lot from only a single video :)
@CodingIsFun
@CodingIsFun Жыл бұрын
Happy to hear that it was useful; thank you for taking the time to leave a comment and for watching the video!
@pythoninoffice6568
@pythoninoffice6568 2 жыл бұрын
Thanks for sharing another great vid! Btw Deta looks cool!
@CodingIsFun
@CodingIsFun 2 жыл бұрын
Thank you, Jay!
@aminedj430
@aminedj430 2 жыл бұрын
I LEARNED A LOT FROM YOU BRO THANKS
@CodingIsFun
@CodingIsFun 2 жыл бұрын
Happy to hear that! Thanks for watching and taking the time to leave a comment - I appreciate it! :)
@Christopher_Tron
@Christopher_Tron 2 жыл бұрын
This is very helpful for me thank you!!!
@CodingIsFun
@CodingIsFun 2 жыл бұрын
Glad it was helpful! Thanks for watching!
@learnsharegrowwithgh2181
@learnsharegrowwithgh2181 Жыл бұрын
Excellent explanation and very very helpful
@CodingIsFun
@CodingIsFun Жыл бұрын
Thanks for the kind words! I'm glad you found the explanation helpful. 👍
@Mcmarshdzwimbu-ht2md
@Mcmarshdzwimbu-ht2md 2 ай бұрын
God Bless you my brother
@CodingIsFun
@CodingIsFun 2 ай бұрын
Thanks! 🙏
@GordonShamway1984
@GordonShamway1984 Жыл бұрын
didaktisch unglaublich gut! Weiter so!
@CodingIsFun
@CodingIsFun Жыл бұрын
Vielen Dank, Stefan!
@hungtranmau710
@hungtranmau710 Жыл бұрын
i don't know english, but see your video, i can understand, thank you alot
@CodingIsFun
@CodingIsFun Жыл бұрын
Glad you liked it. Thanks for watching and taking the time to leave a comment!
@youngzproduction7498
@youngzproduction7498 Жыл бұрын
Great tips.🎉 Thanks a lot.
@CodingIsFun
@CodingIsFun Жыл бұрын
Glad you liked it. Thanks for watching and taking the time to leave a comment!
@karuppasamysollamuthu3576
@karuppasamysollamuthu3576 2 жыл бұрын
All your videos are good.
@CodingIsFun
@CodingIsFun 2 жыл бұрын
Thank you! 😀
@theh1ve
@theh1ve 2 жыл бұрын
This is awesome thank you so much!
@CodingIsFun
@CodingIsFun 2 жыл бұрын
Glad you like it! Thanks for watching and taking the time to leave a comment! :)
@theh1ve
@theh1ve 2 жыл бұрын
@@CodingIsFun and a subscriber, lots of great practical content thank you!
@violoriser856
@violoriser856 2 жыл бұрын
Excellent video as always! Fast, clean and nice explanation of every aspect! I learned Streamlit from you, thx for finding the time to make these excellent videos. I have a request. Could you show us how to edit an entry in the database? Not from the db panel, but from inside the streamlit app.
@CodingIsFun
@CodingIsFun 2 жыл бұрын
Great to hear! Regarding your request, you could use the 'update' method (docs.deta.sh/docs/base/sdk#update) In this video, you can see an example on how to use it: kzfaq.info/get/bejne/m6mSe5WftbKdo4k.html I hope it helps! :)
@biscotty6669
@biscotty6669 3 ай бұрын
Thank you for an excellent video. I look forward to watching more of your videos! (deta is very different and the website is a bit of a nightmare to navigate (imho) so I chose a different path there.)
@CodingIsFun
@CodingIsFun 3 ай бұрын
Thanks for watching. And yes, I am also sometimes lost in the "deta space", to be honest 😅
@biscotty6669
@biscotty6669 3 ай бұрын
@@CodingIsFun there's always MongoDB , but I just used tinydb for local deployment.
@lcminformatica7410
@lcminformatica7410 Жыл бұрын
YOU ARE THE BEST!!!!!!!
@CodingIsFun
@CodingIsFun Жыл бұрын
THANK YOU! :)
@yeahjustlikethat
@yeahjustlikethat 2 жыл бұрын
Great video, it would be interesting to see if any of the st caching magic decorators apply to connecting to the db? Or is that reopened each time the app reloads?
@lukasgroewestermann1679
@lukasgroewestermann1679 2 жыл бұрын
Great video :)
@CodingIsFun
@CodingIsFun 2 жыл бұрын
Thank you! :)
@mpfiesty
@mpfiesty 4 ай бұрын
Great video! Could you do another video where you add a budget creation step with a table that has drop-downs for selecting the expense/income accounts? This would be hugely helpful and applicable for a job I am working on.
@CodingIsFun
@CodingIsFun 4 ай бұрын
Thank you for watching the video & your suggestion.
@theh1ve
@theh1ve Жыл бұрын
You Sir are awesome. These tutorials are easy to follow and you do a great job explaining what its happening, thank you. One question if I may, could you do a tutorial for using a local db rather than a cloud based one? I ask as I like many have real restrictions on where we can send and store our data. And for my application it would need to be a local db using postresql for example? Or would it be easy to modify what you have here maybe?
@CodingIsFun
@CodingIsFun Жыл бұрын
Thanks for watching the video and your suggestion! :)
@bighittxt8419
@bighittxt8419 Жыл бұрын
it work on my pc thx bro vеry much
@CodingIsFun
@CodingIsFun Жыл бұрын
You're very welcome! Thank you for watching and for the comment!
@EpicCouchPotatoes
@EpicCouchPotatoes 2 жыл бұрын
Would be cool to teach how to create a public available app. But anyway cool to play around :)
@CodingIsFun
@CodingIsFun 2 жыл бұрын
Thank you for watching the video & your suggestion.
@TauvicRitter
@TauvicRitter Жыл бұрын
Very inspiring and professional. Would like to know how to automatically switch to the visualization page after pressing submit on the input form.
@CodingIsFun
@CodingIsFun Жыл бұрын
Thanks so much for watching the video and leaving a comment! Your request is definitely noted. However, I get a ton of requests for custom solutions and, as much as I'd love to help everyone out, I just don't have the time in my schedule to develop and test all of them. I hope you can understand. Happy Coding!
@tokelo2547
@tokelo2547 Жыл бұрын
Great video! May you please make another video connecting streamlit webpage to a MySQL database
@CodingIsFun
@CodingIsFun Жыл бұрын
Thanks for watching and your suggestion
@SolidBuildersInc
@SolidBuildersInc 6 ай бұрын
If I can take the time to say how much I enjoyed this content and such a rich solution to a Streamlit App development . I am self taught now for 7 years and I really seem to identify with your style of coding. Ex. Using different list in settings and looping through to establish your datasets. I just love the way this came together and it was well thought out and delivered. My only concern is what of Deta is Depricated for some reason ? I guess doing a fetchall and storing on a local DB would do the trick using cron job ? Your thoughts are appreciated...
@CodingIsFun
@CodingIsFun 6 ай бұрын
Thank you for watching and for your kind words. I'm glad to hear that you appreciate my coding/teaching style. Regarding your question: Yes, Deta has undergone significant changes in recent months. The product is now called Deta Space (which you can still use for this project, but the steps differ, and you would need to refer to the current documentation). However, as you mentioned, you could also use any other database of your choice. Happy coding! :)
@nikolasandreou9962
@nikolasandreou9962 Жыл бұрын
Hello, and THANK YOU. Streamlit is now one of my favourite tools thanks to your helpful videos and tutorials. Just one thing though if you could please help, Deta is now upgraded to Space I think and I can't set it up.
@CodingIsFun
@CodingIsFun Жыл бұрын
Thanks for watching. I'm happy to hear that you found my Streamlit tutorials helpful. That's right - Deta Cloud is now Deta Space. So, the steps I've shown here are not exactly the same. You'll need to check out the updated Deta Space documentation: deta.space/docs/en/introduction/start/. Good luck with your project, and happy coding!
@brandonpalacios5945
@brandonpalacios5945 Жыл бұрын
Amazing video! How could you add an option to visualize all the periods' information in the same chart? Thanks!
@CodingIsFun
@CodingIsFun Жыл бұрын
Thanks so much for watching the video and leaving a comment! Your request is definitely noted. However, I get a ton of requests for custom solutions and, as much as I'd love to help everyone out, I just don't have the time in my schedule to develop and test all of them. I hope you can understand. Happy Coding!
@avinashmishra51
@avinashmishra51 Жыл бұрын
Great explanation, one question though,How do I add multiple tab in header section of page?
@CodingIsFun
@CodingIsFun Жыл бұрын
Thanks! 16:59 min kzfaq.info/get/bejne/nquAotegmt7UY58.html
@SanviPatil2019
@SanviPatil2019 2 жыл бұрын
Pls made video on Excel VBA
@CodingIsFun
@CodingIsFun 2 жыл бұрын
Thanks for your comment & suggestion!
@zahiruddinzahidanishah787
@zahiruddinzahidanishah787 2 жыл бұрын
Very good tutorial. Really help me in learning streamlit. By the way, hope you can make some small tutorials on Deta. Another question is, can you share some code to show how to sum all expenses in a year, instead of in a month. TQ
@CodingIsFun
@CodingIsFun 2 жыл бұрын
Thank you. Glad you liked the video. Here is your code to sum up all incomes for all periods: entries = fetch_all_periods() total_income_all_entries = sum([sum(entry['incomes'].values()) for entry in entries]) Happy Coding!
@zahiruddinzahidanishah787
@zahiruddinzahidanishah787 2 жыл бұрын
Can i make summation based on year? Tq
@CodingIsFun
@CodingIsFun 2 жыл бұрын
@@zahiruddinzahidanishah787 Yes, that is also possible. I am sure you can tweak the code I have provided you earlier - just give a try ;)
@zahiruddinzahidanishah787
@zahiruddinzahidanishah787 2 жыл бұрын
@@CodingIsFun Ok, sure. I will give it a try. TQ
@shiazasif8058
@shiazasif8058 2 жыл бұрын
Hi would like to request you to make a video on creating streamlit Web app for generating Invoices in PDF.
@CodingIsFun
@CodingIsFun 2 жыл бұрын
Thanks for watching the video & your video suggestion. Sounds like an exciting video topic. I cannot make any promises, but l will see what I can do.
@manohartimothy5825
@manohartimothy5825 Жыл бұрын
Thanks a lot Sir... Your explanations are too good. I did learn a lot from you . One question Sir. Is it possible to update the data which I have already added. I like to do the update in the application itself . Otherwise one can fetch the data and do the correction with out going to the DB. I appreciate it.. thanks...Manohar
@CodingIsFun
@CodingIsFun Жыл бұрын
Hi Manohar. Yes, that is possible. Please refer to the deta docs to update values in the DB: docs.deta.sh/docs/base/sdk#update Happy Coding!
@zac1427
@zac1427 Жыл бұрын
I wonder if you could do a tutorial on how to connect streamlit data to AWS databse such as S3 buckets or DynamoDB. Much Appreciated
@CodingIsFun
@CodingIsFun Жыл бұрын
Thanks for watching and for your suggestion. I'll keep it in mind. In the meantime, you might find the following tutorial on connecting Streamlit to S3 useful: docs.streamlit.io/knowledge-base/tutorials/databases/aws-s3. Happy coding!
@atangbingana283
@atangbingana283 10 ай бұрын
Have you done anything on inventory management ? I am in the shipping/logistics space and what to build something for my team of 3 - shipping containers to be more specific
@CodingIsFun
@CodingIsFun 10 ай бұрын
Thanks for watching. I do not have specific inventory management video on my channel.
@atangbingana283
@atangbingana283 10 ай бұрын
Got it do you recommend a video for me to watch - Will be working on some of your videos this week. @@CodingIsFun
@sounmanhong6601
@sounmanhong6601 Жыл бұрын
This is fantastic! I just started to learn Python and found your great video!!! May I ask two questions. I received "No module named 'database' " error message from Python, but the code still runs (with data stored in deta), which is really strange. Also, what if I have a multipage streamlit app and need to collect multiple user inputs on different pages? I think it can be very complicated. Do you have any advice or reference to recommend?
@CodingIsFun
@CodingIsFun Жыл бұрын
Thanks for watching. Hard to tell from a distance why you are getting an error message. Not sure about your exact use-case, but you can also collect (save data to a database) on multiple pages. Happy Coding!
@sounmanhong6601
@sounmanhong6601 Жыл бұрын
@@CodingIsFun Thank you! :) One follow-up question. Should we type "pip install database" before we "import database from db" ? or since we created database.py, we do not need to install anything?
@CodingIsFun
@CodingIsFun Жыл бұрын
@@sounmanhong6601 There is no need to use pip, as the database.py is a local module.
@bedirhanyelkovanc5422
@bedirhanyelkovanc5422 Жыл бұрын
feel like ti is ticking way too fast for lol. but hey, as long as you do what you love- the sky is the limit! also just a little advice to
@CodingIsFun
@CodingIsFun Жыл бұрын
Thanks for watching and for your feedback!
@kunalpandya8468
@kunalpandya8468 2 жыл бұрын
Great video. My question is that can we add config.toml as code to app.py file directly?
@CodingIsFun
@CodingIsFun 2 жыл бұрын
Thanks for watching. As far as I can see, this seems not possible (reference: docs.streamlit.io/library/advanced-features/configuration)
@mabenba
@mabenba Жыл бұрын
As always great video! Thanks for sharing your wisdom with us. I can't manage to make the config.toml file to not break my streamlit app. Whenever I save the file, a new error appears and it is about streamlit not being able to read utf-8 or something. Nothing on the internet has helped me so far. Have you ever faced this kind of problems with themes?
@CodingIsFun
@CodingIsFun Жыл бұрын
Ensure your config.toml is UTF-8 encoded and without special characters. Verify the file syntax and its location in a .streamlit directory at your project root. Also, make sure you're using Streamlit v0.79 or newer, which support themes. If these don't help, sharing your error message can help to pinpoint the issue better.
@NinadPethkar
@NinadPethkar Жыл бұрын
At 6:52 , You are adding columns to the form. However, in the output, selectbox for year is added below that of month. IS this expected ?
@CodingIsFun
@CodingIsFun Жыл бұрын
Yes, that is expected -> streamlit is mobile responsive. If you maximize the window, you can see the columns.
@NinadPethkar
@NinadPethkar Жыл бұрын
You can also use streamlit Tabs for navigation.
@CodingIsFun
@CodingIsFun Жыл бұрын
Thanks! Yes, Streamlit tabs are also a great (native) option (but that feature was introduced after releasing the video).
@NinadPethkar
@NinadPethkar Жыл бұрын
@@CodingIsFun Oh. Damn, I thought it was introduced at the beginning. Anyways, A very good video. I got to learn many tricks! My favorite: col1.metrics. :D :)
@data.analyst
@data.analyst Жыл бұрын
Sir ,your videos are flawless. I have a query that is : streamlit customized themes are not applied even though I have saved .streamlit/config.toml files in all my projects else everything works fine. Please help me out of this problem
@CodingIsFun
@CodingIsFun Жыл бұрын
Please include the theme in your setup.sh file, like so: www.screencast.com/t/tmbfYXm8p pastebin.com/SKYJJq1x
@ghina233
@ghina233 Ай бұрын
Hello! I wonder i f i can get a Machine Learning Tutorial using streamlit? It will be a very big help
@CodingIsFun
@CodingIsFun Ай бұрын
Thank you for watching the video & your suggestion. Cheers, Sven ✌️
@grev201
@grev201 2 жыл бұрын
Please, made video an example of a multipage application
@CodingIsFun
@CodingIsFun 2 жыл бұрын
Thanks for watching the video and your video idea! Much appreciated!
@manin4568
@manin4568 2 жыл бұрын
Yes
@ogechukwuohadiugha672
@ogechukwuohadiugha672 Жыл бұрын
What text editor do you use to build a web application with streamlit? Jupyter notebook doesn't seem to work.
@CodingIsFun
@CodingIsFun Жыл бұрын
I have never used Jupyter Notebook's for testing streamlit application, but there might be some possibilities. Check out the following discussion: discuss.streamlit.io/t/working-with-jupyter-notebooks/368 In the video, I have used the text editor 'Atom'. I hope it helps!
@ogechukwuohadiugha672
@ogechukwuohadiugha672 Жыл бұрын
@@CodingIsFun I have just downloaded Atom. I'll try it out and see how it works.
@sergeysergey421
@sergeysergey421 2 жыл бұрын
As option we can use sqlalchemy and slqllite for manage db CRUID and filtration
@CodingIsFun
@CodingIsFun 2 жыл бұрын
You can use any DB you like :)
@sergeysergey421
@sergeysergey421 2 жыл бұрын
@@CodingIsFun sqlalchemy not db thise is like python ORM make translation to SQL. You can write query code on python, and automate translate to many SQL dialects. Like django ORM.
@sergeysergey421
@sergeysergey421 2 жыл бұрын
@@CodingIsFun sqlalchemy not db thise is like python ORM make translation to SQL. You can write query code on python, and automate translate to many SQL dialects. Like django ORM.
@CodingIsFun
@CodingIsFun 2 жыл бұрын
@@sergeysergey421 Yes, you could also use SQLAlchemy. Yet, I cannot promise to make a tutorial on that.
@pixelz5353
@pixelz5353 7 ай бұрын
hey @coding is fun. i am having trouble getting my api key from deta as when i go to thier website its asking me to request for devoloper accses and then create a project in "builder" is there anyway to get your api key instally like you did in the video? thanks.
@CodingIsFun
@CodingIsFun 7 ай бұрын
Thanks for watching. The interface from Deta has changed quite a lot. I myself now find it much harder to navigate there. I would suggest having a look at their updated documentation.
@fafa5841
@fafa5841 Жыл бұрын
Want to use it in costing dashboard
@CodingIsFun
@CodingIsFun Жыл бұрын
Great! Happy Coding! :)
@d.k.yogeshwaran1923
@d.k.yogeshwaran1923 Жыл бұрын
Bro What Text Editor did you used to make this website like Sublime, VS Code so on
@CodingIsFun
@CodingIsFun Жыл бұрын
I am used "Atom" in the video.
@ki7985
@ki7985 2 жыл бұрын
thank you for so much Is there any way to deploy it into a multi page app, the only difficulty i am having ^^
@CodingIsFun
@CodingIsFun 2 жыл бұрын
Thanks for watching. Are you referring to the new streamlit feature? blog.streamlit.io/introducing-multipage-apps/ What exactly is the issue you are facing?
@ki7985
@ki7985 2 жыл бұрын
@@CodingIsFun i am unable to deploy it inta a multi page file...
@CodingIsFun
@CodingIsFun 2 жыл бұрын
@@ki7985 Ok, but what exactly is the issue and which hosting/cloud service are you using? More details would be helpful
@aryamanisha9763
@aryamanisha9763 Жыл бұрын
Submit button is not showing ...why??
@CodingIsFun
@CodingIsFun Жыл бұрын
Thanks for watching and for your question. Hard to tell from a distance why you are facing an error. Sorry that I cannot help.
@JSp4rr0w1
@JSp4rr0w1 Жыл бұрын
awesome tutorial, congratulations. but i'm with problems to implement. the main page works, but when i click in data visualization the error "HTTPError: HTTP Error 401: Unauthorized" appears. Please help me, i'm not a expert, i just trying to implement the projetc until the end.
@CodingIsFun
@CodingIsFun Жыл бұрын
Thanks for watching and for your question. Hard to tell from a distance why you are facing an error. Sorry that I cannot help.
@LifeWithAnime4
@LifeWithAnime4 Жыл бұрын
Do we need to run this app every single time using cmd??
@CodingIsFun
@CodingIsFun Жыл бұрын
No, as explained in the video
@Vlapstone
@Vlapstone Жыл бұрын
this is amazing, but what if I want my format to be a float instead of an integer? I tried to change it to "%f" but it still does not accept it.
@CodingIsFun
@CodingIsFun Жыл бұрын
Thanks for watching. Which number do you mean?
@Vlapstone
@Vlapstone Жыл бұрын
@@CodingIsFun thanks for replying, you are becoming my favourite programmer.. I mean floats for the expenses and incomes. But tried %f and it showed an error and that it would still be an integer.
@biscotty6669
@biscotty6669 3 ай бұрын
If anyone else is annoyed by the warnings about missing labels, you can change the `st.expander("Comments") part to: ``` with st.expander("Comments"): comment = st.text_area("comment", placeholder="Enter comment...", label_visibility="hidden") ```
@MaxMustermann-on2gd
@MaxMustermann-on2gd Жыл бұрын
Hi, hast du dein Jupyter Notebook irgendwie angepasst? Die Toolbar sieht bei dir anders aus? Grüße
@CodingIsFun
@CodingIsFun Жыл бұрын
Hi Max Musterman ;) Ich nutze die Jupyter Notebook Erweiterung 'Zen Mode': towardsdatascience.com/three-jupyter-notebook-extensions-that-minimize-distractions-bd9ec98f0e2c Beste Grüße zurück Sven
@thabombonani8640
@thabombonani8640 Жыл бұрын
My theme hasn’t changed after following th instructions ? Can anyone help
@CodingIsFun
@CodingIsFun Жыл бұрын
Thanks for watching. It has not changed locally or on a web server? Which streamlit version are you using?
@jakob1379
@jakob1379 7 ай бұрын
How come you don't structure you code in functions? Or use streamlit secrets for the keys?
@CodingIsFun
@CodingIsFun 7 ай бұрын
Thanks for watching. Because it is just an example :)
@znaigardz9876
@znaigardz9876 Жыл бұрын
i dont have that preset can i get it sowhere
@CodingIsFun
@CodingIsFun Жыл бұрын
Which preset? All files can be found here: github.com/Sven-Bo/streamlit-income-expense-tracker
@Vlapstone
@Vlapstone Жыл бұрын
please help me with Deta... I created the account but created as programmer and it's all different from what you're doing... how can I do it???
@Vlapstone
@Vlapstone Жыл бұрын
Got it!!!!
@CodingIsFun
@CodingIsFun Жыл бұрын
Great!
@088-pritambiswas8
@088-pritambiswas8 Ай бұрын
Hey i cannot use developer mode ..plz help
@CodingIsFun
@CodingIsFun Ай бұрын
Please contact the deta support team. Thanks!
@williamsilva1312
@williamsilva1312 Жыл бұрын
AttributeError: module 'streamlit' has no attribute '_is_running_with_streamlit'.This error happens every time I try to plot the Hiplot view. Do you have any tips to resolve?
@CodingIsFun
@CodingIsFun Жыл бұрын
Thanks for watching. Unfortunately, with that bit of information, I cannot help you. You might want to take some time to write down which line of code is causing the error; let me know if you have modified the code from the tutorial, explain in more depth what you did to troubleshoot the problem and provide some more context. Thanks!
@mashalwasique5513
@mashalwasique5513 Жыл бұрын
i have got an error 'list' object has no attribute 'keys'
@CodingIsFun
@CodingIsFun Жыл бұрын
Thanks for watching and for your question. Hard to tell from a distance why you are facing an error. Sorry that I cannot help.
@mashalwasique5513
@mashalwasique5513 Жыл бұрын
@@CodingIsFun Thanks for replying
@chuchaftw
@chuchaftw Жыл бұрын
They've changed Deta =[. Been having issues setting up the database
@CodingIsFun
@CodingIsFun Жыл бұрын
Yes, I know. ☹ Check out the new documentation: deta.space/docs/en/reference/base/sdk Happy Coding!
@dreamlit8500
@dreamlit8500 Жыл бұрын
Hey everyone, I am getting this error: Missing Submit Button This form has no submit button, which means that user interactions will never be sent to your Streamlit app. To create a submit button, use the st.form_submit_button() function. And I have the correct code ... submitted = st.form_submit_button("Sava Data") if submitted:
@CodingIsFun
@CodingIsFun Жыл бұрын
Please clone the repo and try it again. Happy Coding!
@arnoldtvisagie
@arnoldtvisagie Жыл бұрын
Why do I always receive the warning message that I don't have the latest version of pip. Even though I've updated it🤦‍♂️
@CodingIsFun
@CodingIsFun Жыл бұрын
You may be using multiple Python environments, and the updated pip is installed in a different one. Make sure you're using the correct environment or try using "python -m pip" instead of just pip.
@arnoldtvisagie
@arnoldtvisagie Жыл бұрын
@@CodingIsFun I just wanted to say a huge thank you for teaching me programming! As a teacher, I was a complete noob until you showed me the ropes a few weeks back. Now, I've got four awesome Streamlit apps that make my job a lot more fun. Let me buy you a coffee to say thanks! And by the way, what's your favorite IDE for coding?
@CodingIsFun
@CodingIsFun Жыл бұрын
@@arnoldtvisagie Awesome work on making those four Streamlit apps! It's great to hear that I was able to help you along the way. My favourite IDE is definitely VS Code - it's got so many cool features and extensions. Thank you for offering to support me with a coffee ☕! You can do so here: pythonandvba.com/coffee-donation. Keep up the good work. Happy Coding! 🚀
@jasaamanah6171
@jasaamanah6171 2 жыл бұрын
A wesome
@CodingIsFun
@CodingIsFun 2 жыл бұрын
Thanks!
@drnotebook
@drnotebook Жыл бұрын
Good tutorial, but too much time is wasted on Deta NoSQL database. Database popularity statistics don't lie. Most Python developers want simple, local SQLite databases to start, then PostgreSQL, MySQL, and other SQL databases. Please redo this tutorial using SQLite. Thank you.
@CodingIsFun
@CodingIsFun Жыл бұрын
Thanks for watching the video and sharing your opinion/request.
@manjunathsaloki3927
@manjunathsaloki3927 Ай бұрын
Hey there , Why in the world did you choose that Deta platform to create the database bro, a new user like me even can't find how to get the api key to create a database Worst experience 😞 bro, everything was going fine untill you started with the deta platform.......
@CodingIsFun
@CodingIsFun Ай бұрын
Deta has changed after releasing the video... Cheers, Sven ✌️
@somyaagarwal2942
@somyaagarwal2942 3 ай бұрын
this deta space is literally the worst ui i have ever seen; its impossible to navigate through the website; i am pissed
@CodingIsFun
@CodingIsFun 3 ай бұрын
I feel you! I'm not a fan of the new UI either. I find myself lost in (Deta) space too 😬
@pivotai525
@pivotai525 Жыл бұрын
With your help, coding is fun!
@CodingIsFun
@CodingIsFun Жыл бұрын
Happy to hear that! :)
@Hcjfnzjc
@Hcjfnzjc Жыл бұрын
this is great and I followed up until Deta... :( I've spent 30 mins on trying to get a new project setup with no luck
@CodingIsFun
@CodingIsFun Жыл бұрын
Thanks for watching. Yes, deta cloud changed to deta space. I am also not very happy with that change 😅 Please refer to the deta space documentation: deta.space/docs/en/reference/base/sdk I hope it helps! Happy Coding!
@Nick-qw3lm
@Nick-qw3lm 7 ай бұрын
Thank you for your videos. Please could you help me with the following question. After I import a .csv with only two decimals like 1.00 or 333.00, the following lines don't maintain those two decimal. Those decimals become 1.000000 or 333.000000. I would like to have only two decimal. Could you help!? with st.expander("Table"): st.write(category_df.style.background_gradient(cmap="Blues")) csv = category_df.to_csv(index=False).encode('utf-8') st.download_button("Download", data=csv, file_name="file.csv", mime="text/csv", help='Click here to download') with st.expander("Table"): df_selection["month"] = df_selection["date"].dt.month_name() sub_category_Year = pd.pivot_table(data=df_selection, values="amount", index=["name"], columns="month") st.write(sub_category_Year.style.background_gradient(cmap="Blues")) with st.expander("filtered"): st.write(df_selection.iloc[:500, 0:20:1].style.background_gradient(cmap="Blues_r"))
@CodingIsFun
@CodingIsFun 7 ай бұрын
Thank you very much for watching the video and your comment. Your requirements are well noted. Yet, I receive many requests for creating individual solutions. As much as I want to help, I simply do not find the time in my daily schedule to develop & test all the different requests. I hope you can understand. Thank you!
How to create a Streamlit Multi-Page Web App
6:23
Coding Is Fun
Рет қаралды 144 М.
터키아이스크림🇹🇷🍦Turkish ice cream #funny #shorts
00:26
Byungari 병아리언니
Рет қаралды 29 МЛН
Smart Sigma Kid #funny #sigma #comedy
00:25
CRAZY GREAPA
Рет қаралды 11 МЛН
Became invisible for one day!  #funny #wednesday #memes
00:25
Watch Me
Рет қаралды 29 МЛН
Deploy streamlit application build SAAS streamlit
1:23
CodeRebel
Рет қаралды 279
Create Stunning Python GUIs in 10 Minutes With Drag & Drop
11:38
Coding Is Fun
Рет қаралды 19 М.
Login Form in HTML & CSS
11:07
Codehal
Рет қаралды 1,3 МЛН
The EASIEST way to insert a NAVIGATION into your Streamlit app
3:39
Make Your Streamlit Apps Look Amazing with Shadcn
5:33
Coding Is Fun
Рет қаралды 12 М.
Crafting a Dashboard App in Python using Streamlit
36:47
Streamlit
Рет қаралды 43 М.
My Workflow for Building any Streamlit Dashboard Project
9:40
Fanilo Andrianasolo
Рет қаралды 71 М.
터키아이스크림🇹🇷🍦Turkish ice cream #funny #shorts
00:26
Byungari 병아리언니
Рет қаралды 29 МЛН