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.
-
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