Awesome video Fanilo 🔥🔥 . One quick question , do you know about the authentication options in streamlit ? Am trying to get my company to use streamlit instead of powerBI and the biggest hurdle in doing so is the lack proper authentication support. Here are some of the use cases that i feel like streamlit is lacking , 1. Streamlit cloud supported user authentication and authorization 2. User wise data display ( based on the users the data displayed will change ) 3. Assign user groups ( employee , manager , directors ect ) Really hoping that you could help me out with this by creating a video 🥺. again thanks for the great content. 😇✌️
Hello Shamal, nice to see such a use case! Doing this outside of Streamlit Cloud, I was considering making such a video but most of the authentication methods I have seen in the community were very manual (for example auth0.com/blog/streamlit-user-and-api-authentication/ using Auth0 and components to drive authentication) and my current impression is it's on a very case-to-case basis, depending on how your company is managing user accesses & user groups. If you rely solely on Streamlit Cloud, you can build a private Github app, and uniquely authorize users to access the app on a per-email basis (docs.streamlit.io/streamlit-cloud/get-started/share-your-app#sharing-private-apps) or by adding them to the Github private repository/organization. Then with st.experimental_user (docs.streamlit.io/library/api-reference/personalization) you can get the email of the logged-in user and display user-wise data accordingly. There's no user-group data in Streamlit Cloud though, that's something you may have to get somewhere else. Also that means it's on you to sync the users authorised to access the app and users in your organization's database. Hope it was clear! I'm pushing this to the dev team and see where it goes from there! Don't hesitate to add more info Have a nice day! Fanilo
@@andfanilo I would also like to see a video about it. So far, I have also had more headaches with controlling users and roles to organize access within a local user group. Every impression is often helpful. By the way, you're doing a great job with your videos!
FYI, I have transferred this to the Streamlit team and we hope do build a set of documentation for this. Stay tuned, I'll make a community post when that happens ;)
It’s actually my web browser well aligned on the right of vscode. I did resize some vscode components to achieve that alignment gist.github.com/andfanilo/ae99aed9c454a46c1dbfe6a0b9fa0012
Hello Jacky. Do you mean CSV file? You could use the Python csv module (docs.python.org/3/library/csv.html) to parse the file into an array of tuples of data...but that is pretty low-level What issues do you have with installing Pandas?
Tant de choses que je ne savais pas...! :D
(Les icones sur les error/warning
Moi aussi j'avais loupé cette feature XD thanks for watching!
Wow, amazing
Thank you for watching :) hope to see you around!
@@andfanilo of course
I didn't even know about the websocket headers argument and I work at streamlit lol
I need to integrate that into the video somehow 😆
Awesome video Fanilo 🔥🔥 . One quick question , do you know about the authentication options in streamlit ? Am trying to get my company to use streamlit instead of powerBI and the biggest hurdle in doing so is the lack proper authentication support. Here are some of the use cases that i feel like streamlit is lacking ,
1. Streamlit cloud supported user authentication and authorization
2. User wise data display ( based on the users the data displayed will change )
3. Assign user groups ( employee , manager , directors ect )
Really hoping that you could help me out with this by creating a video 🥺.
again thanks for the great content. 😇✌️
Hello Shamal, nice to see such a use case!
Doing this outside of Streamlit Cloud, I was considering making such a video but most of the authentication methods I have seen in the community were very manual (for example auth0.com/blog/streamlit-user-and-api-authentication/ using Auth0 and components to drive authentication) and my current impression is it's on a very case-to-case basis, depending on how your company is managing user accesses & user groups.
If you rely solely on Streamlit Cloud, you can build a private Github app, and uniquely authorize users to access the app on a per-email basis (docs.streamlit.io/streamlit-cloud/get-started/share-your-app#sharing-private-apps) or by adding them to the Github private repository/organization. Then with st.experimental_user (docs.streamlit.io/library/api-reference/personalization) you can get the email of the logged-in user and display user-wise data accordingly. There's no user-group data in Streamlit Cloud though, that's something you may have to get somewhere else. Also that means it's on you to sync the users authorised to access the app and users in your organization's database.
Hope it was clear!
I'm pushing this to the dev team and see where it goes from there! Don't hesitate to add more info
Have a nice day!
Fanilo
@@andfanilo I would also like to see a video about it. So far, I have also had more headaches with controlling users and roles to organize access within a local user group. Every impression is often helpful. By the way, you're doing a great job with your videos!
FYI, I have transferred this to the Streamlit team and we hope do build a set of documentation for this. Stay tuned, I'll make a community post when that happens ;)
How can I preview the app layout on vscode, like you did in the video?
It’s actually my web browser well aligned on the right of vscode. I did resize some vscode components to achieve that alignment gist.github.com/andfanilo/ae99aed9c454a46c1dbfe6a0b9fa0012
Hey, I have problem to install pandas to read the CVS file ? Any other module is available for parsing the CVS. Your help is appreciated 👍
Hello Jacky. Do you mean CSV file? You could use the Python csv module (docs.python.org/3/library/csv.html) to parse the file into an array of tuples of data...but that is pretty low-level
What issues do you have with installing Pandas?
@@andfanilo thanks, the problem solved