txt2ebook 0.1.127__py3-none-any.whl → 0.1.128__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.
@@ -32,5 +32,14 @@ def lower_underscore(string: str) -> str:
32
32
 
33
33
  Returns:
34
34
  str: Formatted string.
35
+
36
+ Examples:
37
+
38
+ >>> lower_underscore("Hello World")
39
+ 'hello_world'
40
+ >>> lower_underscore("Hello World")
41
+ 'hello_world'
42
+ >>> lower_underscore("Hello\tWorld")
43
+ 'hello_world'
35
44
  """
36
45
  return re.sub(r'\s+', '_', string.lower().strip())
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: txt2ebook
3
- Version: 0.1.127
3
+ Version: 0.1.128
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
@@ -16,7 +16,7 @@ txt2ebook/formats/templates/epub/noindent.css,sha256=_O5Tv90TKyyPBRdgjuNKFwtKFbd
16
16
  txt2ebook/formats/tex.py,sha256=V5B1nPR-WzGc4jqWu-BqxfQhtQsUTKM_sZZJsCcDBAk,5897
17
17
  txt2ebook/formats/txt.py,sha256=j5RWF41WQfLdm-APwi8u-OE8snenDEJLzxHD_i9mxeg,7541
18
18
  txt2ebook/formats/typ.py,sha256=_a3PKFh5jlHvaqRes6XvtPoDJI_HJaH7pCBbBRFeYyM,6647
19
- txt2ebook/helpers/__init__.py,sha256=4xDDw0UB9c8XFh9-lQfcc9JY7OV32quzEIaxtxObVWw,1162
19
+ txt2ebook/helpers/__init__.py,sha256=-Awv2qDnsDHnku_XunOCsn-HDLvkBDpI0b24WFs0H74,1379
20
20
  txt2ebook/languages/__init__.py,sha256=1AfDn-D0q-dvODGP-9KxPHY_Wtk-ifZdN1FutZMT9-Q,763
21
21
  txt2ebook/languages/en.py,sha256=e5VzZwfrO2kABMwEB0l--eo4XbOre6f6uJ-ySU3ORT8,960
22
22
  txt2ebook/languages/zh_cn.py,sha256=VlNB-XvCx_aB4G-gGJJA2i49ksPRdGDiZu0qXHwsDvo,1971
@@ -45,8 +45,8 @@ txt2ebook/subcommands/tex.py,sha256=X6ZBfuAs_mcJe8PNjzoW339ecPynZduVbcCq0henjiA,
45
45
  txt2ebook/subcommands/typ.py,sha256=r4Xf7xSINbYfaIKkVzdyQDlUMWPvOIcbvOwC71spu6w,3682
46
46
  txt2ebook/tokenizer.py,sha256=H9AaZVmNP43L3ONvj58u_5weZAjFG9SzQSeS9upGN1U,9642
47
47
  txt2ebook/zh_utils.py,sha256=0Yq9r-JL4HntW68vFR6TBP9yQim1a07mfsh_sp-XmaE,4887
48
- txt2ebook-0.1.127.dist-info/LICENSE.md,sha256=tGtFDwxWTjuR9syrJoSv1Hiffd2u8Tu8cYClfrXS_YU,31956
49
- txt2ebook-0.1.127.dist-info/METADATA,sha256=u4PLEvlD0t-jAJ3fArzcy57nbYG-lPDYGqGe0yyXSX4,4969
50
- txt2ebook-0.1.127.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
51
- txt2ebook-0.1.127.dist-info/entry_points.txt,sha256=q4krNWsYNu4Rcf72nFc66JeR0J9BiFA6-NVEJKBZ_F4,71
52
- txt2ebook-0.1.127.dist-info/RECORD,,
48
+ txt2ebook-0.1.128.dist-info/LICENSE.md,sha256=tGtFDwxWTjuR9syrJoSv1Hiffd2u8Tu8cYClfrXS_YU,31956
49
+ txt2ebook-0.1.128.dist-info/METADATA,sha256=XF6MXaqgZmlmNeOxqFLhrCZehpn2QeHdKoS_MpH6D0U,4969
50
+ txt2ebook-0.1.128.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
51
+ txt2ebook-0.1.128.dist-info/entry_points.txt,sha256=AFikuCV6fqf8_GHwsvWuo9jTGNrCkWY1TJWk5GfMWSk,71
52
+ txt2ebook-0.1.128.dist-info/RECORD,,
@@ -1,4 +1,4 @@
1
1
  [console_scripts]
2
2
  tte=txt2ebook.cli:main
3
- txt2ebook=txt2ebook.cli.main
3
+ txt2ebook=txt2ebook.cli:main
4
4