How vimal-nyx/analyst_exe_agent works
XLSFetch is a Streamlit app for turning an uploaded Excel workbook and a user’s request into a filtered or transformed workbook. The principal workflow is upload, generate Python with Gemini, execute it against a pandas DataFrame, preview the result, and download Excel. The sampled code confirms session-state result handling, preview rendering, Excel writing, and a download button. The actual upload setup, Gemini request, and generated-code execution fall in omitted excerpts, so those relationships are shown as unverified.
Main entry points: app.py Python code generation
Components 9
Streamlit interface
- Upload and request UI
app.py
Data transformation
- Python code generation
app.py - DataFrame transformation
app.py
Results and export
- Cached results
app.py - Result preview
app.py - Excel serialization
app.py - Workbook download
app.py
Other components
- User
- Gemini
Connections 10
- User → Upload and request UI: uploads and requests
- Upload and request UI → Python code generation: submits request
app.py - Python code generation → Gemini: requests code
- Gemini → Python code generation: returns code
- Python code generation → DataFrame transformation: executes generated code
app.py - DataFrame transformation → Cached results: caches result
app.py - Cached results → Result preview: renders result
app.py - Cached results → Excel serialization: writes workbook
app.py - Excel serialization → Workbook download: provides bytes
app.py - Upload and request UI → Workbook download: offers download
app.py