Pizzapup Productions

Data

Structured Data from Inspection Report PDFs

Extract structured inspection data from fire-safety report PDFs.

Interface
REST API
Output
Structured JSON
Status
Prototype

The situation

A focused service that accepts a report PDF and extracts useful inspection sections into structured data, helping move device and building information into downstream quoting or operations workflows.

The problem

Device and building details are locked inside long, inconsistent inspection report PDFs.

The approach

A FastAPI service with a separate extraction routine for each report section, plus validation for file type, empty files, and upload size.

What was built

  • Health and supported-section endpoints
  • Separate extraction routines for multiple report sections
  • Structured results, summary statistics, and processing metadata
  • File type, empty file, and upload-size validation

The result

Reports come back as structured results with summary statistics and processing metadata, ready for the next step in a workflow.

Project details

Built with
Python, FastAPI
Topics
Data, PDF processing, Data extraction
Note
The repository is private and no live demo is linked. The case study avoids customer reports and data.