py-pdf / py-pdf/pdfly

Extract text to file

Open
#213 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Python
Stars
571
Forks
50
PR merge metrics
No merged PRs in 30d

Description

There does not seem to be a way to extract-text into an output file. is there a reason for this?

 > pdfly extract-text input.pdf test.txt --help

 Usage: pdfly extract-text [OPTIONS] PDF

 Extract text from a PDF file.

╭─ Arguments ──────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ *    pdf      FILE  [required]                                                                                       │
╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
╭─ Options ────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ --help          Show this message and exit.                                                                          │
╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯

Contributor guide

No contributing guide indexed for this repository

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 with the pdfly extract-text command and run the usage example from the issue to confirm how arguments are currently parsed. Trace the command's existing text extraction entry point and define done as allowing extracted text to be written to the requested output file while retaining the current behavior when no output file is given.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
cli
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.