Skip to content

feat(detect): add .pptx extraction support#1821

Open
mandar-gite wants to merge 4 commits into
Graphify-Labs:v8from
mandar-gite:feat/pptx-support
Open

feat(detect): add .pptx extraction support#1821
mandar-gite wants to merge 4 commits into
Graphify-Labs:v8from
mandar-gite:feat/pptx-support

Conversation

@mandar-gite

Copy link
Copy Markdown

Summary

  • Classifies .pptx as FileType.DOCUMENT alongside the existing .docx/.xlsx.
  • Adds pptx_to_markdown() in graphify/detect.py, matching the existing
    docx_to_markdown/xlsx_to_markdown style (size-capped via _zip_within_caps,
    no subprocess/pandoc dependency).
  • Wires .pptx into convert_office_file() (automatic markdown-sidecar
    conversion) and count_words().
  • Adds python-pptx to the office/all optional-dependency groups and
    regenerates uv.lock accordingly.

Test plan

  • uv run --frozen pytest tests/ -q — 3169 passed, 3 skipped, 0 failed.
  • uv run --frozen python -m tools.skillgen --check — passes.
  • uv sync --all-extras --frozen — verified succeeds with the updated lock.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant