Python utility and Streamlit web app that turns Anaplan model history logs into a developer work-time report. It groups activity into sessions based on inactivity, summarizes hours per developer, and can export CSV or Excel dashboards.
Access the interactive Streamlit app for easy file uploads and visual analysis.
streamlit run app.py- Go to share.streamlit.io
- Sign in with your GitHub account
- Click "New app"
- Select:
- Repository:
ProaFilippi/Model-Builder-Work-Review - Branch:
Render-Streamlit-App - Main file path:
app.py
- Repository:
- Click "Deploy!"
Your app will be live at: https://[your-app-name].streamlit.app
- Push this repository to GitHub
- Go to Render.com → New Web Service
- Connect your GitHub repository
- Set:
- Build Command:
pip install -r requirements.txt - Start Command:
streamlit run app.py --server.port=$PORT --server.address=0.0.0.0
- Build Command:
- Deploy!
- Expects tab-separated history exports with columns such as
Date/Time (UTC)andUser. - If no files are passed, it automatically scans the
Logs/folder for.txtor.csvfiles.
- Install Python 3.10+.
- Install dependencies:
pip install -r requirements.txt
- Basic run using the default
Logs/directory:python analyze_work_time.py
- Provide explicit files and tweak inactivity (minutes between sessions):
python analyze_work_time.py Logs/CMC\ Datahub\ History\ Oct\ 26\ to\ Dec\ 8\ 2025.txt -i 45
- Useful flags:
-o OUTPUTsave the text report to a file--csvexport chunk and summary CSVs (named after the first input file)--excel FILE.xlsxexport a multi-tab Excel report--summaryshow only the per-developer summary--min-hours Xfilter out developers with total hours below X (e.g.,--min-hours 1.0)
The CLI prints what it finds, how many sessions were detected, and where exports are written.
- Raw logs and generated reports (
.txt,.csv,.xlsx,Logs/) are ignored by git to keep the repo clean—keep your data locally or rename the ignore rules if you need to commit samples.