Unify and organize your comic collection.
Project description
Perdoo
Perdoo is designed to assist in sorting and organizing your comic collection by utilizing metadata files stored within comic archives.
Perdoo standardizes all your digital comics into a unified format (cbz).
It adds and/or updates metadata files using supported services.
Unlike other tagging tools, Perdoo employs a manual approach when metadata files are absent, prompting users to enter the necessary Publisher/Series/Issue details for search purposes.
Installation
Pipx
- Ensure you have Pipx installed:
pipx --version - Install the project:
pipx install perdoo
Usage
Perdoo Commands
Perdoo import
Perdoo archive Commands
Perdoo archive view
Perdoo settings Commands
Perdoo settings view
Perdoo settings locate
Supported Formats
Input Extensions
- .cbr
- .cbt
- .cbz
- .cb7 (Requires installing
cb7dependencies:pipx install perdoo[cb7])
Output Extensions
- .cbz
Metadata Files
- MetronInfo.xml
- Perdoo supports a slightly modified ComicInfo.xml to ignore field ordering.
Services
File Renaming and Organization
File naming and organization uses a pattern-based approach, it tries to name based on the MetronInfo data with a fallback to ComicInfo.
Naming is done based on the Comic Format, set the value to "" and it will fallback to the default setting.
- Default:
{publisher-name}/{series-name}-v{volume}/{series-name}-v{volume}_#{number:3} - Annual:
{publisher-name}/{series-name}-v{volume}/{series-name}-v{volume}_Annual_#{number:2} - Digital Chapter:
{publisher-name}/{series-name}-v{volume}/{series-name}-v{volume}_Chapter_#{number:3} - Graphic Novel:
{publisher-name}/{series-name}-v{volume}/{series-name}-v{volume}_GN_#{number:2} - Hardcover:
{publisher-name}/{series-name}-v{volume}/{series-name}-v{volume}_HC_#{number:2} - Limited Series:
""Falls back to Default - Omnibus:
{publisher-name}/{series-name}-v{volume}/{series-name}-v{volume}_OB_#{number:2} - One-Shot:
""Falls back to Default - Single Issue:
""Falls back to Default - Trade Paperback:
{publisher-name}/{series-name}-v{volume}/{series-name}-v{volume}_TPB_#{number:2}
Options
- Padding: Int and Int-like fields, such as
{number}, can include optional zero-padding by specifying the length (e.g.{number:3}will pad 0's to be atleast 3 digits long,12=>012). - Sanitization: All metadata values are sanitized to remove characters outside the set
0-9a-zA-Z&!-. Custom characters can still be added directly to patterns.
| Pattern Key | Description |
|---|---|
{cover-date} |
The issue cover date in yyyy-mm-dd format. |
{cover-day} |
The day from the issue cover date. |
{cover-month} |
The month from the issue cover date. |
{cover-year} |
The year from the issue cover date. |
{format} |
The full format name of the series. |
{id} |
The primary id of the issue. |
{imprint} |
The publisher's imprint. |
{isbn} |
The issue's ISBN. |
{issue-count} |
The total number of issues in the series. |
{lang} |
The issue's language. |
{number} |
The issue number. |
{publisher-id} |
The publisher's unique id. |
{publisher-name} |
The full name of the publisher. |
{series-id} |
The series' unique id. |
{series-name} |
The full name of the series. |
{series-sort-name} |
Sort-friendly name (omits leading "The", "A", etc...). |
{series-year} |
The year the series started. |
{store-date} |
The store date of the issue in yyyy-mm-dd format. |
{store-day} |
The day from the issue store date. |
{store-month} |
The month from the issue store date. |
{store-year} |
The year from the issue store date. |
{title} |
The issue title. |
{upc} |
The issue's UPC. |
{volume} |
The volume of the series. |
Settings
To set Perdoo setting details, update the file: ~/.config/perdoo/settings.toml.
File will be created on first run.
Example File
[output]
folder = "~/.local/share/perdoo"
format = "cbz"
[output.comic_info]
create = true
handle_pages = true
[output.metron_info]
create = true
[output.naming]
seperator = "-"
default = "{publisher-name}/{series-name}-v{volume}/{series-name}-v{volume}_#{number:3}"
annual = ""
digital_chapter = ""
graphic_novel = ""
hardcover = ""
limited_series = ""
omnibus = ""
one_shot = ""
single_issue = ""
trade_paperback = ""
[services]
order = ["Metron", "Comicvine"]
[services.comicvine]
api_key = "<Comicvine API Key>"
[services.metron]
username = "<Metron Username>"
password = "<Metron Password>"
Details
-
output.folderThe folder where the output files will be stored. Defaults to~/.local/share/perdoo. -
output.formatThe output file format for the comic archives. Defaults tocbz. -
output.comic_info.createWhether to create a ComicInfo.xml file in the output archive. Defaults totrue. -
output.comic_info.handle_pagesWhether to handle page data in the ComicInfo.xml file. Defaults totrue. -
output.metron_info.createWhether to create a MetronInfo.xml file in the output archive. Defaults totrue. -
output.naming.seperatorThe word separator used in the output file names. Defaults to-. Options are-,_,., or(space). -
output.naming.*The naming patterns for different comic formats. Each pattern can be customized or left empty to use the default setting. The patterns support various metadata fields as described in the above "File Renaming and Organization" section. -
services.orderThe order in which the services will be used for metadata retrieval. Metadata will be fetched from the first service that returns a result. Don't include the service name in the list if you don't want to use it. Defaults to["Metron", "Comicvine"], options areMetronandComicvine.
Socials
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file perdoo-0.8.0.tar.gz.
File metadata
- Download URL: perdoo-0.8.0.tar.gz
- Upload date:
- Size: 145.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
76cc1604a7f1da8aa1deb1008a4c8685eeca0a0d4e75642846b0198dce583af0
|
|
| MD5 |
648bbd4fd14771811e3afd88b350fc81
|
|
| BLAKE2b-256 |
ddcb242fb9a2796aab6017e06bc8bdf4216931ea2163c247b5fc6ccd3dcc92bf
|
Provenance
The following attestation bundles were made for perdoo-0.8.0.tar.gz:
Publisher:
publishing.yaml on Buried-In-Code/Perdoo
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
perdoo-0.8.0.tar.gz -
Subject digest:
76cc1604a7f1da8aa1deb1008a4c8685eeca0a0d4e75642846b0198dce583af0 - Sigstore transparency entry: 700622642
- Sigstore integration time:
-
Permalink:
Buried-In-Code/Perdoo@1ae8140e93bce5cd8d92aa42962ad43bb8f3b0da -
Branch / Tag:
refs/tags/0.8.0 - Owner: https://github.com/Buried-In-Code
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publishing.yaml@1ae8140e93bce5cd8d92aa42962ad43bb8f3b0da -
Trigger Event:
push
-
Statement type:
File details
Details for the file perdoo-0.8.0-py3-none-any.whl.
File metadata
- Download URL: perdoo-0.8.0-py3-none-any.whl
- Upload date:
- Size: 31.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
02c227da11d0ee5173e4dc6ddc02497e6ddad4f1fb96e1331173d8e8adda48b0
|
|
| MD5 |
2933f28a524ffd17eb8ae9e35170c6a2
|
|
| BLAKE2b-256 |
245a8ee8d995d20fd25706232dd331e890c27505762a613c056d04d48792ac75
|
Provenance
The following attestation bundles were made for perdoo-0.8.0-py3-none-any.whl:
Publisher:
publishing.yaml on Buried-In-Code/Perdoo
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
perdoo-0.8.0-py3-none-any.whl -
Subject digest:
02c227da11d0ee5173e4dc6ddc02497e6ddad4f1fb96e1331173d8e8adda48b0 - Sigstore transparency entry: 700622645
- Sigstore integration time:
-
Permalink:
Buried-In-Code/Perdoo@1ae8140e93bce5cd8d92aa42962ad43bb8f3b0da -
Branch / Tag:
refs/tags/0.8.0 - Owner: https://github.com/Buried-In-Code
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publishing.yaml@1ae8140e93bce5cd8d92aa42962ad43bb8f3b0da -
Trigger Event:
push
-
Statement type: