Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add --laparams to CLI (and make related tweaks) #407

Merged
merged 3 commits into from
Apr 13, 2021
Merged

Conversation

jsvine
Copy link
Owner

@jsvine jsvine commented Apr 8, 2021

This commit adds an --laparams flag to the pdfplumber CLI, giving it more feature parity with the core library. To do so, it makes some internal changes to convert.py, including changing the list of objects to convert from a predefined default list to all types extracted. It also changes the order of convert_csv's output so that objects are sorted first by page number (rather than object type).

This commit adds an `--laparams` flag to the pdfplumber CLI, giving it
more feature parity with the core library. To do so, it makes some
internal changes to `convert.py`, including changing the list of objects
to convert from *a predefined default list* to *all types extracted*.
@jsvine jsvine requested a review from samkit-jain April 8, 2021 13:50
@codecov
Copy link

codecov bot commented Apr 8, 2021

Codecov Report

Merging #407 (f8d654a) into develop (ecc9e8e) will increase coverage by 0.02%.
The diff coverage is 100.00%.

Impacted file tree graph

@@             Coverage Diff             @@
##           develop     #407      +/-   ##
===========================================
+ Coverage    98.26%   98.28%   +0.02%     
===========================================
  Files           10       10              
  Lines         1207     1226      +19     
===========================================
+ Hits          1186     1205      +19     
  Misses          21       21              
Impacted Files Coverage Δ
pdfplumber/cli.py 100.00% <100.00%> (ø)
pdfplumber/container.py 100.00% <100.00%> (ø)
pdfplumber/convert.py 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update ecc9e8e...f8d654a. Read the comment docs.

A vestige of a previous, unpursued approach.
@jsvine jsvine merged commit 4407362 into develop Apr 13, 2021
@jsvine jsvine deleted the feature-cli-laparams branch April 20, 2021 13:27
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.

2 participants