pingu-epubforge 0.1.0__py3-none-any.whl
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.
- pingu_epubforge/__init__.py +58 -0
- pingu_epubforge/__version__.py +3 -0
- pingu_epubforge/cli.py +1133 -0
- pingu_epubforge/core/__init__.py +67 -0
- pingu_epubforge/core/cover_utils.py +962 -0
- pingu_epubforge/core/epub_io.py +221 -0
- pingu_epubforge/core/layout_utils.py +384 -0
- pingu_epubforge/core/models.py +417 -0
- pingu_epubforge/core/xml_utils.py +301 -0
- pingu_epubforge/mcp_server.py +399 -0
- pingu_epubforge/py.typed +0 -0
- pingu_epubforge/tools/__init__.py +20 -0
- pingu_epubforge/tools/auditor.py +762 -0
- pingu_epubforge/tools/cleaner.py +618 -0
- pingu_epubforge/tools/compressor.py +579 -0
- pingu_epubforge/tools/forge.py +219 -0
- pingu_epubforge/tools/kindle_fixer.py +748 -0
- pingu_epubforge/tools/metadata.py +346 -0
- pingu_epubforge/tools/pdf_converter.py +1184 -0
- pingu_epubforge-0.1.0.dist-info/METADATA +281 -0
- pingu_epubforge-0.1.0.dist-info/RECORD +25 -0
- pingu_epubforge-0.1.0.dist-info/WHEEL +5 -0
- pingu_epubforge-0.1.0.dist-info/entry_points.txt +4 -0
- pingu_epubforge-0.1.0.dist-info/licenses/LICENSE +21 -0
- pingu_epubforge-0.1.0.dist-info/top_level.txt +1 -0
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
"""pingu-epubforge: Tools to inspect, fix, compress, clean, and build EPUB files."""
|
|
2
|
+
|
|
3
|
+
from pingu_epubforge.__version__ import __version__
|
|
4
|
+
from pingu_epubforge.core.models import (
|
|
5
|
+
AnchorMigration,
|
|
6
|
+
AuditReport,
|
|
7
|
+
CleanReport,
|
|
8
|
+
CompressedImageResult,
|
|
9
|
+
CompressionReport,
|
|
10
|
+
DuplicateImageGroup,
|
|
11
|
+
EpubMetadata,
|
|
12
|
+
FixAction,
|
|
13
|
+
FixReport,
|
|
14
|
+
ForgeReport,
|
|
15
|
+
ImageInfo,
|
|
16
|
+
Issue,
|
|
17
|
+
MediaSummary,
|
|
18
|
+
MetadataReport,
|
|
19
|
+
PdfConvertReport,
|
|
20
|
+
RepeatedImageCandidate,
|
|
21
|
+
Severity,
|
|
22
|
+
)
|
|
23
|
+
from pingu_epubforge.tools.auditor import audit_epub
|
|
24
|
+
from pingu_epubforge.tools.cleaner import clean_epub
|
|
25
|
+
from pingu_epubforge.tools.compressor import compress_epub
|
|
26
|
+
from pingu_epubforge.tools.forge import forge_epub
|
|
27
|
+
from pingu_epubforge.tools.kindle_fixer import fix_epub
|
|
28
|
+
from pingu_epubforge.tools.metadata import read_epub_metadata, update_epub_metadata
|
|
29
|
+
from pingu_epubforge.tools.pdf_converter import pdf_to_epub
|
|
30
|
+
|
|
31
|
+
__all__ = [
|
|
32
|
+
"AnchorMigration",
|
|
33
|
+
"AuditReport",
|
|
34
|
+
"CleanReport",
|
|
35
|
+
"CompressedImageResult",
|
|
36
|
+
"CompressionReport",
|
|
37
|
+
"DuplicateImageGroup",
|
|
38
|
+
"EpubMetadata",
|
|
39
|
+
"FixAction",
|
|
40
|
+
"FixReport",
|
|
41
|
+
"ForgeReport",
|
|
42
|
+
"ImageInfo",
|
|
43
|
+
"Issue",
|
|
44
|
+
"MediaSummary",
|
|
45
|
+
"MetadataReport",
|
|
46
|
+
"PdfConvertReport",
|
|
47
|
+
"RepeatedImageCandidate",
|
|
48
|
+
"Severity",
|
|
49
|
+
"__version__",
|
|
50
|
+
"audit_epub",
|
|
51
|
+
"clean_epub",
|
|
52
|
+
"compress_epub",
|
|
53
|
+
"fix_epub",
|
|
54
|
+
"forge_epub",
|
|
55
|
+
"pdf_to_epub",
|
|
56
|
+
"read_epub_metadata",
|
|
57
|
+
"update_epub_metadata",
|
|
58
|
+
]
|