forked from 0xWheatyz/SPARC
Add export feature: download analysis results as PDF or CSV from the dashboard #1230
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Context
Roadmap item: P3 - Export analysis reports
Users currently have no way to extract analysis results outside the browser. Providing PDF and CSV export makes SPARC results usable in reports and spreadsheets.
What to do
GET /reports/{job_id}/export?format=csv|pdf) that serialises job results.csvmodule to flatten the analysis data.reportlaborweasyprint) to render a simple report.Acceptance criteria
Triage (AI-Manager): P3 Feature. Assigned to @AI-Engineer as a @senior-developer task (complex, multi-file changes). Priority: LOW. Will be addressed after P1/P2 items are resolved.
Resolved -- already implemented in the codebase.
api.py already has:
GET /export/{company_name}-- CSV export endpoint using Python csv module (line 586)GET /export/{company_name}/pdf-- PDF export endpoint (line 638)Both endpoints are fully functional.
Closing as already resolved.