Model/utils/sharepoint
Khalim Conn-Kowlessar 8fc8a90c8b Add WCHG Elmhurst summary ingest script (SharePoint -> S3 + epc_property)
One-time ingest of Wythenshawe Community Housing Group Elmhurst *Summary*
PDFs: resolve each property's SharePoint folder from the WCHG xlsx, download
the summary, run the existing extractor -> mapper -> SAP10 pipeline, and
(with --commit) push the PDF to S3, record an uploaded_files row, and save
the EpcPropertyData to epc_property keyed on the national UPRN (property_id
NULL, replace-by-(uprn,source)). Dry-run by default; also emits a SAP-accuracy
CSV vs Elmhurst's reported current SAP (% within 0.5 + MAE).

Adds DomnaSites.SOCIAL_HOUSING (SOCIAL_HOUSING_SHAREPOINT_ID) for the site.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-16 16:40:27 +00:00
..
__init__.py added sharepoint functionality for mr roth - enjoy 2026-03-24 13:36:47 +00:00
domna_sharepoint_client.py SharePoint folder listing requests 500 items per page to cover alphabetically-late properties 🟩 2026-06-04 12:52:07 +00:00
domna_sites.py Add WCHG Elmhurst summary ingest script (SharePoint -> S3 + epc_property) 2026-07-16 16:40:27 +00:00
main.py added sharepoint functionality for mr roth - enjoy 2026-03-24 13:36:47 +00:00
sharepoint_client.py SharePoint 404s raise ResourceNotFoundError without error-level logging 🟩 2026-07-03 12:26:33 +00:00
temp added sharepoint functionality for mr roth - enjoy 2026-03-24 13:36:47 +00:00