comicfn2dict 0.2.4

Creator: codyrutscher

Last updated:

0 purchases

comicfn2dict 0.2.4 Image
comicfn2dict 0.2.4 Images
Add to Cart

Description:

comicfn2dict 0.2.4

comicfn2dict
An API and CLI for extracting structured comic metadata from filenames.
Install

pip install comicfn2dict

API

from comicfn2dict import comicfn2dict, dict2comicfn

path = "Comic Series #001 Title (2024).cbz"

metadata: dict[str, str| tuple[str,...]] = comicfn2dict(path, verbose=0)

filename: str = dict2comicfn(metadata, bool=True, verbose=0)

CLI

comicfn2dict "Series Name #01 - Title (2023).cbz"
{'ext': 'cbz',
'issue': '001',
'series': 'Series Name',
'title': 'Title',
'year': '2023'}

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Customer Reviews

There are no reviews.