Replies: 10 comments 9 replies
-
I am not sure if I like the idea of "spamming tons of entries" into the local $PATH, especially considering global installations or larger projects with lots of dependencies. Personally, I prefer one main entry point per package (exposed through a dedicated |
Beta Was this translation helpful? Give feedback.
-
Agreed!
|
Beta Was this translation helpful? Give feedback.
-
I have no strong opinion : I'm using pypdf as a library not in command line. What is proposed sounds reasonable but I would not like to see people asking for new commands, and loose some time/spam the issues database with problems linked with use of the tools in the environment (windows Linux Mac to be properly managed and tested). |
Beta Was this translation helpful? Give feedback.
-
a proposal : add a pool with all alternatives in questions and observe the results after a month |
Beta Was this translation helpful? Give feedback.
-
I dot have your extended experience with the |
Beta Was this translation helpful? Give feedback.
-
I'm just a poor bug killer that's all😳 |
Beta Was this translation helpful? Give feedback.
-
I'll let you organize this poll 🙂 In the meantime, I submitted a draft PR to implement this: #2170 |
Beta Was this translation helpful? Give feedback.
-
poll is open in #2172 |
Beta Was this translation helpful? Give feedback.
-
There is already https://github.com/py-pdf/pdfly which provides what you're looking for I think? |
Beta Was this translation helpful? Give feedback.
-
By the way, while developping PR #2170 I spotted 2 potential bugs: |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Explanation
pdfrw
provides a set of very useful scripts: https://github.com/sarnold/pdfrw/tree/master/examplesPersonnally, I very often use:
I think that a script to extract all images from a PDF would also be handy, like this one: https://stackoverflow.com/a/34116472/636849
The idea would be for
py-pdf
to expose similar features as simple CLIconsole_scripts
:https://github.com/Lucas-C/pre-commit-hooks/blob/master/setup.py#L27
This way, a user could simply:
Would you be open to welcome such feature in
py-pdf
?Beta Was this translation helpful? Give feedback.
All reactions