txt2ebook 0.1.36__py3-none-any.whl → 0.1.38__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.
- CHANGELOG.md +27 -0
- txt2ebook/__init__.py +1 -1
- txt2ebook/formats/pdf.py +34 -28
- txt2ebook/languages/zh_cn.py +3 -0
- txt2ebook/languages/zh_tw.py +2 -0
- txt2ebook/locales/en/LC_MESSAGES/txt2ebook.po +8 -8
- txt2ebook/locales/txt2ebook.pot +8 -8
- txt2ebook/locales/zh-cn/LC_MESSAGES/txt2ebook.po +8 -8
- txt2ebook/locales/zh-tw/LC_MESSAGES/txt2ebook.po +25 -0
- {txt2ebook-0.1.36.dist-info → txt2ebook-0.1.38.dist-info}/METADATA +3 -8
- {txt2ebook-0.1.36.dist-info → txt2ebook-0.1.38.dist-info}/RECORD +14 -13
- {txt2ebook-0.1.36.dist-info → txt2ebook-0.1.38.dist-info}/WHEEL +1 -1
- {txt2ebook-0.1.36.dist-info → txt2ebook-0.1.38.dist-info}/LICENSE.md +0 -0
- {txt2ebook-0.1.36.dist-info → txt2ebook-0.1.38.dist-info}/entry_points.txt +0 -0
CHANGELOG.md
CHANGED
@@ -7,6 +7,33 @@ and this project adheres to [0-based versioning](https://0ver.org/).
|
|
7
7
|
|
8
8
|
## [Unreleased]
|
9
9
|
|
10
|
+
## v0.1.38 - 2023-06-04
|
11
|
+
|
12
|
+
### Added
|
13
|
+
|
14
|
+
- Add `zh-tw` translations
|
15
|
+
|
16
|
+
### Updated
|
17
|
+
|
18
|
+
- Update deprecating call of script_runner in tests
|
19
|
+
|
20
|
+
## v0.1.37 - 2023-05-28
|
21
|
+
|
22
|
+
### Added
|
23
|
+
|
24
|
+
- Add chapter regex rules for `zh-cn` language
|
25
|
+
|
26
|
+
### Fixed
|
27
|
+
|
28
|
+
- Fix missing export variable for `zh-tw` language
|
29
|
+
- Update outdated translation
|
30
|
+
|
31
|
+
### Changed
|
32
|
+
|
33
|
+
- Add missing return type for PDFWriter
|
34
|
+
- Align page number against body content in PDF file
|
35
|
+
- Refactor TOC generation in PDF file
|
36
|
+
|
10
37
|
## v0.1.36 - 2023-05-21
|
11
38
|
|
12
39
|
### Added
|
txt2ebook/__init__.py
CHANGED
txt2ebook/formats/pdf.py
CHANGED
@@ -16,6 +16,7 @@
|
|
16
16
|
"""Convert and back source text file into text as well."""
|
17
17
|
|
18
18
|
import logging
|
19
|
+
from typing import List, Tuple
|
19
20
|
|
20
21
|
import reportlab
|
21
22
|
from reportlab.lib.enums import TA_RIGHT
|
@@ -73,9 +74,7 @@ class PdfWriter(BaseWriter):
|
|
73
74
|
def write(self) -> None:
|
74
75
|
"""Generate PDF files."""
|
75
76
|
pdf = []
|
76
|
-
pdf.
|
77
|
-
pdf.append(self._init_toc())
|
78
|
-
pdf.append(PageBreak())
|
77
|
+
pdf.extend(self._toc_page())
|
79
78
|
|
80
79
|
for section in self.book.toc:
|
81
80
|
if isinstance(section, Volume):
|
@@ -92,7 +91,7 @@ class PdfWriter(BaseWriter):
|
|
92
91
|
pdf, onFirstPage=self._cover_page, onLaterPages=self._regular_page
|
93
92
|
)
|
94
93
|
|
95
|
-
def _cover_page(self, canvas, _doc):
|
94
|
+
def _cover_page(self, canvas, _doc) -> None:
|
96
95
|
(page_width, page_height) = self._get_pagesize()
|
97
96
|
canvas.saveState()
|
98
97
|
canvas.setFont(self.langconf.DEFAULT_PDF_FONT_NAME, 28)
|
@@ -110,7 +109,31 @@ class PdfWriter(BaseWriter):
|
|
110
109
|
canvas.restoreState()
|
111
110
|
canvas.showPage()
|
112
111
|
|
113
|
-
def
|
112
|
+
def _toc_page(self) -> List:
|
113
|
+
toc = TableOfContents()
|
114
|
+
toc.levelStyles = [
|
115
|
+
ParagraphStyle(
|
116
|
+
name="TOCHeading1",
|
117
|
+
fontName=self.langconf.DEFAULT_PDF_FONT_NAME,
|
118
|
+
fontSize=self.langconf.DEFAULT_PDF_FONT_SIZE,
|
119
|
+
firstLineIndent=0,
|
120
|
+
leftIndent=0,
|
121
|
+
),
|
122
|
+
ParagraphStyle(
|
123
|
+
name="TOCHeading2",
|
124
|
+
fontName=self.langconf.DEFAULT_PDF_FONT_NAME,
|
125
|
+
fontSize=self.langconf.DEFAULT_PDF_FONT_SIZE,
|
126
|
+
firstLineIndent=0,
|
127
|
+
leftIndent=-(self.langconf.DEFAULT_PDF_FONT_SIZE * 4 - 4),
|
128
|
+
),
|
129
|
+
]
|
130
|
+
return [
|
131
|
+
self.to_title(self._("toc")),
|
132
|
+
toc,
|
133
|
+
PageBreak(),
|
134
|
+
]
|
135
|
+
|
136
|
+
def _regular_page(self, canvas, doc) -> None:
|
114
137
|
canvas.saveState()
|
115
138
|
|
116
139
|
style = ParagraphStyle(
|
@@ -118,15 +141,19 @@ class PdfWriter(BaseWriter):
|
|
118
141
|
fontName=self.langconf.DEFAULT_PDF_FONT_NAME,
|
119
142
|
fontSize=self.langconf.DEFAULT_PDF_FONT_SIZE,
|
120
143
|
alignment=TA_RIGHT,
|
144
|
+
rightIndent=18,
|
121
145
|
)
|
122
146
|
|
147
|
+
if self.config.debug:
|
148
|
+
style.borderColor = "#000000"
|
149
|
+
|
123
150
|
footer = Paragraph(f"{doc.page}", style=style)
|
124
151
|
_width, _height = footer.wrap(doc.width, doc.bottomMargin)
|
125
152
|
footer.drawOn(canvas, doc.leftMargin, doc.bottomMargin - cm)
|
126
153
|
|
127
154
|
canvas.restoreState()
|
128
155
|
|
129
|
-
def _get_pagesize(self) ->
|
156
|
+
def _get_pagesize(self) -> Tuple:
|
130
157
|
page_size = (
|
131
158
|
self.config.page_size or self.langconf.DEFAULT_PDF_PAGE_SIZE
|
132
159
|
)
|
@@ -152,27 +179,6 @@ class PdfWriter(BaseWriter):
|
|
152
179
|
)
|
153
180
|
)
|
154
181
|
|
155
|
-
def _init_toc(self):
|
156
|
-
"""Initialize toc and its styles."""
|
157
|
-
toc = TableOfContents()
|
158
|
-
toc.levelStyles = [
|
159
|
-
ParagraphStyle(
|
160
|
-
name="TOCHeading1",
|
161
|
-
fontName=self.langconf.DEFAULT_PDF_FONT_NAME,
|
162
|
-
fontSize=self.langconf.DEFAULT_PDF_FONT_SIZE,
|
163
|
-
firstLineIndent=0,
|
164
|
-
leftIndent=0,
|
165
|
-
),
|
166
|
-
ParagraphStyle(
|
167
|
-
name="TOCHeading2",
|
168
|
-
fontName=self.langconf.DEFAULT_PDF_FONT_NAME,
|
169
|
-
fontSize=self.langconf.DEFAULT_PDF_FONT_SIZE,
|
170
|
-
firstLineIndent=0,
|
171
|
-
leftIndent=-(self.langconf.DEFAULT_PDF_FONT_SIZE * 4 - 4),
|
172
|
-
),
|
173
|
-
]
|
174
|
-
return toc
|
175
|
-
|
176
182
|
def to_title(self, words: str, style: str = "title") -> str:
|
177
183
|
"""Create the title for the section."""
|
178
184
|
font_name = self.langconf.DEFAULT_PDF_FONT_NAME
|
@@ -181,7 +187,7 @@ class PdfWriter(BaseWriter):
|
|
181
187
|
self.styles[style],
|
182
188
|
)
|
183
189
|
|
184
|
-
def to_chapter(self, pdf, chapter, under_volume=False):
|
190
|
+
def to_chapter(self, pdf, chapter, under_volume=False) -> None:
|
185
191
|
"""Generate each chapter."""
|
186
192
|
style = "Heading2" if under_volume else "Heading1"
|
187
193
|
pdf.append(self.to_title(chapter.title, style))
|
txt2ebook/languages/zh_cn.py
CHANGED
txt2ebook/languages/zh_tw.py
CHANGED
@@ -18,6 +18,7 @@
|
|
18
18
|
from txt2ebook.languages.zh_cn import (
|
19
19
|
DEFAULT_RE_AUTHOR,
|
20
20
|
DEFAULT_RE_CHAPTER,
|
21
|
+
DEFAULT_RE_TAG,
|
21
22
|
DEFAULT_RE_TITLE,
|
22
23
|
DEFAULT_RE_VOLUME,
|
23
24
|
FULLWIDTH_NUMS,
|
@@ -35,6 +36,7 @@ DEFAULT_PDF_FONT_SIZE = 12
|
|
35
36
|
__all__ = [
|
36
37
|
"DEFAULT_RE_AUTHOR",
|
37
38
|
"DEFAULT_RE_CHAPTER",
|
39
|
+
"DEFAULT_RE_TAG",
|
38
40
|
"DEFAULT_RE_TITLE",
|
39
41
|
"DEFAULT_RE_VOLUME",
|
40
42
|
"FULLWIDTH_NUMS",
|
@@ -5,7 +5,7 @@
|
|
5
5
|
msgid ""
|
6
6
|
msgstr ""
|
7
7
|
"Project-Id-Version: PACKAGE VERSION\n"
|
8
|
-
"POT-Creation-Date: 2023-05-
|
8
|
+
"POT-Creation-Date: 2023-05-29 23:40+0800\n"
|
9
9
|
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
10
10
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
11
11
|
"Language-Team: LANGUAGE <LL@li.org>\n"
|
@@ -15,7 +15,7 @@ msgstr ""
|
|
15
15
|
"Content-Transfer-Encoding: 8bit\n"
|
16
16
|
"Generated-By: pygettext.py 1.5\n"
|
17
17
|
|
18
|
-
#: src/txt2ebook/formats/epub.py:
|
18
|
+
#: src/txt2ebook/formats/epub.py:142
|
19
19
|
msgid "cover"
|
20
20
|
msgstr "Cover"
|
21
21
|
|
@@ -23,20 +23,20 @@ msgstr "Cover"
|
|
23
23
|
msgid "metadata"
|
24
24
|
msgstr "Metadata"
|
25
25
|
|
26
|
-
#: src/txt2ebook/formats/md.py:58 src/txt2ebook/formats/md.py:
|
27
|
-
#: src/txt2ebook/formats/pdf.py:
|
28
|
-
#: src/txt2ebook/formats/txt.py:
|
26
|
+
#: src/txt2ebook/formats/md.py:58 src/txt2ebook/formats/md.py:126
|
27
|
+
#: src/txt2ebook/formats/pdf.py:131 src/txt2ebook/formats/txt.py:68
|
28
|
+
#: src/txt2ebook/formats/txt.py:155
|
29
29
|
msgid "toc"
|
30
30
|
msgstr "Table of Content"
|
31
31
|
|
32
|
-
#: src/txt2ebook/formats/md.py:
|
32
|
+
#: src/txt2ebook/formats/md.py:140 src/txt2ebook/formats/txt.py:169
|
33
33
|
msgid "title:"
|
34
34
|
msgstr "Title:"
|
35
35
|
|
36
|
-
#: src/txt2ebook/formats/md.py:
|
36
|
+
#: src/txt2ebook/formats/md.py:141 src/txt2ebook/formats/txt.py:170
|
37
37
|
msgid "author:"
|
38
38
|
msgstr "Author:"
|
39
39
|
|
40
|
-
#: src/txt2ebook/formats/md.py:
|
40
|
+
#: src/txt2ebook/formats/md.py:142 src/txt2ebook/formats/txt.py:171
|
41
41
|
msgid "tag:"
|
42
42
|
msgstr "Tag:"
|
txt2ebook/locales/txt2ebook.pot
CHANGED
@@ -5,7 +5,7 @@
|
|
5
5
|
msgid ""
|
6
6
|
msgstr ""
|
7
7
|
"Project-Id-Version: PACKAGE VERSION\n"
|
8
|
-
"POT-Creation-Date: 2023-05-
|
8
|
+
"POT-Creation-Date: 2023-05-29 23:41+0800\n"
|
9
9
|
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
10
10
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
11
11
|
"Language-Team: LANGUAGE <LL@li.org>\n"
|
@@ -15,7 +15,7 @@ msgstr ""
|
|
15
15
|
"Generated-By: pygettext.py 1.5\n"
|
16
16
|
|
17
17
|
|
18
|
-
#: src/txt2ebook/formats/epub.py:
|
18
|
+
#: src/txt2ebook/formats/epub.py:142
|
19
19
|
msgid "cover"
|
20
20
|
msgstr ""
|
21
21
|
|
@@ -23,21 +23,21 @@ msgstr ""
|
|
23
23
|
msgid "metadata"
|
24
24
|
msgstr ""
|
25
25
|
|
26
|
-
#: src/txt2ebook/formats/md.py:58 src/txt2ebook/formats/md.py:
|
27
|
-
#: src/txt2ebook/formats/pdf.py:
|
28
|
-
#: src/txt2ebook/formats/txt.py:
|
26
|
+
#: src/txt2ebook/formats/md.py:58 src/txt2ebook/formats/md.py:126
|
27
|
+
#: src/txt2ebook/formats/pdf.py:131 src/txt2ebook/formats/txt.py:68
|
28
|
+
#: src/txt2ebook/formats/txt.py:155
|
29
29
|
msgid "toc"
|
30
30
|
msgstr ""
|
31
31
|
|
32
|
-
#: src/txt2ebook/formats/md.py:
|
32
|
+
#: src/txt2ebook/formats/md.py:140 src/txt2ebook/formats/txt.py:169
|
33
33
|
msgid "title:"
|
34
34
|
msgstr ""
|
35
35
|
|
36
|
-
#: src/txt2ebook/formats/md.py:
|
36
|
+
#: src/txt2ebook/formats/md.py:141 src/txt2ebook/formats/txt.py:170
|
37
37
|
msgid "author:"
|
38
38
|
msgstr ""
|
39
39
|
|
40
|
-
#: src/txt2ebook/formats/md.py:
|
40
|
+
#: src/txt2ebook/formats/md.py:142 src/txt2ebook/formats/txt.py:171
|
41
41
|
msgid "tag:"
|
42
42
|
msgstr ""
|
43
43
|
|
@@ -5,7 +5,7 @@
|
|
5
5
|
msgid ""
|
6
6
|
msgstr ""
|
7
7
|
"Project-Id-Version: \n"
|
8
|
-
"POT-Creation-Date: 2023-05-
|
8
|
+
"POT-Creation-Date: 2023-05-29 23:40+0800\n"
|
9
9
|
"PO-Revision-Date: 2023-01-14 18:07+0800\n"
|
10
10
|
"Last-Translator: \n"
|
11
11
|
"Language-Team: \n"
|
@@ -16,7 +16,7 @@ msgstr ""
|
|
16
16
|
"Generated-By: pygettext.py 1.5\n"
|
17
17
|
"X-Generator: Poedit 3.1.1\n"
|
18
18
|
|
19
|
-
#: src/txt2ebook/formats/epub.py:
|
19
|
+
#: src/txt2ebook/formats/epub.py:142
|
20
20
|
msgid "cover"
|
21
21
|
msgstr "封面"
|
22
22
|
|
@@ -24,20 +24,20 @@ msgstr "封面"
|
|
24
24
|
msgid "metadata"
|
25
25
|
msgstr "元数据"
|
26
26
|
|
27
|
-
#: src/txt2ebook/formats/md.py:58 src/txt2ebook/formats/md.py:
|
28
|
-
#: src/txt2ebook/formats/pdf.py:
|
29
|
-
#: src/txt2ebook/formats/txt.py:
|
27
|
+
#: src/txt2ebook/formats/md.py:58 src/txt2ebook/formats/md.py:126
|
28
|
+
#: src/txt2ebook/formats/pdf.py:131 src/txt2ebook/formats/txt.py:68
|
29
|
+
#: src/txt2ebook/formats/txt.py:155
|
30
30
|
msgid "toc"
|
31
31
|
msgstr "目录"
|
32
32
|
|
33
|
-
#: src/txt2ebook/formats/md.py:
|
33
|
+
#: src/txt2ebook/formats/md.py:140 src/txt2ebook/formats/txt.py:169
|
34
34
|
msgid "title:"
|
35
35
|
msgstr "书名:"
|
36
36
|
|
37
|
-
#: src/txt2ebook/formats/md.py:
|
37
|
+
#: src/txt2ebook/formats/md.py:141 src/txt2ebook/formats/txt.py:170
|
38
38
|
msgid "author:"
|
39
39
|
msgstr "作者:"
|
40
40
|
|
41
|
-
#: src/txt2ebook/formats/md.py:
|
41
|
+
#: src/txt2ebook/formats/md.py:142 src/txt2ebook/formats/txt.py:171
|
42
42
|
msgid "tag:"
|
43
43
|
msgstr "票签:"
|
@@ -0,0 +1,25 @@
|
|
1
|
+
#: src/txt2ebook/formats/epub.py:142
|
2
|
+
msgid "cover"
|
3
|
+
msgstr ""
|
4
|
+
|
5
|
+
#: src/txt2ebook/formats/md.py:45 src/txt2ebook/formats/txt.py:55
|
6
|
+
msgid "metadata"
|
7
|
+
msgstr ""
|
8
|
+
|
9
|
+
#: src/txt2ebook/formats/md.py:58 src/txt2ebook/formats/md.py:126
|
10
|
+
#: src/txt2ebook/formats/pdf.py:131 src/txt2ebook/formats/txt.py:68
|
11
|
+
#: src/txt2ebook/formats/txt.py:155
|
12
|
+
msgid "toc"
|
13
|
+
msgstr ""
|
14
|
+
|
15
|
+
#: src/txt2ebook/formats/md.py:140 src/txt2ebook/formats/txt.py:169
|
16
|
+
msgid "title:"
|
17
|
+
msgstr ""
|
18
|
+
|
19
|
+
#: src/txt2ebook/formats/md.py:141 src/txt2ebook/formats/txt.py:170
|
20
|
+
msgid "author:"
|
21
|
+
msgstr ""
|
22
|
+
|
23
|
+
#: src/txt2ebook/formats/md.py:142 src/txt2ebook/formats/txt.py:171
|
24
|
+
msgid "tag:"
|
25
|
+
msgstr ""
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: txt2ebook
|
3
|
-
Version: 0.1.
|
3
|
+
Version: 0.1.38
|
4
4
|
Summary: CLI tool to convert txt file to ebook format
|
5
5
|
Home-page: https://github.com/kianmeng/txt2ebook
|
6
6
|
License: AGPL-3.0-or-later
|
@@ -21,11 +21,6 @@ Classifier: Programming Language :: Python :: 3.9
|
|
21
21
|
Classifier: Programming Language :: Python :: 3.10
|
22
22
|
Classifier: Programming Language :: Python :: 3.11
|
23
23
|
Classifier: Programming Language :: Python :: 3 :: Only
|
24
|
-
Classifier: Programming Language :: Python :: 3.10
|
25
|
-
Classifier: Programming Language :: Python :: 3.11
|
26
|
-
Classifier: Programming Language :: Python :: 3.7
|
27
|
-
Classifier: Programming Language :: Python :: 3.8
|
28
|
-
Classifier: Programming Language :: Python :: 3.9
|
29
24
|
Classifier: Topic :: Text Processing
|
30
25
|
Classifier: Topic :: Text Processing :: Filters
|
31
26
|
Classifier: Topic :: Text Processing :: General
|
@@ -73,7 +68,7 @@ usage: txt2ebook [-f {epub,md,pdf,txt}] [-t TITLE] [-l LANGUAGE] [-a AUTHOR]
|
|
73
68
|
[-c IMAGE_FILENAME] [-w WIDTH] [-ff FILENAME_FORMAT]
|
74
69
|
[-ps SEPARATOR] [-pz PAGE_SIZE] [-rd REGEX] [-rvc REGEX]
|
75
70
|
[-rv REGEX] [-rc REGEX] [-rt REGEX] [-ra REGEX] [-rl REGEX]
|
76
|
-
[-rr REGEX REGEX] [-et {clean,noindent
|
71
|
+
[-rr REGEX REGEX] [-et {clean,condense,noindent}] [-vp] [-tp]
|
77
72
|
[-sp] [-toc] [-hn] [-fw] [-rw] [-ow] [-v] [-d] [-h] [-V]
|
78
73
|
TXT_FILENAME [EBOOK_FILENAME]
|
79
74
|
|
@@ -138,7 +133,7 @@ optional arguments:
|
|
138
133
|
--format epub:
|
139
134
|
-c IMAGE_FILENAME, --cover IMAGE_FILENAME
|
140
135
|
cover of the ebook
|
141
|
-
-et {clean,noindent
|
136
|
+
-et {clean,condense,noindent}, --epub-template {clean,condense,noindent}
|
142
137
|
CSS template for epub ebook (default: 'clean')
|
143
138
|
-vp, --volume-page
|
144
139
|
generate each volume as separate page
|
@@ -1,14 +1,14 @@
|
|
1
|
-
CHANGELOG.md,sha256=
|
1
|
+
CHANGELOG.md,sha256=Voar7eK2duCzpoO5KJoMydz2FEDZRujOi0JiSgWiWOM,16749
|
2
2
|
CONTRIBUTING.md,sha256=vaIsyeLVLLXOx3pVhOyNAzn4R74tbCnMb_1p8ak7Eug,1966
|
3
3
|
LICENSE.md,sha256=tGtFDwxWTjuR9syrJoSv1Hiffd2u8Tu8cYClfrXS_YU,31956
|
4
|
-
txt2ebook/__init__.py,sha256=
|
4
|
+
txt2ebook/__init__.py,sha256=B8GlmNAI8e-GObpfpgixbZAbNOqUabioQHT0i7LMoT8,1649
|
5
5
|
txt2ebook/__main__.py,sha256=69yaheH-Fv2VIPS0T9kiVmiMluSgLGvwo1fa7badX2I,845
|
6
6
|
txt2ebook/exceptions.py,sha256=Y6rqjXhiKIxNeKWVqvAqsUAOaBFKxlUE5Tm5EBcoi9w,837
|
7
7
|
txt2ebook/formats/__init__.py,sha256=d9eNgHNMsSZYknt_AW59mFe9PJ12pyDGzrEeai5wjQo,2254
|
8
8
|
txt2ebook/formats/base.py,sha256=gmOyrOgmCxyw1MsD1ZLTJ1vIGTHnObPaehzoucZfI8M,3362
|
9
9
|
txt2ebook/formats/epub.py,sha256=NOo6aYeAFeghhum1lneGCcMzsZErQlqwoSegx2G6Sps,6788
|
10
10
|
txt2ebook/formats/md.py,sha256=WPF-GAdiNB_B_Ak80OGDK2XMTxLcxljI1jYUb8cQFLE,6561
|
11
|
-
txt2ebook/formats/pdf.py,sha256=
|
11
|
+
txt2ebook/formats/pdf.py,sha256=xTMAAkYXEWOgOPlJax8M5Y-5_H43PgwoqwqJVUNhK6w,7030
|
12
12
|
txt2ebook/formats/templates/__init__.py,sha256=0Hhm7Dayb7eB9h2cFo2103H4Tr6ie0ySMZ5gR01q6ag,750
|
13
13
|
txt2ebook/formats/templates/epub/__init__.py,sha256=O2sdWRhkuamReBR20WedGWosLp8Dt8NZ33aXzyNQuLQ,756
|
14
14
|
txt2ebook/formats/templates/epub/clean.css,sha256=AnEwMckzUSKcjKsDiWtJW1oaceuklt2tyuS1VbpVK1s,462
|
@@ -18,13 +18,14 @@ txt2ebook/formats/txt.py,sha256=UY2gVjs2W-bByrwcIfYGOmVMl58J1EBQnYsKm1xndGo,7431
|
|
18
18
|
txt2ebook/helpers/__init__.py,sha256=5EFTheYifNYk24rniaehnxd0NRR4K3aakSldZTVot1c,1966
|
19
19
|
txt2ebook/languages/__init__.py,sha256=-c9-YQEkXnb9LKLoi7EtNlQLAw2SqDKVw2UXlWt9Dl0,753
|
20
20
|
txt2ebook/languages/en.py,sha256=xCIhL431eUgoGwci4LCBkso8bR2LBhxKqWCPczKKoJQ,915
|
21
|
-
txt2ebook/languages/zh_cn.py,sha256=
|
22
|
-
txt2ebook/languages/zh_tw.py,sha256=
|
21
|
+
txt2ebook/languages/zh_cn.py,sha256=rfAXIlDcWe6SiqFFQp_ShCKIDX3lZ85pjKkxF4JXiQU,1878
|
22
|
+
txt2ebook/languages/zh_tw.py,sha256=UyZQ8RYiSTaIXjk8W3GHaspdIEHclTtjRAoEk1X8XVw,1374
|
23
23
|
txt2ebook/locales/en/LC_MESSAGES/txt2ebook.mo,sha256=z36DCUIbIycBGbC9Pm-3O8BdaQSQeN53_whv7IliEKU,564
|
24
|
-
txt2ebook/locales/en/LC_MESSAGES/txt2ebook.po,sha256=
|
25
|
-
txt2ebook/locales/txt2ebook.pot,sha256=
|
24
|
+
txt2ebook/locales/en/LC_MESSAGES/txt2ebook.po,sha256=sf1xgWDtu1xg7izUDZ4G7ZfowZhnOwQhi11A7cHsN6c,1163
|
25
|
+
txt2ebook/locales/txt2ebook.pot,sha256=FezHPYbi8wF7KA544uAODAKU7HLNEXjMkch8m8GX9E8,1104
|
26
26
|
txt2ebook/locales/zh-cn/LC_MESSAGES/txt2ebook.mo,sha256=4S0znfoLRUmTAzvLyIV1tEXiHo-A3mAAzvpJ39Ga4mk,534
|
27
|
-
txt2ebook/locales/zh-cn/LC_MESSAGES/txt2ebook.po,sha256=
|
27
|
+
txt2ebook/locales/zh-cn/LC_MESSAGES/txt2ebook.po,sha256=9Gn4LYSeUVf_gx1Og2I3lH9pSdM-KJQpF6X6oO_pxPM,1137
|
28
|
+
txt2ebook/locales/zh-tw/LC_MESSAGES/txt2ebook.po,sha256=OiUV2w_J79aqpME59LiClOUjGaTxHS13dDPCoMsqLg8,629
|
28
29
|
txt2ebook/models/__init__.py,sha256=oHf4YvkEV7qKHhHiGxl4m95DSJ3zSIW2uJQec-BwXrc,920
|
29
30
|
txt2ebook/models/book.py,sha256=PlnMweqZIvMYsVpr5g7Moi9BiXEfprqwZNsmEbzB6eY,2691
|
30
31
|
txt2ebook/models/chapter.py,sha256=PhPHraG3QNgY4C-USAzTDpDPVNsvTL8yC3r2iTW42KU,1676
|
@@ -33,8 +34,8 @@ txt2ebook/parser.py,sha256=AK3rkY9uItu7AJQnl2b5sMroqJgbxxQdKsOAEfo3nXU,11929
|
|
33
34
|
txt2ebook/tokenizer.py,sha256=lsgGZSVpKl5fC6eEf8eIrGKZIVQnLqKM1Kenn4xJ-u4,9263
|
34
35
|
txt2ebook/txt2ebook.py,sha256=LOWS-3ys-COPvLcBC0rKhwB3krM4Kpvetql31vVHGLg,11211
|
35
36
|
txt2ebook/zh_utils.py,sha256=CM6SnsQhJWzSevcJWQ_9Pj028JUGbG3v0AG6xK_KgBY,4877
|
36
|
-
txt2ebook-0.1.
|
37
|
-
txt2ebook-0.1.
|
38
|
-
txt2ebook-0.1.
|
39
|
-
txt2ebook-0.1.
|
40
|
-
txt2ebook-0.1.
|
37
|
+
txt2ebook-0.1.38.dist-info/LICENSE.md,sha256=tGtFDwxWTjuR9syrJoSv1Hiffd2u8Tu8cYClfrXS_YU,31956
|
38
|
+
txt2ebook-0.1.38.dist-info/METADATA,sha256=kL2fmoBh9szh-WZkrHGYAmn3un5JmrR6HEcu8-QhUl8,6289
|
39
|
+
txt2ebook-0.1.38.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
|
40
|
+
txt2ebook-0.1.38.dist-info/entry_points.txt,sha256=IQHyIIhd0MHjSSRVC1a6tMeIoLus8D06KHL_cumvEbg,83
|
41
|
+
txt2ebook-0.1.38.dist-info/RECORD,,
|
File without changes
|
File without changes
|