{"action":"created","issue":{"url":"https://api.github.com/repos/mstamy2/PyPDF2/issues/259","repository_url":"https://api.github.com/repos/mstamy2/PyPDF2","labels_url":"https://api.github.com/repos/mstamy2/PyPDF2/issues/259/labels{/name}","comments_url":"https://api.github.com/repos/mstamy2/PyPDF2/issues/259/comments","events_url":"https://api.github.com/repos/mstamy2/PyPDF2/issues/259/events","html_url":"https://github.com/mstamy2/PyPDF2/issues/259","id":147758359,"number":259,"title":"Install scripts with package","user":{"login":"petebachant","id":4604869,"avatar_url":"https://avatars.githubusercontent.com/u/4604869?v=3","gravatar_id":"","url":"https://api.github.com/users/petebachant","html_url":"https://github.com/petebachant","followers_url":"https://api.github.com/users/petebachant/followers","following_url":"https://api.github.com/users/petebachant/following{/other_user}","gists_url":"https://api.github.com/users/petebachant/gists{/gist_id}","starred_url":"https://api.github.com/users/petebachant/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/petebachant/subscriptions","organizations_url":"https://api.github.com/users/petebachant/orgs","repos_url":"https://api.github.com/users/petebachant/repos","events_url":"https://api.github.com/users/petebachant/events{/privacy}","received_events_url":"https://api.github.com/users/petebachant/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mstamy2/PyPDF2/labels/Feature","name":"Feature","color":"009800"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-04-12T13:52:29Z","updated_at":"2016-09-06T22:39:36Z","closed_at":null,"body":"This will allow their use from anywhere via command line. "},"comment":{"url":"https://api.github.com/repos/mstamy2/PyPDF2/issues/comments/245118326","html_url":"https://github.com/mstamy2/PyPDF2/issues/259#issuecomment-245118326","issue_url":"https://api.github.com/repos/mstamy2/PyPDF2/issues/259","id":245118326,"user":{"login":"switham","id":3654045,"avatar_url":"https://avatars.githubusercontent.com/u/3654045?v=3","gravatar_id":"","url":"https://api.github.com/users/switham","html_url":"https://github.com/switham","followers_url":"https://api.github.com/users/switham/followers","following_url":"https://api.github.com/users/switham/following{/other_user}","gists_url":"https://api.github.com/users/switham/gists{/gist_id}","starred_url":"https://api.github.com/users/switham/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/switham/subscriptions","organizations_url":"https://api.github.com/users/switham/orgs","repos_url":"https://api.github.com/users/switham/repos","events_url":"https://api.github.com/users/switham/events{/privacy}","received_events_url":"https://api.github.com/users/switham/received_events","type":"User","site_admin":false},"created_at":"2016-09-06T22:39:36Z","updated_at":"2016-09-06T22:39:36Z","body":"Disclaimer: I wrote \"pdfcat,\" so I'm biased, but...  \r\n\r\n@mlissner -- which script is replicated by pdftk and which one looks minimal?  \r\n\r\nI would think that _general usefulness_ is what ought to determine whether the scripts should be installed.  (That plus whether it's hard to set up for scripts to be installed.)\r\n\r\nIf anything, I think shortness is a plus for a script.  2-up is 55 lines and pdfcat is 81 lines.  pdfcat is based on the pagerange module (including the docstring there), so it's bigger than it looks.\r\n\r\nShort scripts are good because the actual capabilities should be in pdftk the library, and a script is just an interface between a particular capability and the (Unix) command line.  (The fact that a script demonstrates how a Python programmer can use a feature is irrelevant to the question of whether to install the script.)\r\n\r\nI was unfamiliar with pdftk until today.  It seems cool, but why shouldn't PyPDF2 duplicate pdftk features?  Why should someone who has PyPDF2 have to download a separate app?  And how are they supposed to know about pdftk?  If you're comparing pdftk to my pdfcat script... for one thing a script can be used within another script.  For another, some people (me included) prefer command lines to GUIs for such elemental tasks.\r\n\r\nZooming out, I think it would be nice if PyPDF contained a _lot_ of little utility scripts and _boasted about them on its home page_.  As a step towards this, it would be nice to set up the mechanism by which little scripts get installed, to make it easier and encourage PyPDF developers to create scripts that get installed.  2-up and pdfcat, although humble, could be the first examples of such a thing."}}
{"actor":{"display_login":"switham"}}