๋ณธ๋ฌธ ๋ฐ”๋กœ๊ฐ€๊ธฐ

Python/Streamlit

[Streamlit] bookmarks

๋ฐ˜์‘ํ˜•

 

 

5. Use Screen

Streamlit will close the session as soon as you exit SSH session. To make it persistence, we need to use screen tool. Once you create session in screen, you can close the terminal and connect the server using new terminal. It will create persistence session.

# screen -S streamlit

Deploy Streamlit app:

# streamlit run main.py --server.port 80

Now close the terminal and connect with server in new terminal and run following command list the screen session.

# screen -list

We have successfully completed with the installation process and also we have deployed our first app.

In this article, we have seen how to install Streamlit on Ubuntu 20.04.

 

 

 

https://www.hostnextra.com/kb/install-streamlit-on-ubuntu-20-04/

 

Install Streamlit on Ubuntu 20.04 - HostnExtra

We'll explain how to install Streamlit on Ubuntu 20.04. Streamlit is the fastest way to build and share data apps. Pure Python shareable web apps in minutes.

www.hostnextra.com

 

 

https://bio-info.tistory.com/42

 

[๋ฆฌ๋ˆ…์Šค] screen(์Šคํฌ๋ฆฐ) ์‚ฌ์šฉ๋ฒ•, screenrc

Screen์ด๋ž€? Screen์ด๋ž€ Linux์—์„œ ๋…๋ฆฝ์ ์œผ๋กœ ๋™์ž‘ํ•˜๋Š” ๊ฐ€์ƒ ํ„ฐ๋ฏธ๋„์„ ๋„์›Œ์ฃผ๋Š” ๊ฒƒ์„ ์˜๋ฏธํ•ฉ๋‹ˆ๋‹ค. ์ฆ‰, ๋ฐฑ๊ทธ๋ผ์šด๋“œ๋กœ ๋™์ž‘ํ•˜๋Š” ๊ฐ€์ƒ ํ„ฐ๋ฏธ๋„์ž…๋‹ˆ๋‹ค. ์žฅ์ : ์Šคํฌ๋ฆฐ์—์„œ ๋ช…๋ น์–ด๋ฅผ ์‹คํ–‰์‹œํ‚ค๊ณ  ํ„ฐ๋ฏธ๋„์„

bio-info.tistory.com

 

 

 

 

https://zzsza.github.io/mlops/2021/02/07/python-streamlit-dashboard/

 

Python Streamlit ์‚ฌ์šฉ๋ฒ• - ํ”„๋กœํ† ํƒ€์ž… ๋งŒ๋“ค๊ธฐ

Python Streamlit์— ๋Œ€ํ•œ ๊ธ€์ž…๋‹ˆ๋‹ค python streamlit tutorial, python streamlit dashboard, python streamlit install, python streamlit vs dash, python dashboard, python streamlit example

zzsza.github.io

 

 

https://lucaseo.github.io/posts/2021-10-09-intro-streamlit-sharing/

 

[KR] Streamlit ์•ฑ ์ •๋ง ์‰ฝ๊ฒŒ ๋ฐฐํฌํ•˜๊ธฐ (ft. Streamlit Sharing)

Streamlit์€ ํŒŒ์ด์ฌ ๊ธฐ๋ฐ˜์œผ๋กœ ์›น์–ดํ”Œ๋ฆฌ์ผ€์ด์…˜์„ ๊ฐœ๋ฐœํ•  ์ˆ˜ ์žˆ๋Š” ํ”„๋ ˆ์ž„์›Œํฌ์ž…๋‹ˆ๋‹ค. ์ด๋ฒˆ ํฌ์ŠคํŒ…์—์„œ๋Š” Streamlit์—์„œ ์ œ๊ณตํ•˜๋Š” ์„œ๋น„์Šค๋ฅผ ํ†ตํ•ด ์•„์ฃผ ์‰ฝ๊ณ  ๊ฐ„๋‹จํ•˜๊ฒŒ ๋‚ด๊ฐ€ ๊ฐœ๋ฐœํ•œ ์›น์„ ๋ฐฐํฌํ•˜๋Š” ๋ฐฉ๋ฒ•์—

lucaseo.github.io

 

https://towardsdatascience.com/how-to-add-a-user-authentication-service-in-streamlit-a8b93bf02031

 

How to Add a User Authentication Service in Streamlit

Developing secure login forms with Streamlit-Authenticator

towardsdatascience.com

 

 

https://medium.com/artificialis/how-to-add-user-authentication-on-your-streamlit-app-c7f50c085b9f

 

How To Add User Authentication On Your Streamlit App

Implement a simple login system

medium.com

 

 

http://www.anoneh.com/066.php

 

Streamlit password page

Streamlit password page Posted under » Python on 13 Jan 2022 Streamlit is new so it doesn't have the depth that Jupyter notebook has when it comes to security. However, this user password thingie would help. Begin by installing it $ pip install streamli

www.anoneh.com

 

import pandas as pd
import streamlit as st
import streamlit_authenticator as stauth
 
names = ['Lewandowski','Hanafi Harron']
usernames = ['lewan','hanafi']
passwords = ['mth107','mth108']
 
hashed_passwords = stauth.hasher(passwords).generate()
authenticator = stauth.authenticate(names,usernames,hashed_passwords,
'AdLeS_cookie','AdLeS_key',cookie_expiry_days=30)
 
name, authentication_status = authenticator.login('Login','main')
 
if authentication_status:
  st.title('Welcome *%s* to Pakistan' % (name))
  st.write("Our first Streamlit App")
 
  st.write(
    pd.DataFrame({
      'A': [1, 2, 3, 4],
      'B': [5, 6, 7, 8]
        })
     )
 
elif authentication_status == False:
  st.error('Username/password is incorrect')
elif authentication_status == None:
  st.warning('Please enter your username and password')

 

 

 

 

https://docs.streamlit.io/knowledge-base/deploy/deploy-streamlit-heroku-aws-google-cloud

 

Streamlit Docs

Join the community Streamlit is more than just a way to make data apps, it's also a community of creators that share their apps and ideas and help each other make their work better. Please come join us on the community forum. We love to hear your questions

docs.streamlit.io

 

 

https://www.youtube.com/watch?v=J9wy6yPJRiQ 

 

 

๋ฐ˜์‘ํ˜•

'Python > Streamlit' ์นดํ…Œ๊ณ ๋ฆฌ์˜ ๋‹ค๋ฅธ ๊ธ€

[Python] Streamlit  (0) 2022.05.03