FastAPI app that parses CMM inspection reports (PDF/Excel/CSV), computes SPC metrics (Cp/Cpk/Pp/Ppk, control limits, Shapiro-Wilk), generates interactive Plotly charts, and provides AI-powered quality summaries via Azure OpenAI with graceful fallback. Includes 21 passing tests covering parsers, SPC calculations, and API endpoints.
33 lines
684 B
TOML
33 lines
684 B
TOML
[project]
|
|
name = "cmm-report-analyzer"
|
|
version = "0.1.0"
|
|
description = "CMM inspection report analyzer with SPC metrics and AI summaries"
|
|
requires-python = ">=3.11"
|
|
dependencies = [
|
|
"fastapi>=0.115",
|
|
"uvicorn[standard]>=0.32",
|
|
"pdfplumber>=0.11",
|
|
"pandas>=2.2",
|
|
"openpyxl>=3.1",
|
|
"numpy>=2.0",
|
|
"scipy>=1.14",
|
|
"plotly>=5.24",
|
|
"openai>=1.50",
|
|
"pydantic-settings>=2.6",
|
|
"python-multipart>=0.0.12",
|
|
]
|
|
|
|
[project.optional-dependencies]
|
|
dev = [
|
|
"pytest>=8.0",
|
|
"pytest-asyncio>=0.24",
|
|
"httpx>=0.27",
|
|
]
|
|
|
|
[tool.pytest.ini_options]
|
|
asyncio_mode = "auto"
|
|
|
|
[build-system]
|
|
requires = ["setuptools>=75"]
|
|
build-backend = "setuptools.build_meta"
|