py-pdf / py-pdf/pdfly

ENH: pdfly extract-tables using the camelot lib

Open
#185 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

We could provide a new extract-tables subcommand, thats uses the camelot to extract tables from PDF files.

The PR implementing this should include:

  • unit tests
  • documentation: docstrings & a new page in docs/user/
  • the command output should display the .parsing_report from camelot
  • it should be possible to target specific PDF pages
  • various export options should be possible, using the corresponding camelot methods: to_csv() , to_json(), to_excel(), to_html(), to_markdown() & to_sqlite().
  • other options could be implemented immediately or in further PRs: --password for decryption, --flavor, --parallel, --split-text

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 linked Camelot documentation and the existing pdfly CLI entry points, then review how unit tests and pages under docs/user/ are organized. Done means an extract-tables subcommand supports targeted PDF pages, reports parsing details, and the listed export options, with unit tests, docstrings, and a new user-documentation page.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
cli, documentation, testing
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.