perdoo 0.4.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- perdoo-0.4.0/.editorconfig +17 -0
- perdoo-0.4.0/.gitattributes +57 -0
- perdoo-0.4.0/.gitignore +17 -0
- perdoo-0.4.0/.pre-commit-config.yaml +56 -0
- perdoo-0.4.0/LICENSE +21 -0
- perdoo-0.4.0/PKG-INFO +183 -0
- perdoo-0.4.0/README.md +139 -0
- perdoo-0.4.0/docs/img/perdoo-archive-view.svg +116 -0
- perdoo-0.4.0/docs/img/perdoo-commands.svg +130 -0
- perdoo-0.4.0/docs/img/perdoo-import.svg +174 -0
- perdoo-0.4.0/docs/img/perdoo-settings-locate.svg +94 -0
- perdoo-0.4.0/docs/img/perdoo-settings-update.svg +119 -0
- perdoo-0.4.0/docs/img/perdoo-settings-view.svg +94 -0
- perdoo-0.4.0/perdoo/__init__.py +72 -0
- perdoo-0.4.0/perdoo/__main__.py +256 -0
- perdoo-0.4.0/perdoo/archives/__init__.py +49 -0
- perdoo-0.4.0/perdoo/archives/_base.py +58 -0
- perdoo-0.4.0/perdoo/archives/cb7.py +85 -0
- perdoo-0.4.0/perdoo/archives/cbr.py +52 -0
- perdoo-0.4.0/perdoo/archives/cbt.py +80 -0
- perdoo-0.4.0/perdoo/archives/cbz.py +91 -0
- perdoo-0.4.0/perdoo/archives/zipfile_remove.py +91 -0
- perdoo-0.4.0/perdoo/cli/__init__.py +4 -0
- perdoo-0.4.0/perdoo/cli/archive.py +34 -0
- perdoo-0.4.0/perdoo/cli/settings.py +56 -0
- perdoo-0.4.0/perdoo/console.py +67 -0
- perdoo-0.4.0/perdoo/main.py +182 -0
- perdoo-0.4.0/perdoo/metadata/__init__.py +50 -0
- perdoo-0.4.0/perdoo/metadata/_base.py +48 -0
- perdoo-0.4.0/perdoo/metadata/comic_info.py +314 -0
- perdoo-0.4.0/perdoo/metadata/metron_info.py +389 -0
- perdoo-0.4.0/perdoo/services/__init__.py +7 -0
- perdoo-0.4.0/perdoo/services/_base.py +35 -0
- perdoo-0.4.0/perdoo/services/comicvine.py +227 -0
- perdoo-0.4.0/perdoo/services/league.py +51 -0
- perdoo-0.4.0/perdoo/services/marvel.py +233 -0
- perdoo-0.4.0/perdoo/services/metron.py +283 -0
- perdoo-0.4.0/perdoo/settings.py +185 -0
- perdoo-0.4.0/perdoo/utils.py +90 -0
- perdoo-0.4.0/pyproject.toml +134 -0
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
root = true
|
|
2
|
+
|
|
3
|
+
[*]
|
|
4
|
+
indent_style = space
|
|
5
|
+
indent_size = 2
|
|
6
|
+
end_of_line = lf
|
|
7
|
+
charset = utf-8
|
|
8
|
+
trim_trailing_whitespace = true
|
|
9
|
+
insert_final_newline = true
|
|
10
|
+
max_line_length = 100
|
|
11
|
+
|
|
12
|
+
[*.md]
|
|
13
|
+
trim_trailing_whitespace = false
|
|
14
|
+
max_line_length = off
|
|
15
|
+
|
|
16
|
+
[*.py]
|
|
17
|
+
indent_size = 4
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
* text=auto
|
|
2
|
+
|
|
3
|
+
.gitattributes export-ignore
|
|
4
|
+
.gitignore export-ignore
|
|
5
|
+
|
|
6
|
+
*.md text diff=markdown
|
|
7
|
+
*.rtf diff=astextplain
|
|
8
|
+
*.sql text
|
|
9
|
+
*.txt text
|
|
10
|
+
|
|
11
|
+
*.jpg binary
|
|
12
|
+
*.png binary
|
|
13
|
+
|
|
14
|
+
*.bash text eol=lf
|
|
15
|
+
*.bat text eol=crlf
|
|
16
|
+
*.cmd text eol=crlf
|
|
17
|
+
*.fish text eol=lf
|
|
18
|
+
*.ps1 text eol=crlf
|
|
19
|
+
*.sh text eol=lf
|
|
20
|
+
*.zsh text eol=lf
|
|
21
|
+
|
|
22
|
+
*.csv text
|
|
23
|
+
*.json text
|
|
24
|
+
*.toml text
|
|
25
|
+
*.xml text
|
|
26
|
+
*.yaml text
|
|
27
|
+
*.yml text
|
|
28
|
+
|
|
29
|
+
*.7z binary
|
|
30
|
+
*.gz binary
|
|
31
|
+
*.tar binary
|
|
32
|
+
*.tgz binary
|
|
33
|
+
*.zip binary
|
|
34
|
+
|
|
35
|
+
# C#
|
|
36
|
+
*.cs text diff=csharp
|
|
37
|
+
*.cshtml text diff=html
|
|
38
|
+
*.csproj text eol=crlf
|
|
39
|
+
*.csx text diff=csharp
|
|
40
|
+
*.sln text eol=crlf
|
|
41
|
+
|
|
42
|
+
# Java
|
|
43
|
+
*.gradle text diff=java
|
|
44
|
+
*.gradle.kts text diff=kotlin
|
|
45
|
+
*.groovy text diff=java
|
|
46
|
+
*.java text diff=java
|
|
47
|
+
*.kt text diff=kotlin
|
|
48
|
+
*.scala text diff=java
|
|
49
|
+
|
|
50
|
+
# Python
|
|
51
|
+
*.pxd text diff=python
|
|
52
|
+
*.py text diff=python
|
|
53
|
+
*.py3 text diff=python
|
|
54
|
+
*.pyi text diff=python
|
|
55
|
+
*.pyw text diff=python
|
|
56
|
+
*.pyx text diff=python
|
|
57
|
+
*.pyz text diff=python
|
perdoo-0.4.0/.gitignore
ADDED
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
repos:
|
|
2
|
+
- repo: https://github.com/astral-sh/ruff-pre-commit
|
|
3
|
+
rev: v0.8.0
|
|
4
|
+
hooks:
|
|
5
|
+
- id: ruff-format
|
|
6
|
+
- id: ruff
|
|
7
|
+
- repo: https://github.com/executablebooks/mdformat
|
|
8
|
+
rev: 0.7.19
|
|
9
|
+
hooks:
|
|
10
|
+
- id: mdformat
|
|
11
|
+
additional_dependencies:
|
|
12
|
+
- mdformat-gfm
|
|
13
|
+
- mdformat-tables
|
|
14
|
+
args:
|
|
15
|
+
- --number
|
|
16
|
+
- --wrap=keep
|
|
17
|
+
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
18
|
+
rev: v5.0.0
|
|
19
|
+
hooks:
|
|
20
|
+
- id: check-ast
|
|
21
|
+
- id: check-builtin-literals
|
|
22
|
+
- id: check-case-conflict
|
|
23
|
+
- id: check-docstring-first
|
|
24
|
+
- id: check-merge-conflict
|
|
25
|
+
args:
|
|
26
|
+
- --assume-in-merge
|
|
27
|
+
- id: check-toml
|
|
28
|
+
- id: check-yaml
|
|
29
|
+
args:
|
|
30
|
+
- --allow-multiple-documents
|
|
31
|
+
- id: end-of-file-fixer
|
|
32
|
+
exclude_types:
|
|
33
|
+
- json
|
|
34
|
+
- xml
|
|
35
|
+
- id: fix-byte-order-marker
|
|
36
|
+
- id: forbid-submodules
|
|
37
|
+
- id: mixed-line-ending
|
|
38
|
+
args:
|
|
39
|
+
- --fix=auto
|
|
40
|
+
# - id: name-tests-test
|
|
41
|
+
- id: trailing-whitespace
|
|
42
|
+
args:
|
|
43
|
+
- --markdown-linebreak-ext=md
|
|
44
|
+
exclude_types:
|
|
45
|
+
- svg
|
|
46
|
+
- repo: https://github.com/pappasam/toml-sort
|
|
47
|
+
rev: v0.24.2
|
|
48
|
+
hooks:
|
|
49
|
+
- id: toml-sort
|
|
50
|
+
args:
|
|
51
|
+
- --in-place
|
|
52
|
+
- --all
|
|
53
|
+
- repo: meta
|
|
54
|
+
hooks:
|
|
55
|
+
- id: check-hooks-apply
|
|
56
|
+
- id: check-useless-excludes
|
perdoo-0.4.0/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2024 Jonah Jackson
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
perdoo-0.4.0/PKG-INFO
ADDED
|
@@ -0,0 +1,183 @@
|
|
|
1
|
+
Metadata-Version: 2.3
|
|
2
|
+
Name: perdoo
|
|
3
|
+
Version: 0.4.0
|
|
4
|
+
Summary: Unify and organize your comic collection.
|
|
5
|
+
Project-URL: Homepage, https://pypi.org/project/Perdoo
|
|
6
|
+
Project-URL: Issues, https://github.com/Buried-In-Code/Perdoo/issues
|
|
7
|
+
Project-URL: Source, https://github.com/Buried-In-Code/Perdoo
|
|
8
|
+
Author-email: BuriedInCode <BuriedInCode@tuta.io>
|
|
9
|
+
License: MIT
|
|
10
|
+
Keywords: comic,comics,metadata,tagger,tagging
|
|
11
|
+
Classifier: Development Status :: 4 - Beta
|
|
12
|
+
Classifier: Environment :: Console
|
|
13
|
+
Classifier: Framework :: Pydantic :: 2
|
|
14
|
+
Classifier: Intended Audience :: End Users/Desktop
|
|
15
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
16
|
+
Classifier: Natural Language :: English
|
|
17
|
+
Classifier: Operating System :: MacOS
|
|
18
|
+
Classifier: Operating System :: Microsoft :: Windows
|
|
19
|
+
Classifier: Operating System :: POSIX :: Linux
|
|
20
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
21
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
22
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
23
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
24
|
+
Classifier: Typing :: Typed
|
|
25
|
+
Requires-Python: >=3.10
|
|
26
|
+
Requires-Dist: comicfn2dict>=0.2.4
|
|
27
|
+
Requires-Dist: esak>=2.0.0
|
|
28
|
+
Requires-Dist: himon>=0.6.1
|
|
29
|
+
Requires-Dist: lxml>=5.3.0
|
|
30
|
+
Requires-Dist: mokkari>=3.4.0
|
|
31
|
+
Requires-Dist: natsort>=8.4.0
|
|
32
|
+
Requires-Dist: pillow>=11.0.0
|
|
33
|
+
Requires-Dist: pydantic-xml>=2.14.0
|
|
34
|
+
Requires-Dist: pydantic>=2.10.1
|
|
35
|
+
Requires-Dist: rarfile>=4.2
|
|
36
|
+
Requires-Dist: rich>=13.9.3
|
|
37
|
+
Requires-Dist: simyan>=1.3.0
|
|
38
|
+
Requires-Dist: tomli-w>=1.1.0
|
|
39
|
+
Requires-Dist: tomli>=2.1.0; python_version < '3.11'
|
|
40
|
+
Requires-Dist: typer>=0.13.1
|
|
41
|
+
Provides-Extra: cb7
|
|
42
|
+
Requires-Dist: py7zr>=0.22.0; extra == 'cb7'
|
|
43
|
+
Description-Content-Type: text/markdown
|
|
44
|
+
|
|
45
|
+
# Perdoo
|
|
46
|
+
|
|
47
|
+
[](https://pypi.python.org/pypi/Perdoo/)
|
|
48
|
+
[](https://pypi.python.org/pypi/Perdoo/)
|
|
49
|
+
[](https://pypi.python.org/pypi/Perdoo/)
|
|
50
|
+
[](https://opensource.org/licenses/MIT)
|
|
51
|
+
|
|
52
|
+
[](https://github.com/pre-commit/pre-commit)
|
|
53
|
+
[](https://github.com/astral-sh/ruff)
|
|
54
|
+
|
|
55
|
+
[](https://github.com/Buried-In-Code/Perdoo/graphs/contributors)
|
|
56
|
+
|
|
57
|
+
Perdoo is designed to assist in sorting and organizing your comic collection by utilizing metadata files stored within comic archives.\
|
|
58
|
+
Perdoo standardizes all your digital comics into a unified format (cb7, cbt, or cbz).\
|
|
59
|
+
It adds and/or updates metadata files using supported services.\
|
|
60
|
+
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.
|
|
61
|
+
|
|
62
|
+
## Installation
|
|
63
|
+
|
|
64
|
+
### Pipx
|
|
65
|
+
|
|
66
|
+
1. Ensure you have [Pipx](https://pipxproject.github.io/pipx/) installed: `pipx --version`
|
|
67
|
+
2. Install the project: `pipx install perdoo`
|
|
68
|
+
|
|
69
|
+
## Usage
|
|
70
|
+
|
|
71
|
+
<details><summary>Perdoo Commands</summary>
|
|
72
|
+
|
|
73
|
+
<!-- RICH-CODEX hide_command: true -->
|
|
74
|
+

|
|
75
|
+
|
|
76
|
+
</details>
|
|
77
|
+
<details><summary>Perdoo import</summary>
|
|
78
|
+
|
|
79
|
+
<!-- RICH-CODEX hide_command: true -->
|
|
80
|
+

|
|
81
|
+
|
|
82
|
+
</details>
|
|
83
|
+
|
|
84
|
+
### Perdoo archive Commands
|
|
85
|
+
|
|
86
|
+
<details><summary>Perdoo archive view</summary>
|
|
87
|
+
|
|
88
|
+
<!-- RICH-CODEX hide_command: true -->
|
|
89
|
+

|
|
90
|
+
|
|
91
|
+
</details>
|
|
92
|
+
|
|
93
|
+
### Perdoo settings Commands
|
|
94
|
+
|
|
95
|
+
<details><summary>Perdoo settings view</summary>
|
|
96
|
+
|
|
97
|
+
<!-- RICH-CODEX hide_command: true -->
|
|
98
|
+

|
|
99
|
+
|
|
100
|
+
</details>
|
|
101
|
+
<details><summary>Perdoo settings locate</summary>
|
|
102
|
+
|
|
103
|
+
<!-- RICH-CODEX hide_command: true -->
|
|
104
|
+

|
|
105
|
+
|
|
106
|
+
</details>
|
|
107
|
+
<details><summary>Perdoo settings update</summary>
|
|
108
|
+
|
|
109
|
+
<!-- RICH-CODEX hide_command: true -->
|
|
110
|
+

|
|
111
|
+
|
|
112
|
+
</details>
|
|
113
|
+
|
|
114
|
+
## Supported Formats
|
|
115
|
+
|
|
116
|
+
### Input Extensions
|
|
117
|
+
|
|
118
|
+
- .cbr
|
|
119
|
+
- .cbt
|
|
120
|
+
- .cbz
|
|
121
|
+
- .cb7 _(Requires installing `cb7` dependencies: `pipx install perdoo[cb7]`)_
|
|
122
|
+
|
|
123
|
+
### Output Extensions
|
|
124
|
+
|
|
125
|
+
- .cbt
|
|
126
|
+
- .cbz _(Default)_
|
|
127
|
+
- .cb7 _(Requires installing `cb7` dependencies: `pipx install perdoo[cb7]`)_
|
|
128
|
+
|
|
129
|
+
### Metadata Files
|
|
130
|
+
|
|
131
|
+
- [MetronInfo.xml](https://github.com/Metron-Project/metroninfo)
|
|
132
|
+
- Perdoo supports a slightly modified [ComicInfo.xml](https://github.com/anansi-project/comicinfo) to ignore field ordering.
|
|
133
|
+
|
|
134
|
+
## Services
|
|
135
|
+
|
|
136
|
+
- [Comicvine](https://comicvine.gamespot.com) using the [Simyan](https://github.com/Metron-Project/Simyan) library.
|
|
137
|
+
- [League of Comic Geeks](https://leagueofcomicgeeks.com) using the [Himon](https://github.com/Buried-In-Code/Himon) library.
|
|
138
|
+
- [Marvel](https://www.marvel.com/comics) using the [Esak](https://github.com/Metron-Project/Esak) library.
|
|
139
|
+
- [Metron](https://metron.cloud) using the [Mokkari](https://github.com/Metron-Project/Mokkari) library.
|
|
140
|
+
|
|
141
|
+
## File Organization
|
|
142
|
+
|
|
143
|
+
### Series Naming
|
|
144
|
+
|
|
145
|
+
Series with a volume greater than 1 will display its volume in the title.
|
|
146
|
+
|
|
147
|
+
### Comic Naming
|
|
148
|
+
|
|
149
|
+
The files are named based on the format of the comic:
|
|
150
|
+
|
|
151
|
+
- **_Default_**: `{Series Title}_#{Issue Number}.cbz`
|
|
152
|
+
- Annual: `{Series Title}_Annual_#{Issue Number}.cbz`
|
|
153
|
+
- Digital Chapter: `{Series Title}_Chapter_#{Issue Number}.cbz`
|
|
154
|
+
- Graphic Novel: `{Series Title}_#{Issue Number}_GN.cbz`
|
|
155
|
+
- Hardcover: `{Series Title}_#{Issue Number}_HC.cbz`
|
|
156
|
+
- Omnibus: `{Series Title}_#{Issue Number}.cbz`
|
|
157
|
+
- Trade Paperback: `{Series Title}_#{Issue Number}_TPB.cbz`
|
|
158
|
+
|
|
159
|
+
### Folder Structure
|
|
160
|
+
|
|
161
|
+
```
|
|
162
|
+
Collection Root
|
|
163
|
+
+-- Publisher
|
|
164
|
+
| +-- Series
|
|
165
|
+
| | +-- Series_#001.cbz
|
|
166
|
+
| | +-- Series_Annual_#01.cbz
|
|
167
|
+
| | +-- Series_Chapter_#01.cbz
|
|
168
|
+
| | +-- Series_#01_GN.cbz
|
|
169
|
+
| | +-- Series_#01_HC.cbz
|
|
170
|
+
| | +-- Series_#01_TPB.cbz
|
|
171
|
+
| +-- Series-v2
|
|
172
|
+
| | +-- Series-v2_#001.cbz
|
|
173
|
+
| | +-- Series-v2_Annual_#01.cbz
|
|
174
|
+
| | +-- Series-v2_Chapter_#01.cbz
|
|
175
|
+
| | +-- Series-v2_#01_GN.cbz
|
|
176
|
+
| | +-- Series-v2_#01_HC.cbz
|
|
177
|
+
| | +-- Series-v2_#01_TPB.cbz
|
|
178
|
+
```
|
|
179
|
+
|
|
180
|
+
## Socials
|
|
181
|
+
|
|
182
|
+
[](https://fosstodon.org/@BuriedInCode)\
|
|
183
|
+
[](https://matrix.to/#/#The-Dev-Environment:matrix.org)
|
perdoo-0.4.0/README.md
ADDED
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
# Perdoo
|
|
2
|
+
|
|
3
|
+
[](https://pypi.python.org/pypi/Perdoo/)
|
|
4
|
+
[](https://pypi.python.org/pypi/Perdoo/)
|
|
5
|
+
[](https://pypi.python.org/pypi/Perdoo/)
|
|
6
|
+
[](https://opensource.org/licenses/MIT)
|
|
7
|
+
|
|
8
|
+
[](https://github.com/pre-commit/pre-commit)
|
|
9
|
+
[](https://github.com/astral-sh/ruff)
|
|
10
|
+
|
|
11
|
+
[](https://github.com/Buried-In-Code/Perdoo/graphs/contributors)
|
|
12
|
+
|
|
13
|
+
Perdoo is designed to assist in sorting and organizing your comic collection by utilizing metadata files stored within comic archives.\
|
|
14
|
+
Perdoo standardizes all your digital comics into a unified format (cb7, cbt, or cbz).\
|
|
15
|
+
It adds and/or updates metadata files using supported services.\
|
|
16
|
+
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.
|
|
17
|
+
|
|
18
|
+
## Installation
|
|
19
|
+
|
|
20
|
+
### Pipx
|
|
21
|
+
|
|
22
|
+
1. Ensure you have [Pipx](https://pipxproject.github.io/pipx/) installed: `pipx --version`
|
|
23
|
+
2. Install the project: `pipx install perdoo`
|
|
24
|
+
|
|
25
|
+
## Usage
|
|
26
|
+
|
|
27
|
+
<details><summary>Perdoo Commands</summary>
|
|
28
|
+
|
|
29
|
+
<!-- RICH-CODEX hide_command: true -->
|
|
30
|
+

|
|
31
|
+
|
|
32
|
+
</details>
|
|
33
|
+
<details><summary>Perdoo import</summary>
|
|
34
|
+
|
|
35
|
+
<!-- RICH-CODEX hide_command: true -->
|
|
36
|
+

|
|
37
|
+
|
|
38
|
+
</details>
|
|
39
|
+
|
|
40
|
+
### Perdoo archive Commands
|
|
41
|
+
|
|
42
|
+
<details><summary>Perdoo archive view</summary>
|
|
43
|
+
|
|
44
|
+
<!-- RICH-CODEX hide_command: true -->
|
|
45
|
+

|
|
46
|
+
|
|
47
|
+
</details>
|
|
48
|
+
|
|
49
|
+
### Perdoo settings Commands
|
|
50
|
+
|
|
51
|
+
<details><summary>Perdoo settings view</summary>
|
|
52
|
+
|
|
53
|
+
<!-- RICH-CODEX hide_command: true -->
|
|
54
|
+

|
|
55
|
+
|
|
56
|
+
</details>
|
|
57
|
+
<details><summary>Perdoo settings locate</summary>
|
|
58
|
+
|
|
59
|
+
<!-- RICH-CODEX hide_command: true -->
|
|
60
|
+

|
|
61
|
+
|
|
62
|
+
</details>
|
|
63
|
+
<details><summary>Perdoo settings update</summary>
|
|
64
|
+
|
|
65
|
+
<!-- RICH-CODEX hide_command: true -->
|
|
66
|
+

|
|
67
|
+
|
|
68
|
+
</details>
|
|
69
|
+
|
|
70
|
+
## Supported Formats
|
|
71
|
+
|
|
72
|
+
### Input Extensions
|
|
73
|
+
|
|
74
|
+
- .cbr
|
|
75
|
+
- .cbt
|
|
76
|
+
- .cbz
|
|
77
|
+
- .cb7 _(Requires installing `cb7` dependencies: `pipx install perdoo[cb7]`)_
|
|
78
|
+
|
|
79
|
+
### Output Extensions
|
|
80
|
+
|
|
81
|
+
- .cbt
|
|
82
|
+
- .cbz _(Default)_
|
|
83
|
+
- .cb7 _(Requires installing `cb7` dependencies: `pipx install perdoo[cb7]`)_
|
|
84
|
+
|
|
85
|
+
### Metadata Files
|
|
86
|
+
|
|
87
|
+
- [MetronInfo.xml](https://github.com/Metron-Project/metroninfo)
|
|
88
|
+
- Perdoo supports a slightly modified [ComicInfo.xml](https://github.com/anansi-project/comicinfo) to ignore field ordering.
|
|
89
|
+
|
|
90
|
+
## Services
|
|
91
|
+
|
|
92
|
+
- [Comicvine](https://comicvine.gamespot.com) using the [Simyan](https://github.com/Metron-Project/Simyan) library.
|
|
93
|
+
- [League of Comic Geeks](https://leagueofcomicgeeks.com) using the [Himon](https://github.com/Buried-In-Code/Himon) library.
|
|
94
|
+
- [Marvel](https://www.marvel.com/comics) using the [Esak](https://github.com/Metron-Project/Esak) library.
|
|
95
|
+
- [Metron](https://metron.cloud) using the [Mokkari](https://github.com/Metron-Project/Mokkari) library.
|
|
96
|
+
|
|
97
|
+
## File Organization
|
|
98
|
+
|
|
99
|
+
### Series Naming
|
|
100
|
+
|
|
101
|
+
Series with a volume greater than 1 will display its volume in the title.
|
|
102
|
+
|
|
103
|
+
### Comic Naming
|
|
104
|
+
|
|
105
|
+
The files are named based on the format of the comic:
|
|
106
|
+
|
|
107
|
+
- **_Default_**: `{Series Title}_#{Issue Number}.cbz`
|
|
108
|
+
- Annual: `{Series Title}_Annual_#{Issue Number}.cbz`
|
|
109
|
+
- Digital Chapter: `{Series Title}_Chapter_#{Issue Number}.cbz`
|
|
110
|
+
- Graphic Novel: `{Series Title}_#{Issue Number}_GN.cbz`
|
|
111
|
+
- Hardcover: `{Series Title}_#{Issue Number}_HC.cbz`
|
|
112
|
+
- Omnibus: `{Series Title}_#{Issue Number}.cbz`
|
|
113
|
+
- Trade Paperback: `{Series Title}_#{Issue Number}_TPB.cbz`
|
|
114
|
+
|
|
115
|
+
### Folder Structure
|
|
116
|
+
|
|
117
|
+
```
|
|
118
|
+
Collection Root
|
|
119
|
+
+-- Publisher
|
|
120
|
+
| +-- Series
|
|
121
|
+
| | +-- Series_#001.cbz
|
|
122
|
+
| | +-- Series_Annual_#01.cbz
|
|
123
|
+
| | +-- Series_Chapter_#01.cbz
|
|
124
|
+
| | +-- Series_#01_GN.cbz
|
|
125
|
+
| | +-- Series_#01_HC.cbz
|
|
126
|
+
| | +-- Series_#01_TPB.cbz
|
|
127
|
+
| +-- Series-v2
|
|
128
|
+
| | +-- Series-v2_#001.cbz
|
|
129
|
+
| | +-- Series-v2_Annual_#01.cbz
|
|
130
|
+
| | +-- Series-v2_Chapter_#01.cbz
|
|
131
|
+
| | +-- Series-v2_#01_GN.cbz
|
|
132
|
+
| | +-- Series-v2_#01_HC.cbz
|
|
133
|
+
| | +-- Series-v2_#01_TPB.cbz
|
|
134
|
+
```
|
|
135
|
+
|
|
136
|
+
## Socials
|
|
137
|
+
|
|
138
|
+
[](https://fosstodon.org/@BuriedInCode)\
|
|
139
|
+
[](https://matrix.to/#/#The-Dev-Environment:matrix.org)
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
<svg class="rich-terminal" viewBox="0 0 994 391.59999999999997" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<!-- Generated with Rich https://www.textualize.io -->
|
|
3
|
+
<style>
|
|
4
|
+
|
|
5
|
+
@font-face {
|
|
6
|
+
font-family: "Fira Code";
|
|
7
|
+
src: local("FiraCode-Regular"),
|
|
8
|
+
url("https://cdnjs.cloudflare.com/ajax/libs/firacode/6.2.0/woff2/FiraCode-Regular.woff2") format("woff2"),
|
|
9
|
+
url("https://cdnjs.cloudflare.com/ajax/libs/firacode/6.2.0/woff/FiraCode-Regular.woff") format("woff");
|
|
10
|
+
font-style: normal;
|
|
11
|
+
font-weight: 400;
|
|
12
|
+
}
|
|
13
|
+
@font-face {
|
|
14
|
+
font-family: "Fira Code";
|
|
15
|
+
src: local("FiraCode-Bold"),
|
|
16
|
+
url("https://cdnjs.cloudflare.com/ajax/libs/firacode/6.2.0/woff2/FiraCode-Bold.woff2") format("woff2"),
|
|
17
|
+
url("https://cdnjs.cloudflare.com/ajax/libs/firacode/6.2.0/woff/FiraCode-Bold.woff") format("woff");
|
|
18
|
+
font-style: bold;
|
|
19
|
+
font-weight: 700;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.terminal-4268467016-matrix {
|
|
23
|
+
font-family: Fira Code, monospace;
|
|
24
|
+
font-size: 20px;
|
|
25
|
+
line-height: 24.4px;
|
|
26
|
+
font-variant-east-asian: full-width;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.terminal-4268467016-title {
|
|
30
|
+
font-size: 18px;
|
|
31
|
+
font-weight: bold;
|
|
32
|
+
font-family: arial;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.terminal-4268467016-r1 { fill: #c5c8c6;font-weight: bold }
|
|
36
|
+
.terminal-4268467016-r2 { fill: #c5c8c6 }
|
|
37
|
+
.terminal-4268467016-r3 { fill: #d0b344;font-weight: bold }
|
|
38
|
+
.terminal-4268467016-r4 { fill: #868887 }
|
|
39
|
+
.terminal-4268467016-r5 { fill: #cc555a }
|
|
40
|
+
.terminal-4268467016-r6 { fill: #8a4346 }
|
|
41
|
+
.terminal-4268467016-r7 { fill: #68a0b3;font-weight: bold }
|
|
42
|
+
</style>
|
|
43
|
+
|
|
44
|
+
<defs>
|
|
45
|
+
<clipPath id="terminal-4268467016-clip-terminal">
|
|
46
|
+
<rect x="0" y="0" width="975.0" height="340.59999999999997" />
|
|
47
|
+
</clipPath>
|
|
48
|
+
<clipPath id="terminal-4268467016-line-0">
|
|
49
|
+
<rect x="0" y="1.5" width="976" height="24.65"/>
|
|
50
|
+
</clipPath>
|
|
51
|
+
<clipPath id="terminal-4268467016-line-1">
|
|
52
|
+
<rect x="0" y="25.9" width="976" height="24.65"/>
|
|
53
|
+
</clipPath>
|
|
54
|
+
<clipPath id="terminal-4268467016-line-2">
|
|
55
|
+
<rect x="0" y="50.3" width="976" height="24.65"/>
|
|
56
|
+
</clipPath>
|
|
57
|
+
<clipPath id="terminal-4268467016-line-3">
|
|
58
|
+
<rect x="0" y="74.7" width="976" height="24.65"/>
|
|
59
|
+
</clipPath>
|
|
60
|
+
<clipPath id="terminal-4268467016-line-4">
|
|
61
|
+
<rect x="0" y="99.1" width="976" height="24.65"/>
|
|
62
|
+
</clipPath>
|
|
63
|
+
<clipPath id="terminal-4268467016-line-5">
|
|
64
|
+
<rect x="0" y="123.5" width="976" height="24.65"/>
|
|
65
|
+
</clipPath>
|
|
66
|
+
<clipPath id="terminal-4268467016-line-6">
|
|
67
|
+
<rect x="0" y="147.9" width="976" height="24.65"/>
|
|
68
|
+
</clipPath>
|
|
69
|
+
<clipPath id="terminal-4268467016-line-7">
|
|
70
|
+
<rect x="0" y="172.3" width="976" height="24.65"/>
|
|
71
|
+
</clipPath>
|
|
72
|
+
<clipPath id="terminal-4268467016-line-8">
|
|
73
|
+
<rect x="0" y="196.7" width="976" height="24.65"/>
|
|
74
|
+
</clipPath>
|
|
75
|
+
<clipPath id="terminal-4268467016-line-9">
|
|
76
|
+
<rect x="0" y="221.1" width="976" height="24.65"/>
|
|
77
|
+
</clipPath>
|
|
78
|
+
<clipPath id="terminal-4268467016-line-10">
|
|
79
|
+
<rect x="0" y="245.5" width="976" height="24.65"/>
|
|
80
|
+
</clipPath>
|
|
81
|
+
<clipPath id="terminal-4268467016-line-11">
|
|
82
|
+
<rect x="0" y="269.9" width="976" height="24.65"/>
|
|
83
|
+
</clipPath>
|
|
84
|
+
<clipPath id="terminal-4268467016-line-12">
|
|
85
|
+
<rect x="0" y="294.3" width="976" height="24.65"/>
|
|
86
|
+
</clipPath>
|
|
87
|
+
</defs>
|
|
88
|
+
|
|
89
|
+
<rect fill="#292929" stroke="rgba(255,255,255,0.35)" stroke-width="1" x="1" y="1" width="992" height="389.6" rx="8"/>
|
|
90
|
+
<g transform="translate(26,22)">
|
|
91
|
+
<circle cx="0" cy="0" r="7" fill="#ff5f57"/>
|
|
92
|
+
<circle cx="22" cy="0" r="7" fill="#febc2e"/>
|
|
93
|
+
<circle cx="44" cy="0" r="7" fill="#28c840"/>
|
|
94
|
+
</g>
|
|
95
|
+
|
|
96
|
+
<g transform="translate(9, 41)" clip-path="url(#terminal-4268467016-clip-terminal)">
|
|
97
|
+
|
|
98
|
+
<g class="terminal-4268467016-matrix">
|
|
99
|
+
<text class="terminal-4268467016-r2" x="976" y="20" textLength="12.2" clip-path="url(#terminal-4268467016-line-0)">
|
|
100
|
+
</text><text class="terminal-4268467016-r3" x="12.2" y="44.4" textLength="85.4" clip-path="url(#terminal-4268467016-line-1)">Usage: </text><text class="terminal-4268467016-r1" x="97.6" y="44.4" textLength="439.2" clip-path="url(#terminal-4268467016-line-1)">Perdoo archive view [OPTIONS] TARGET</text><text class="terminal-4268467016-r2" x="976" y="44.4" textLength="12.2" clip-path="url(#terminal-4268467016-line-1)">
|
|
101
|
+
</text><text class="terminal-4268467016-r2" x="976" y="68.8" textLength="12.2" clip-path="url(#terminal-4268467016-line-2)">
|
|
102
|
+
</text><text class="terminal-4268467016-r2" x="0" y="93.2" textLength="976" clip-path="url(#terminal-4268467016-line-3)"> View the ComicInfo/MetronInfo inside a Comic archive.                          </text><text class="terminal-4268467016-r2" x="976" y="93.2" textLength="12.2" clip-path="url(#terminal-4268467016-line-3)">
|
|
103
|
+
</text><text class="terminal-4268467016-r2" x="976" y="117.6" textLength="12.2" clip-path="url(#terminal-4268467016-line-4)">
|
|
104
|
+
</text><text class="terminal-4268467016-r4" x="0" y="142" textLength="24.4" clip-path="url(#terminal-4268467016-line-5)">╭─</text><text class="terminal-4268467016-r4" x="24.4" y="142" textLength="134.2" clip-path="url(#terminal-4268467016-line-5)"> Arguments </text><text class="terminal-4268467016-r4" x="158.6" y="142" textLength="793" clip-path="url(#terminal-4268467016-line-5)">─────────────────────────────────────────────────────────────────</text><text class="terminal-4268467016-r4" x="951.6" y="142" textLength="24.4" clip-path="url(#terminal-4268467016-line-5)">─╮</text><text class="terminal-4268467016-r2" x="976" y="142" textLength="12.2" clip-path="url(#terminal-4268467016-line-5)">
|
|
105
|
+
</text><text class="terminal-4268467016-r4" x="0" y="166.4" textLength="12.2" clip-path="url(#terminal-4268467016-line-6)">│</text><text class="terminal-4268467016-r5" x="24.4" y="166.4" textLength="12.2" clip-path="url(#terminal-4268467016-line-6)">*</text><text class="terminal-4268467016-r2" x="36.6" y="166.4" textLength="195.2" clip-path="url(#terminal-4268467016-line-6)">    target      </text><text class="terminal-4268467016-r3" x="231.8" y="166.4" textLength="48.8" clip-path="url(#terminal-4268467016-line-6)">FILE</text><text class="terminal-4268467016-r2" x="280.6" y="166.4" textLength="341.6" clip-path="url(#terminal-4268467016-line-6)">  Comic to view details of. </text><text class="terminal-4268467016-r6" x="622.2" y="166.4" textLength="122" clip-path="url(#terminal-4268467016-line-6)">[required]</text><text class="terminal-4268467016-r4" x="963.8" y="166.4" textLength="12.2" clip-path="url(#terminal-4268467016-line-6)">│</text><text class="terminal-4268467016-r2" x="976" y="166.4" textLength="12.2" clip-path="url(#terminal-4268467016-line-6)">
|
|
106
|
+
</text><text class="terminal-4268467016-r4" x="0" y="190.8" textLength="976" clip-path="url(#terminal-4268467016-line-7)">╰──────────────────────────────────────────────────────────────────────────────╯</text><text class="terminal-4268467016-r2" x="976" y="190.8" textLength="12.2" clip-path="url(#terminal-4268467016-line-7)">
|
|
107
|
+
</text><text class="terminal-4268467016-r4" x="0" y="215.2" textLength="24.4" clip-path="url(#terminal-4268467016-line-8)">╭─</text><text class="terminal-4268467016-r4" x="24.4" y="215.2" textLength="109.8" clip-path="url(#terminal-4268467016-line-8)"> Options </text><text class="terminal-4268467016-r4" x="134.2" y="215.2" textLength="817.4" clip-path="url(#terminal-4268467016-line-8)">───────────────────────────────────────────────────────────────────</text><text class="terminal-4268467016-r4" x="951.6" y="215.2" textLength="24.4" clip-path="url(#terminal-4268467016-line-8)">─╮</text><text class="terminal-4268467016-r2" x="976" y="215.2" textLength="12.2" clip-path="url(#terminal-4268467016-line-8)">
|
|
108
|
+
</text><text class="terminal-4268467016-r4" x="0" y="239.6" textLength="12.2" clip-path="url(#terminal-4268467016-line-9)">│</text><text class="terminal-4268467016-r7" x="24.4" y="239.6" textLength="12.2" clip-path="url(#terminal-4268467016-line-9)">-</text><text class="terminal-4268467016-r7" x="36.6" y="239.6" textLength="61" clip-path="url(#terminal-4268467016-line-9)">-hide</text><text class="terminal-4268467016-r7" x="97.6" y="239.6" textLength="134.2" clip-path="url(#terminal-4268467016-line-9)">-comic-info</text><text class="terminal-4268467016-r2" x="231.8" y="239.6" textLength="732" clip-path="url(#terminal-4268467016-line-9)">           Don't show the ComicInfo details.                </text><text class="terminal-4268467016-r4" x="963.8" y="239.6" textLength="12.2" clip-path="url(#terminal-4268467016-line-9)">│</text><text class="terminal-4268467016-r2" x="976" y="239.6" textLength="12.2" clip-path="url(#terminal-4268467016-line-9)">
|
|
109
|
+
</text><text class="terminal-4268467016-r4" x="0" y="264" textLength="12.2" clip-path="url(#terminal-4268467016-line-10)">│</text><text class="terminal-4268467016-r7" x="24.4" y="264" textLength="12.2" clip-path="url(#terminal-4268467016-line-10)">-</text><text class="terminal-4268467016-r7" x="36.6" y="264" textLength="61" clip-path="url(#terminal-4268467016-line-10)">-hide</text><text class="terminal-4268467016-r7" x="97.6" y="264" textLength="146.4" clip-path="url(#terminal-4268467016-line-10)">-metron-info</text><text class="terminal-4268467016-r2" x="244" y="264" textLength="719.8" clip-path="url(#terminal-4268467016-line-10)">          Don't show the MetronInfo details.               </text><text class="terminal-4268467016-r4" x="963.8" y="264" textLength="12.2" clip-path="url(#terminal-4268467016-line-10)">│</text><text class="terminal-4268467016-r2" x="976" y="264" textLength="12.2" clip-path="url(#terminal-4268467016-line-10)">
|
|
110
|
+
</text><text class="terminal-4268467016-r4" x="0" y="288.4" textLength="12.2" clip-path="url(#terminal-4268467016-line-11)">│</text><text class="terminal-4268467016-r7" x="24.4" y="288.4" textLength="12.2" clip-path="url(#terminal-4268467016-line-11)">-</text><text class="terminal-4268467016-r7" x="36.6" y="288.4" textLength="61" clip-path="url(#terminal-4268467016-line-11)">-help</text><text class="terminal-4268467016-r2" x="97.6" y="288.4" textLength="866.2" clip-path="url(#terminal-4268467016-line-11)">                      Show this message and exit.                      </text><text class="terminal-4268467016-r4" x="963.8" y="288.4" textLength="12.2" clip-path="url(#terminal-4268467016-line-11)">│</text><text class="terminal-4268467016-r2" x="976" y="288.4" textLength="12.2" clip-path="url(#terminal-4268467016-line-11)">
|
|
111
|
+
</text><text class="terminal-4268467016-r4" x="0" y="312.8" textLength="976" clip-path="url(#terminal-4268467016-line-12)">╰──────────────────────────────────────────────────────────────────────────────╯</text><text class="terminal-4268467016-r2" x="976" y="312.8" textLength="12.2" clip-path="url(#terminal-4268467016-line-12)">
|
|
112
|
+
</text><text class="terminal-4268467016-r2" x="976" y="337.2" textLength="12.2" clip-path="url(#terminal-4268467016-line-13)">
|
|
113
|
+
</text>
|
|
114
|
+
</g>
|
|
115
|
+
</g>
|
|
116
|
+
</svg>
|