AJ Slater 2a59ec4cbd
v0.2.1 (#7)
* update deps. bump version

* fix news

* update deps. update ruff. lint

* Support Python 3.9 (#6)

* lint

* update deps tests work against python 3.9

* bump version and news

---------

Co-authored-by: Timmy Welch <timmy@narnian.us>
2024-03-04 12:36:39 -08:00
2024-02-23 18:29:45 -08:00
2024-03-04 12:36:39 -08:00
2024-03-04 12:36:39 -08:00
2024-03-04 12:36:39 -08:00
2023-12-21 13:04:52 -08:00
2024-02-16 18:27:29 -08:00
2023-12-21 13:04:52 -08:00
2023-12-21 13:04:52 -08:00
2023-12-21 13:04:52 -08:00
2023-12-21 13:04:52 -08:00
2023-12-21 13:04:52 -08:00
2023-12-21 13:04:52 -08:00
2023-12-21 13:04:52 -08:00
2024-02-23 18:29:45 -08:00
2024-02-23 18:29:45 -08:00
2024-03-04 12:36:39 -08:00
2024-02-16 18:27:29 -08:00
2023-12-21 13:06:58 -08:00
2024-02-23 19:06:35 -08:00
2024-03-04 12:36:39 -08:00
2024-03-04 12:36:39 -08:00
2024-02-16 18:27:29 -08:00
2024-03-04 12:36:39 -08:00
2024-03-04 12:36:39 -08:00
2024-02-23 18:23:08 -08:00

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'}
Description
No description provided
Readme 598 KiB
Languages
Python 72.1%
Makefile 11.5%
JavaScript 8.3%
Shell 7.2%
Dockerfile 0.9%