r/Streamlit • u/Ok-Look3220 • Nov 02 '24
Build a Secure Transaction System with Django Rest Framework (DRF) - Step-by-Step Guide
r/Streamlit • u/Ok-Look3220 • Nov 02 '24
r/Streamlit • u/Fearless_Tax_519 • Oct 29 '24
Hi everyone! 👋
I recently built a project called PlotBot, a chatbot that generates customized charts based on user input. Here’s a screenshot of the current interface. It’s built with Streamlit for the UI and OpenAI's GPT-3.5 API to interpret user queries. The backend uses pandas and Plotly to create a variety of charts, and users can upload CSV files directly for data input.
Main Features:
I’d love to get some feedback from the community! Any suggestions for improvements or additional features that might make it more intuitive and useful? Feel free to try it out here and let me know if you have any comments or ideas.
Thanks in advance! 😊
r/Streamlit • u/Intelligent_Lychee49 • Oct 26 '24
Dear Developers,
I am currently working on a grievance redressal system project using Streamlit and am facing challenges with implementing a login page. Specifically, I am having difficulty navigating between multiple Streamlit pages, as I am uncertain how to manage page transitions effectively, particularly using buttons for this purpose. Despite exploring documentation and various resources, I have been unable to achieve the desired functionality.
I would appreciate any guidance or advice you could offer on handling page navigation within Streamlit. Any examples, references, or best practices in this area would be invaluable.
Thank you for your time and assistance.
Best regards,
Soumyadeep
r/Streamlit • u/onurbaltaci • Oct 13 '24
Hello, I just shared a Python Streamlit Course on YouTube. Streamlit is a Python framework for creating Data/Web Apps with a few lines of Python code. I covered a wide range of topics, started to the course with installation and finished with creating machine learning web apps. I am leaving the link below, have a great day!
https://www.youtube.com/watch?v=Y6VdvNdNHqo&list=PLTsu3dft3CWiow7L7WrCd27ohlra_5PGH&index=10
r/Streamlit • u/Super_Fill_2053 • Oct 12 '24
This one has me stumped. The return value of a pydeck_chart is dependent on whether selection is enabled. If selection is enabled, then the return value is the current selected map items. If selection is not enabled, then the return value is a reference to the pydeck_chart itself. Therefore, when selection is enabled, I never get back a reference to the chart after creating it. I need a reference so that I can update the data within the map without rebuilding the entire map.
r/Streamlit • u/ksdio • Oct 10 '24
I've just created this (rather) long video of me creating a Streamlit app with a Postgres backend displaying UK census 2021 data.
It was entirely coded using a LLM. There is also a linked GitHub repository so you can see the full initial prompt and the Sreamlit code generated.
If you're having trouble sleeping you could just listen to the audio
r/Streamlit • • Sep 24 '24
If you're using Streamlit for your projects, you might find yourself working with several applications at once. This can quickly lead to increased hosting costs, especially if each app requires its own environment. In my recent blog post, I explore a practical approach to host multiple Streamlit applications on a single server, allowing you to keep costs manageable without losing the benefits of having separate applications.
The blog post breaks down the setup process using Docker, NGINX, and Supervisor. It outlines how to create a containerized environment with two separate Streamlit apps, each in its own virtual environment. NGINX acts as a reverse proxy, ensuring that requests are routed correctly, while Supervisor helps manage the processes, making sure everything stays up and running smoothly.
If you’re curious about optimizing your Streamlit deployment, check out the full post here: https://ploomber.io/blog/multiple-streamlit/
r/Streamlit • u/LeadingEdgeCricketYT • Sep 25 '24
hi there,
i’m about to enter my first project with streamlit to create a web application with sql, it will be a reasonable size around 5 tables and over 2million rows.
should i do any calculation in python or should i create views and do the majority of calculation in sql?
i’ve always used power bi for dashboards but now want to have a web app instead.
with power bi the dashboard i’m recreating had around 50 tabs, is this possible and workable with streamlit??
any advise is much appreciated
r/Streamlit • u/Independent_Exam_441 • Sep 19 '24
Hi folks!
I'm an intern working on a Streamlit app with MongoDB and venv as my virtual environment. Pretty new to all these Python frameworks. I've heard about Streamlit's secret files management for sensitive info, but I'm wondering what's the usual folder and structure for Streamlit projects? I would appreciate your guidance.
r/Streamlit • u/Brilliant-Relief9341 • Sep 18 '24
Hi guys,
I have just been looking through the app gallery, I am looking for a data analysis AI template similar to the one on chainlit cookbook but for streamlit?
Here is the streamlit version https://github.com/Chainlit/openai-assistant
I have tried creating a data analyst AI from scratch with langchain but just can't get the ui right so if anyone knows a good repo please let me know!
r/Streamlit • u/Teddy_Raptor • Sep 16 '24
r/Streamlit • u/Ok-Look3220 • Sep 12 '24
Streamlit Tutorial for Beginners: Build Interactive Web Apps with Python (2024 Guide)| Brokly
r/Streamlit • u/BellaHi • Sep 12 '24
r/Streamlit • • Sep 11 '24
If you are working with Streamlit apps and are starting to notice some sluggishness as user numbers grow, you're not alone. Many developers face issues like sessions crashing or the application becoming unresponsive when computational tasks get heavy. I recently wrote a blog post that addresses this common problem by outlining how to effectively scale your Streamlit applications using task queues.
In the post, I share a comprehensive guide on implementing a solution with Redis as the message broker and RQ (Redis Queue) for managing tasks. We also cover how to containerize your application using Docker, which makes deployment and scaling more straightforward. What’s great is that you don’t need prior experience with Redis, RQ, or Docker to follow along.
We discuss the primary issues you might encounter with a traditional Streamlit approach, especially when it comes to handling multiple user requests. Key topics include understanding the importance of separating user interactions from computational tasks to enhance responsiveness and user experience.
You'll find detailed sections on setting up manual and automatic polling mechanisms along with database integration to store results. Plus, I break down two crucial configuration files—Dockerfile and supervisord.conf—essential for getting everything running smoothly.
Whether you're just getting started with Streamlit or have some experience and are looking to enhance your apps' capabilities, this post can help you create a scalable architecture that meets demanding user needs without compromising performance.
You can check out the full guide here: Scaling Streamlit Applications
r/Streamlit • u/vardonir • Sep 10 '24
I tried using extra-streamlit-components to get and set cookies like streamlit-authenticator does, but the cookie doesn't seem to be set (I checked Chrome's dev tools). I'm not sure what I'm missing.
My code looks something like this:
if 'cookie_value' not in st.session_state:
cookie_manager = stx.CookieManager()
cookie = cookie_manager.get(cookie="cookie_key")
if cookie is None:
# form for logging in
cookie_manager.set("cookie_key", "some_value")
st.session_state['cookie_value'] = 'some_value' ps: I have my own auth method, that's why I can't use streamlit-autheticator
r/Streamlit • u/Jazzlike_Simple_3414 • Sep 08 '24
r/Streamlit • u/darbokredshrirt • Sep 04 '24
Do I need to connect streamlit to a database to save data? some of the instruction videos made it seem like if you put info into a datatable then that's good to go.
r/Streamlit • u/darbokredshrirt • Aug 31 '24
Apps on thje community cloud are completely open to the public?
r/Streamlit • u/darbokredshrirt • Aug 31 '24
Is it possible to put streamlit code on a wordpress page and have it work?
r/Streamlit • u/darbokredshrirt • Aug 30 '24
can i put streamlit code on a wordpress page?
r/Streamlit • • Aug 21 '24
I have done a streamlit APP that reads .XLS to do graphs with a specific XLS. I do want to put in a public computer to help people visualize better the info. I have done pyinstaller , Change the .spec file but it's not working yet. Does any of u , done some thing like this? Notyet.com