Spaces:
Sleeping
Sleeping
File size: 348 Bytes
78575a4 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
# 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}")
|