txt2ebook 0.1.79__py3-none-any.whl → 0.1.80__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.
- txt2ebook/__init__.py +3 -2
- txt2ebook/locales/en/LC_MESSAGES/txt2ebook.po +10 -13
- txt2ebook/locales/txt2ebook.pot +10 -13
- txt2ebook/locales/zh-cn/LC_MESSAGES/txt2ebook.po +10 -13
- txt2ebook/locales/zh-tw/LC_MESSAGES/txt2ebook.po +10 -13
- {txt2ebook-0.1.79.dist-info → txt2ebook-0.1.80.dist-info}/METADATA +1 -1
- {txt2ebook-0.1.79.dist-info → txt2ebook-0.1.80.dist-info}/RECORD +10 -10
- {txt2ebook-0.1.79.dist-info → txt2ebook-0.1.80.dist-info}/LICENSE.md +0 -0
- {txt2ebook-0.1.79.dist-info → txt2ebook-0.1.80.dist-info}/WHEEL +0 -0
- {txt2ebook-0.1.79.dist-info → txt2ebook-0.1.80.dist-info}/entry_points.txt +0 -0
txt2ebook/__init__.py
CHANGED
@@ -22,7 +22,7 @@ import sys
|
|
22
22
|
|
23
23
|
logger = logging.getLogger(__name__)
|
24
24
|
|
25
|
-
__version__ = "0.1.
|
25
|
+
__version__ = "0.1.80"
|
26
26
|
|
27
27
|
|
28
28
|
def setup_logger(config: argparse.Namespace) -> None:
|
@@ -62,9 +62,10 @@ def log_or_raise_on_warning(msg: str, raise_on_warning: bool = False) -> None:
|
|
62
62
|
|
63
63
|
def print_env() -> None:
|
64
64
|
"""Print environment details for bug reporting."""
|
65
|
+
sys_version = sys.version.replace("\n", "")
|
65
66
|
print(
|
66
67
|
f"txt2ebook: {__version__}",
|
67
|
-
f"python: {
|
68
|
+
f"python: {sys_version}",
|
68
69
|
f"platform: {platform.platform()}",
|
69
70
|
sep="\n",
|
70
71
|
)
|
@@ -1,34 +1,31 @@
|
|
1
|
-
#:
|
1
|
+
#: src/txt2ebook/formats/base.py:141
|
2
2
|
msgid "title:"
|
3
3
|
msgstr "Title:"
|
4
4
|
|
5
|
-
#:
|
5
|
+
#: src/txt2ebook/formats/base.py:142
|
6
6
|
msgid "author:"
|
7
7
|
msgstr "Author:"
|
8
8
|
|
9
|
-
#:
|
9
|
+
#: src/txt2ebook/formats/base.py:143
|
10
10
|
msgid "translator:"
|
11
11
|
msgstr "Translator:"
|
12
12
|
|
13
|
-
#:
|
13
|
+
#: src/txt2ebook/formats/base.py:144
|
14
14
|
msgid "tag:"
|
15
15
|
msgstr "Tag:"
|
16
16
|
|
17
|
-
#:
|
18
|
-
#:
|
19
|
-
#:
|
20
|
-
#: /home/ang/src/self/txt2ebook/txt2ebook/src/txt2ebook/formats/pdf.py:126
|
21
|
-
#: /home/ang/src/self/txt2ebook/txt2ebook/src/txt2ebook/formats/txt.py:71
|
17
|
+
#: src/txt2ebook/formats/base.py:155 src/txt2ebook/formats/gmi.py:62
|
18
|
+
#: src/txt2ebook/formats/md.py:61 src/txt2ebook/formats/pdf.py:126
|
19
|
+
#: src/txt2ebook/formats/txt.py:71
|
22
20
|
msgid "toc"
|
23
21
|
msgstr "Table of Content"
|
24
22
|
|
25
|
-
#:
|
23
|
+
#: src/txt2ebook/formats/epub.py:147
|
26
24
|
msgid "cover"
|
27
25
|
msgstr "Cover"
|
28
26
|
|
29
|
-
#:
|
30
|
-
#:
|
31
|
-
#: /home/ang/src/self/txt2ebook/txt2ebook/src/txt2ebook/formats/txt.py:56
|
27
|
+
#: src/txt2ebook/formats/gmi.py:47 src/txt2ebook/formats/md.py:46
|
28
|
+
#: src/txt2ebook/formats/txt.py:56
|
32
29
|
msgid "metadata"
|
33
30
|
msgstr "Metadata"
|
34
31
|
|
txt2ebook/locales/txt2ebook.pot
CHANGED
@@ -1,34 +1,31 @@
|
|
1
|
-
#:
|
1
|
+
#: src/txt2ebook/formats/base.py:141
|
2
2
|
msgid "title:"
|
3
3
|
msgstr ""
|
4
4
|
|
5
|
-
#:
|
5
|
+
#: src/txt2ebook/formats/base.py:142
|
6
6
|
msgid "author:"
|
7
7
|
msgstr ""
|
8
8
|
|
9
|
-
#:
|
9
|
+
#: src/txt2ebook/formats/base.py:143
|
10
10
|
msgid "translator:"
|
11
11
|
msgstr ""
|
12
12
|
|
13
|
-
#:
|
13
|
+
#: src/txt2ebook/formats/base.py:144
|
14
14
|
msgid "tag:"
|
15
15
|
msgstr ""
|
16
16
|
|
17
|
-
#:
|
18
|
-
#:
|
19
|
-
#:
|
20
|
-
#: /home/ang/src/self/txt2ebook/txt2ebook/src/txt2ebook/formats/pdf.py:126
|
21
|
-
#: /home/ang/src/self/txt2ebook/txt2ebook/src/txt2ebook/formats/txt.py:71
|
17
|
+
#: src/txt2ebook/formats/base.py:155 src/txt2ebook/formats/gmi.py:62
|
18
|
+
#: src/txt2ebook/formats/md.py:61 src/txt2ebook/formats/pdf.py:126
|
19
|
+
#: src/txt2ebook/formats/txt.py:71
|
22
20
|
msgid "toc"
|
23
21
|
msgstr ""
|
24
22
|
|
25
|
-
#:
|
23
|
+
#: src/txt2ebook/formats/epub.py:147
|
26
24
|
msgid "cover"
|
27
25
|
msgstr ""
|
28
26
|
|
29
|
-
#:
|
30
|
-
#:
|
31
|
-
#: /home/ang/src/self/txt2ebook/txt2ebook/src/txt2ebook/formats/txt.py:56
|
27
|
+
#: src/txt2ebook/formats/gmi.py:47 src/txt2ebook/formats/md.py:46
|
28
|
+
#: src/txt2ebook/formats/txt.py:56
|
32
29
|
msgid "metadata"
|
33
30
|
msgstr ""
|
34
31
|
|
@@ -1,34 +1,31 @@
|
|
1
|
-
#:
|
1
|
+
#: src/txt2ebook/formats/base.py:141
|
2
2
|
msgid "title:"
|
3
3
|
msgstr "书名:"
|
4
4
|
|
5
|
-
#:
|
5
|
+
#: src/txt2ebook/formats/base.py:142
|
6
6
|
msgid "author:"
|
7
7
|
msgstr "作者:"
|
8
8
|
|
9
|
-
#:
|
9
|
+
#: src/txt2ebook/formats/base.py:143
|
10
10
|
msgid "translator:"
|
11
11
|
msgstr "翻译:"
|
12
12
|
|
13
|
-
#:
|
13
|
+
#: src/txt2ebook/formats/base.py:144
|
14
14
|
msgid "tag:"
|
15
15
|
msgstr "票签:"
|
16
16
|
|
17
|
-
#:
|
18
|
-
#:
|
19
|
-
#:
|
20
|
-
#: /home/ang/src/self/txt2ebook/txt2ebook/src/txt2ebook/formats/pdf.py:126
|
21
|
-
#: /home/ang/src/self/txt2ebook/txt2ebook/src/txt2ebook/formats/txt.py:71
|
17
|
+
#: src/txt2ebook/formats/base.py:155 src/txt2ebook/formats/gmi.py:62
|
18
|
+
#: src/txt2ebook/formats/md.py:61 src/txt2ebook/formats/pdf.py:126
|
19
|
+
#: src/txt2ebook/formats/txt.py:71
|
22
20
|
msgid "toc"
|
23
21
|
msgstr "目录"
|
24
22
|
|
25
|
-
#:
|
23
|
+
#: src/txt2ebook/formats/epub.py:147
|
26
24
|
msgid "cover"
|
27
25
|
msgstr "封面"
|
28
26
|
|
29
|
-
#:
|
30
|
-
#:
|
31
|
-
#: /home/ang/src/self/txt2ebook/txt2ebook/src/txt2ebook/formats/txt.py:56
|
27
|
+
#: src/txt2ebook/formats/gmi.py:47 src/txt2ebook/formats/md.py:46
|
28
|
+
#: src/txt2ebook/formats/txt.py:56
|
32
29
|
msgid "metadata"
|
33
30
|
msgstr "元数据"
|
34
31
|
|
@@ -1,34 +1,31 @@
|
|
1
|
-
#:
|
1
|
+
#: src/txt2ebook/formats/base.py:141
|
2
2
|
msgid "title:"
|
3
3
|
msgstr "书名:"
|
4
4
|
|
5
|
-
#:
|
5
|
+
#: src/txt2ebook/formats/base.py:142
|
6
6
|
msgid "author:"
|
7
7
|
msgstr "作者:"
|
8
8
|
|
9
|
-
#:
|
9
|
+
#: src/txt2ebook/formats/base.py:143
|
10
10
|
msgid "translator:"
|
11
11
|
msgstr "翻译:"
|
12
12
|
|
13
|
-
#:
|
13
|
+
#: src/txt2ebook/formats/base.py:144
|
14
14
|
msgid "tag:"
|
15
15
|
msgstr "标签:"
|
16
16
|
|
17
|
-
#:
|
18
|
-
#:
|
19
|
-
#:
|
20
|
-
#: /home/ang/src/self/txt2ebook/txt2ebook/src/txt2ebook/formats/pdf.py:126
|
21
|
-
#: /home/ang/src/self/txt2ebook/txt2ebook/src/txt2ebook/formats/txt.py:71
|
17
|
+
#: src/txt2ebook/formats/base.py:155 src/txt2ebook/formats/gmi.py:62
|
18
|
+
#: src/txt2ebook/formats/md.py:61 src/txt2ebook/formats/pdf.py:126
|
19
|
+
#: src/txt2ebook/formats/txt.py:71
|
22
20
|
msgid "toc"
|
23
21
|
msgstr "目录"
|
24
22
|
|
25
|
-
#:
|
23
|
+
#: src/txt2ebook/formats/epub.py:147
|
26
24
|
msgid "cover"
|
27
25
|
msgstr "封面"
|
28
26
|
|
29
|
-
#:
|
30
|
-
#:
|
31
|
-
#: /home/ang/src/self/txt2ebook/txt2ebook/src/txt2ebook/formats/txt.py:56
|
27
|
+
#: src/txt2ebook/formats/gmi.py:47 src/txt2ebook/formats/md.py:46
|
28
|
+
#: src/txt2ebook/formats/txt.py:56
|
32
29
|
msgid "metadata"
|
33
30
|
msgstr "元数据"
|
34
31
|
|
@@ -1,4 +1,4 @@
|
|
1
|
-
txt2ebook/__init__.py,sha256=
|
1
|
+
txt2ebook/__init__.py,sha256=j84LkkhZM9ogHfziWINXav1RWeMYOb4EF3uFDJft8CI,2061
|
2
2
|
txt2ebook/__main__.py,sha256=gMLvgpqc_BL4cBqNe0vqErRF5dlJPAbvqu1zndcAHYI,850
|
3
3
|
txt2ebook/exceptions.py,sha256=b2HDsXdqweLJbvSJEGt48nxvGkZq20SfYezSjwp77JU,842
|
4
4
|
txt2ebook/formats/__init__.py,sha256=yjZsVk2L6FkUuEpyilp1XTrJeYYljws99vebiweWAKU,2395
|
@@ -20,12 +20,12 @@ txt2ebook/languages/en.py,sha256=LVZsvr6JLbQFrfI1XSYG54mFwzlHa0fhKghlUemkQbo,920
|
|
20
20
|
txt2ebook/languages/zh_cn.py,sha256=_3DnB7mDW_EJW3-jy9ZfnxIZ85zNgfXqzPoc7daBHIY,1930
|
21
21
|
txt2ebook/languages/zh_tw.py,sha256=ISjDXJes-jbOUC_5RDH8Bsc0ttBf-4Dt2HNDEBxwRgE,1464
|
22
22
|
txt2ebook/locales/en/LC_MESSAGES/txt2ebook.mo,sha256=Ym6soeijV3zsv9FUPWlJnu18-CNb5tcOTN5JsMOfV9c,672
|
23
|
-
txt2ebook/locales/en/LC_MESSAGES/txt2ebook.po,sha256=
|
24
|
-
txt2ebook/locales/txt2ebook.pot,sha256=
|
23
|
+
txt2ebook/locales/en/LC_MESSAGES/txt2ebook.po,sha256=kteGa2ZfuM3K0YpuUFzeuZCrW3OwsJANbWwOyj-ZmPg,698
|
24
|
+
txt2ebook/locales/txt2ebook.pot,sha256=O6sRM9qorlogmhZMo-gK4u5A0llYaI93kRNdLf3ff6o,641
|
25
25
|
txt2ebook/locales/zh-cn/LC_MESSAGES/txt2ebook.mo,sha256=rRGW7HByDVZV8WpQkhyIFOWYNTQc4NnStrn0eGJX8Wc,675
|
26
|
-
txt2ebook/locales/zh-cn/LC_MESSAGES/txt2ebook.po,sha256=
|
26
|
+
txt2ebook/locales/zh-cn/LC_MESSAGES/txt2ebook.po,sha256=_U-CV9Y2uKY0BSrz3AzMKZAZQIxdg78PvvKJJjztDpY,698
|
27
27
|
txt2ebook/locales/zh-tw/LC_MESSAGES/txt2ebook.mo,sha256=1GIuOcO_bISiFcfhFez-A7mSi11Mo-x3PBobBENgMEc,675
|
28
|
-
txt2ebook/locales/zh-tw/LC_MESSAGES/txt2ebook.po,sha256
|
28
|
+
txt2ebook/locales/zh-tw/LC_MESSAGES/txt2ebook.po,sha256=-ZWFc5Elhzbps7sCxiiRpACSfKkqZt4B8gNuU-9iWQ8,698
|
29
29
|
txt2ebook/models/__init__.py,sha256=8_k1oI_PnPMekhdZCXiTtg5WghdR6fugQEHJHsy1-Ds,925
|
30
30
|
txt2ebook/models/book.py,sha256=GYXvklHnLIuodEgbjzulyA0OSX72K37ohGBn8xDwCgw,2759
|
31
31
|
txt2ebook/models/chapter.py,sha256=buECAklNQgM3tDehzyVO9YfA_F0iXyLq2PaMZGV_Zaw,1681
|
@@ -34,8 +34,8 @@ txt2ebook/parser.py,sha256=vdC--8I2c89xve7OA1OkYTDjSMwwKoyv4Wkmca0iFhE,11823
|
|
34
34
|
txt2ebook/tokenizer.py,sha256=y1CQ3Xf5g74o_mUZSOwrwwu0grKmgmt6x3yxCWWokhU,9318
|
35
35
|
txt2ebook/txt2ebook.py,sha256=Nwf30JA5aAXwHZEH1bnqXtD_eT3QBbpHQfsG4DP9uAc,13212
|
36
36
|
txt2ebook/zh_utils.py,sha256=EgKVbwqYGaTGswQUGcOCeSfRelzwkAb9WWY9TrsX1x4,4882
|
37
|
-
txt2ebook-0.1.
|
38
|
-
txt2ebook-0.1.
|
39
|
-
txt2ebook-0.1.
|
40
|
-
txt2ebook-0.1.
|
41
|
-
txt2ebook-0.1.
|
37
|
+
txt2ebook-0.1.80.dist-info/LICENSE.md,sha256=tGtFDwxWTjuR9syrJoSv1Hiffd2u8Tu8cYClfrXS_YU,31956
|
38
|
+
txt2ebook-0.1.80.dist-info/METADATA,sha256=NpKFdJUXQkFbzVFO2otkjHPXBPKgjnDHM3slD0oxjS4,7388
|
39
|
+
txt2ebook-0.1.80.dist-info/WHEEL,sha256=FMvqSimYX_P7y0a7UY-_Mc83r5zkBZsCYPm7Lr0Bsq4,88
|
40
|
+
txt2ebook-0.1.80.dist-info/entry_points.txt,sha256=IQHyIIhd0MHjSSRVC1a6tMeIoLus8D06KHL_cumvEbg,83
|
41
|
+
txt2ebook-0.1.80.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|