Unstructured-IO / Unstructured-IO/unstructured-inference

partition_pdf progress bar

Open
#309 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
209
Forks
73
PR merge metrics
No merged PRs in 30d

Description

I'm looking to implement a progress bar into some code for processing long PDFs. The part of my pdf parsing code that takes the longest is the unstructured_inference partition_pdf method. I've been looking around in the codebase and on this github and online, but I cannot find anywhere examples or discussion about a progress bar that could be implemented for this method.
Has anyone done this or knows how it could be done? Many thanks.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing the unstructured_inference partition_pdf method and how long-running PDF processing is organized. Look for existing progress-reporting entry points or tests; done should be a defined progress bar behavior for long PDF processing, with coverage for the relevant workflow.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.