Skip to main content

comic-list.py - Output a list of owned/missing issues of a comic book series in a single folder

Installation

pip install comic-list

Description

comic-list.py will print a list of owned and missing issue numbers given a folder which contains comic book files with issue number in the file name.

Default supported extensions are: CBZ, CBR, CB7, CBA, CBT

When run no arguments it will use the following defaults:

  • Get file names from current directory matching supported extensions

  • Get the issue number immediately succeeding the # symbol

  • Use the first and last issue numbers in the directory as the total range

    python comic-list

Options

You can view the arguments by running python comic-list --help

positional arguments:
  dir                   Input folder

optional arguments:
  -h, --help            show this help message and exit
  --start START, -s START
                        Starting number
  --end END, -e END     Ending number
  --digit-group [DIGIT_GROUP], -d [DIGIT_GROUP]
                        Nth digit group in file name that contains issue
                        number
  --filetype FILETYPE, -f FILETYPE
                        Custom file extension to check for

Starting and ending number

By default the script will use the lowest and highest issue number from the files in the folder as the starting and ending points for the range. If the folder is missing the first and last issue in a series, manually specify these numbers.

Digit group

By default the script will use regex to get the issue number from a file name immediately succeeding the # symbol.

If your file names do not contain the # symbol, you can call --digit-group with no arguments to grab the first set of digits in the file name as the issue number.

If the first set of digits in the file name is not the issue number, for example if the year preceeds the issue number in the file name, you can supply a number to --digit-group to specify which Nth group of digits in the file name is the issue number.

Examples

View the examples folder for example output for each argument type

Metadata

Release files for comic-list 0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for comic-list 0.2
File Size Uploaded Provenance Actions
comic-list-0.2.tar.gz 3.5 kB Without provenance Details for comic-list-0.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for comic-list 0.2
File Interpreter ABI Platform Actions
comic_list-0.2-py3-none-any.whl Python 3 none any Details for comic_list-0.2-py3-none-any.whl

Total release size: 8.0 kB

Release files / comic-list-0.2.tar.gz

Download URL comic-list-0.2.tar.gz
Size 3.5 kB
Tags Source
SHA-256 checksum
How to use checksums
3b71541644738f36dca82106e3066e9e27e2536bf3a3d3734fb27b17a19aa13a
BLAKE2b-256 checksum
How to use checksums
7463a557db8f0657b2ddbdc0bfe1c9c04d1684049e85291a5ce6b18b61858a6f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.5

Release files / comic_list-0.2-py3-none-any.whl

Download URL comic_list-0.2-py3-none-any.whl
Size 4.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
445ee8bf24b099dbcc7e2de1560ba3d9011307df11daeea6e512876b2951903e
BLAKE2b-256 checksum
How to use checksums
11ed6b6fc49f0f83c7fcb294a96ffedf08b36105982482560448d9b467ce4722
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.5

Security for comic-list 0.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.2 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page