Skip to content

phamxtien/streamlit_get_protocol

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

streamlit_get_protocol

Get window.location.protocol
Return http || https

Installation:

pip install streamlit_get_protocol

Example:

import streamlit as st  
from streamlit_get_protocol import get_protocol

protocol = get_protocol()

if protocol:  
    st.write(protocol)

About

Get window.location.protocol

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published