On 2018-12-21 22:55:41 +0000, John Smallberries said:
> On 2018-12-21 21:24:23 +0000, symm said:
>
>> On 2018-11-28 17:06:08 +0000, John Smallberries said:
>>
>>> ...
>>
>> I hacked a few different versions together a few months ago.
>>
>> The simpliest just spits out the missing issues without condensing
>> sequential missing issues (e.g. "101, 102, 103" instead of "101-103")
>> from #1 to the last issue found (so it doesn't list missing issues
>> after the last number found. The simple version uses Python 2.x with
>> the exeption of importing the 3.x print function. This version is the
>> most likely to compatible on different platforms and not need imported
>> packages IIRC. Basically used as a command line tool but could be
>> encapsulated in an Automator service, etc. It doesn't process minus/-1,
>> 1b, 1,000,000 promotional issues, etc. It assumes issues are named
>> identically prior to issue number.
>>
>> I had been working on versions to condense sequential missing issues,
>> copy results to the clipboard (on Macs) and allow an optional
>> parameters for last published issue, search for c2c/ctc status, print #
>> pages for non-c2c issues, etc.as well as play with Python 3.x and
>> various imported packages.
>>
>> I even invesrtigated APIs to the comicbook info sites to automatically
>> pull published issues info, but didn't get very far as I recall.
>>
>> If there's interest I'll dig it up and brush it off.
>
> I would be interested in giving it a whirl.
OK, did a little more hacking on it for distribution. Now supports
optional last issue number and not published issue ranges. I've tried
to make it platform agnostic but no guarantees.
I checked my pip list and it doesn't appear that any of the imports
require external packages. Again no guarantees.
Here's the help response:
python ~/scripts/python/list_missing_issues_v0.2.py -h
usage: list_missing_issues_v0.2.py [-h] [-l LASTISSUE] [-n NOTPUBLISHED]
archivePath
positional arguments:
archivePath list the missing issues based on archivePath and copy
missing issues to clipboard on Macs
optional arguments:
-h, --help show this help message and exit
-l LASTISSUE, --lastissue LASTISSUE
last issue number of series (if missing)
-n NOTPUBLISHED, --notpublished NOTPUBLISHED
list of issues not published e.g. "7,100-120"
|
|