-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.py
More file actions
32 lines (27 loc) · 764 Bytes
/
main.py
File metadata and controls
32 lines (27 loc) · 764 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#!/usr/bin/env python3
"""
Verificador de Conectividad - Aplicación Streamlit con Navigation
"""
import streamlit as st
from pages import urls, ips
st.set_page_config(
page_title="Verificador de Conectividad",
page_icon="🌐",
layout="centered",
initial_sidebar_state="expanded"
)
# Configurar navegación multi-página con secciones
pg = st.navigation({
"Herramientas": [
st.Page(urls.urls_page, title="🌐 Verificar URL"),
st.Page(ips.ips_page, title="🌍 Verificar IP")
],
"Análisis": [
st.Page("pages/analytics.py", title="📊 Análisis")
]
})
# Ejecutar la página seleccionada
pg.run()
# Footer
st.markdown("---")
st.text("Verificador de Conectividad | Hecho con ❤️ usando Streamlit")