reykit 1.1.44__py3-none-any.whl → 1.1.45__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.
reykit/rmonkey.py CHANGED
@@ -13,13 +13,13 @@ from __future__ import annotations
13
13
 
14
14
 
15
15
  __all__ = (
16
- 'monkey_patch_sqlalchemy_result_more_fetch',
17
- 'monkey_patch_sqlalchemy_row_index_field',
18
- 'monkey_patch_pprint_modify_width_judgment'
16
+ 'monkey_sqlalchemy_result_more_fetch',
17
+ 'monkey_sqlalchemy_row_index_field',
18
+ 'monkey_pprint_modify_width_judgment'
19
19
  )
20
20
 
21
21
 
22
- def monkey_patch_sqlalchemy_result_more_fetch():
22
+ def monkey_sqlalchemy_result_more_fetch():
23
23
  """
24
24
  Monkey patch of package `sqlalchemy`, add more fetch methods to `CursorResult` object.
25
25
 
@@ -201,7 +201,7 @@ def monkey_patch_sqlalchemy_result_more_fetch():
201
201
  return Result
202
202
 
203
203
 
204
- def monkey_patch_sqlalchemy_row_index_field():
204
+ def monkey_sqlalchemy_row_index_field():
205
205
  """
206
206
  Monkey patch of package `sqlalchemy`, add index by field method to `Row` object.
207
207
 
@@ -249,7 +249,7 @@ def monkey_patch_sqlalchemy_row_index_field():
249
249
  Row.__getitem__ = __getitem__
250
250
 
251
251
 
252
- def monkey_patch_pprint_modify_width_judgment() -> None:
252
+ def monkey_pprint_modify_width_judgment() -> None:
253
253
  """
254
254
  Monkey patch of package `pprint`, modify the chinese width judgment.
255
255
  """
reykit/rtext.py CHANGED
@@ -14,7 +14,7 @@ from collections.abc import Iterable
14
14
  from pprint import pformat as pprint_pformat
15
15
 
16
16
  from .rbase import throw, is_iterable, get_varname
17
- from .rmonkey import monkey_patch_pprint_modify_width_judgment
17
+ from .rmonkey import monkey_pprint_modify_width_judgment
18
18
  from .rstdout import get_terminal_size
19
19
 
20
20
 
@@ -31,7 +31,7 @@ __all__ = (
31
31
 
32
32
 
33
33
  # Monkey path.
34
- monkey_patch_pprint_modify_width_judgment()
34
+ monkey_pprint_modify_width_judgment()
35
35
 
36
36
 
37
37
  def to_text(data: Any, width: int | None = None) -> str:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: reykit
3
- Version: 1.1.44
3
+ Version: 1.1.45
4
4
  Summary: Kit method set.
5
5
  Project-URL: homepage, https://github.com/reyxbo/reykit/
6
6
  Author-email: Rey <reyxbo@163.com>
@@ -5,7 +5,7 @@ reykit/rdata.py,sha256=DqxoWkbN3WqGZ5FC9VRlhXAwpTGebv1M5VSeOeR2YnQ,10308
5
5
  reykit/remail.py,sha256=s7TXbLgEWEqNoeM42c6FpPufB2LajHgQuahfZri3urQ,6706
6
6
  reykit/rimage.py,sha256=p7caatLE71yy7GUTkTKyMOaJTeBfl6pZr_7BFjcDvY8,6159
7
7
  reykit/rlog.py,sha256=FpxIa24jyr806KVdIjhaqmiggOEwuwZ7ncros9YNNHA,25592
8
- reykit/rmonkey.py,sha256=L9AGF6CzU-GvvtRsX7a5WYUb1W6Ji_FnkZY1HgW_wMA,7987
8
+ reykit/rmonkey.py,sha256=9-NvBM4phThKTHpqTSPlPGfJWcoDSp4EVl8x3xHJacg,7951
9
9
  reykit/rnet.py,sha256=zvEWAM42jAdQT868FFDrm-OPn5f3SNfMZP-bU8Sbx0A,16934
10
10
  reykit/rnum.py,sha256=PhG4V_BkVfCJUsbpMDN1umGZly1Hsus80TW8bpyBtyY,3653
11
11
  reykit/ros.py,sha256=BYqFWqktxRZsSzxPU0u-QnMnNKH90SY3anwoIuajzCI,41150
@@ -16,13 +16,13 @@ reykit/rstdout.py,sha256=Vgqm66rtjIaYWO-EFEm9PGzgXDzZXZGq-BS1Lg6zD40,8197
16
16
  reykit/rsys.py,sha256=28B-QO0DiKjiNv-kbGh3z-BN4YOrhWVYML3b3cGrPHo,24941
17
17
  reykit/rtable.py,sha256=Ua6R1eHMtq4jAaWvfFTsgk-KQmtz5KwuYq4kguzRKaY,12198
18
18
  reykit/rtask.py,sha256=98iCzNdJ_fFRDyOLjXEFNW3tzdAwXcCF7JkZ7Gf0fEE,22848
19
- reykit/rtext.py,sha256=EQ_9aZYJL59CLG7i1MMb2Nbqrud_wbmcsmCVLQt_WJA,12861
19
+ reykit/rtext.py,sha256=gkmA849MBHjchvY4apUTQpkFs13vcmyK_hIwucH2A84,12849
20
20
  reykit/rtime.py,sha256=S6tKTjxSoqG4Itd138aOu6T3iGBBkhSf9Bs8Dj0HCAE,17010
21
21
  reykit/rwrap.py,sha256=3at29SGx5As9fmv1t9m_ibjHTvXpA6uPo-mroSsrX-I,15323
22
22
  reykit/rzip.py,sha256=ABUDLwEHQIpcvZbJE_oV78H7dik6nC7kaRz660Ro9Os,3481
23
23
  reykit/rdll/__init__.py,sha256=WrJ_8jp_hbn2nl1osrR3buZMsmAGRVY6HfQdhDoJpSM,698
24
24
  reykit/rdll/rdll_core.py,sha256=o6-rKcTQgxZQe0kD3GnwyNb3KL9IogzgCQNOmYLMm7A,5086
25
- reykit-1.1.44.dist-info/METADATA,sha256=xCpIJbTK_kGo5QXcDPnhxHzKVJiR8SsJUaUs7ztrJ-0,1872
26
- reykit-1.1.44.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
27
- reykit-1.1.44.dist-info/licenses/LICENSE,sha256=UYLPqp7BvPiH8yEZduJqmmyEl6hlM3lKrFIefiD4rvk,1059
28
- reykit-1.1.44.dist-info/RECORD,,
25
+ reykit-1.1.45.dist-info/METADATA,sha256=-eot345YciZjs3CkwiEwHq18-P-Pr8Pa6_eYTzGPP18,1872
26
+ reykit-1.1.45.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
27
+ reykit-1.1.45.dist-info/licenses/LICENSE,sha256=UYLPqp7BvPiH8yEZduJqmmyEl6hlM3lKrFIefiD4rvk,1059
28
+ reykit-1.1.45.dist-info/RECORD,,