Testing / streamlit_app.py
wayne-chi's picture
Upload 6 files
78575a4 verified
raw
history blame
348 Bytes
# app.py
import streamlit as st
import pkg_resources
st.title("πŸ“¦ Installed Python Modules")
# Get all installed packages
packages = sorted(
[(d.project_name, d.version) for d in pkg_resources.working_set],
key=lambda x: x[0].lower()
)
# Display them
for name, version in packages:
st.write(f"{name} β€” {version}")