reywechat 1.0.87__py3-none-any.whl → 1.0.89__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.
reywechat/rdb.py CHANGED
@@ -11,8 +11,7 @@
11
11
 
12
12
  from typing import Literal
13
13
  from json import loads as json_loads
14
- from reydb import rorm
15
- from reydb.rdb import Database
14
+ from reydb import rorm, Database
16
15
  from reykit.rbase import throw
17
16
  from reykit.ros import File
18
17
  from reykit.rtime import to_time, time_to, sleep
@@ -668,7 +667,6 @@ class WeChatDatabase(WeChatBase):
668
667
  """
669
668
 
670
669
 
671
- # Define.
672
670
  def receiver_handler_to_contact_user(message: WeChatMessage) -> None:
673
671
  """
674
672
  Write record to table `contact_user`.
@@ -706,7 +704,6 @@ class WeChatDatabase(WeChatBase):
706
704
  """
707
705
 
708
706
 
709
- # Define.
710
707
  def receiver_handler_to_contact_room(message: WeChatMessage) -> None:
711
708
  """
712
709
  Write record to table `contact_room`.
@@ -789,7 +786,6 @@ class WeChatDatabase(WeChatBase):
789
786
  """
790
787
 
791
788
 
792
- # Define.
793
789
  def receiver_handler_to_contact_room_user(message: WeChatMessage) -> None:
794
790
  """
795
791
  Write record to table `contact_room_user`.
@@ -819,7 +815,6 @@ class WeChatDatabase(WeChatBase):
819
815
  """
820
816
 
821
817
 
822
- # Define.
823
818
  def receiver_handler_to_message_receive(message: WeChatMessage) -> None:
824
819
  """
825
820
  Write record to table `message_receive`.
@@ -870,7 +865,6 @@ class WeChatDatabase(WeChatBase):
870
865
  """
871
866
 
872
867
 
873
- # Define.
874
868
  def sender_handler_update_send_status(send_params: WeChatSendParameters) -> None:
875
869
  """
876
870
  Update field `status` of table `message_send`.
@@ -945,7 +939,6 @@ class WeChatDatabase(WeChatBase):
945
939
  """
946
940
 
947
941
 
948
- # Define.
949
942
  def __from_message_send() -> None:
950
943
  """
951
944
  Read record from table `message_send`, put send queue.
reywechat/rreceive.py CHANGED
@@ -1671,7 +1671,6 @@ class WechatReceiver(WeChatBase):
1671
1671
  """
1672
1672
 
1673
1673
 
1674
- # Define.
1675
1674
  def put_queue(data: bytes) -> None:
1676
1675
  """
1677
1676
  Put message data into receive queue.
@@ -1726,7 +1725,6 @@ class WechatReceiver(WeChatBase):
1726
1725
  """
1727
1726
 
1728
1727
 
1729
- # Define.
1730
1728
  def handles(message: WeChatMessage) -> None:
1731
1729
  """
1732
1730
  Use handlers to handle message.
@@ -1742,9 +1740,8 @@ class WechatReceiver(WeChatBase):
1742
1740
  *self.handlers
1743
1741
  ]
1744
1742
 
1745
- # Handle.
1746
1743
 
1747
- ## Define.
1744
+ # Handle.
1748
1745
  def handle_handler_exception(exc_text, *_) -> None:
1749
1746
  """
1750
1747
  Handle Handler exception.
reywechat/rsend.py CHANGED
@@ -617,7 +617,7 @@ class WeChatSender(WeChatBase):
617
617
  else:
618
618
  receive_ids = receive_id
619
619
 
620
- # Define.
620
+
621
621
  @functools_wraps(func)
622
622
  def wrap(
623
623
  *arg: Any,
reywechat/rtrigger.py CHANGED
@@ -64,7 +64,6 @@ class WeChatTrigger(WeChatBase):
64
64
  """
65
65
 
66
66
 
67
- # Define.
68
67
  def receiver_handler_trigger_by_rule(message: WeChatMessage) -> None:
69
68
  """
70
69
  Trigger message by rules.
@@ -181,7 +180,6 @@ class WeChatTrigger(WeChatBase):
181
180
  """
182
181
 
183
182
 
184
- # Define.
185
183
  def trigger_valid(message: WeChatMessage) -> None:
186
184
  """
187
185
  Trigger rule judge valid.
reywechat/rwechat.py CHANGED
@@ -11,7 +11,7 @@
11
11
 
12
12
  from typing import Literal
13
13
  from os import getcwd as os_getcwd
14
- from reydb.rdb import Database
14
+ from reydb import Database
15
15
  from reykit.rbase import block
16
16
 
17
17
  from .rbase import WeChatBase
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: reywechat
3
- Version: 1.0.87
3
+ Version: 1.0.89
4
4
  Summary: WeChat client control method set.
5
5
  Project-URL: homepage, https://github.com/reyxbo/reywechat/
6
6
  Author-email: Rey <reyxbo@163.com>
@@ -0,0 +1,16 @@
1
+ reywechat/__init__.py,sha256=oFL6LGNcE30nMTdOgNlU7x8cqcQyMqZORDra5PuxUrQ,491
2
+ reywechat/rall.py,sha256=5J_X-XMOyb1Vp1jyS9-oRFXGOtp2vRPX1g3tJot_Eck,371
3
+ reywechat/rbase.py,sha256=hbxn5spvcl_C_Bw8A9teulOXT9GMlxUw145_YbXIOzc,1124
4
+ reywechat/rcache.py,sha256=5FIa8UB3VsLHT_EXHHmFP62a5AeS22anJCJXC8t4tWw,908
5
+ reywechat/rclient.py,sha256=EaX6lciZhINg_3m76b7s29cZj5D4o1ASZlLzeVbcSlk,22579
6
+ reywechat/rdb.py,sha256=lHqmQfV9-YeUjU5Ndw993y7AwhDCJQAw55AS20iuRQ0,37867
7
+ reywechat/rlog.py,sha256=sCTk1SSN3uP3zKzUN2aMZSA-GWrN_1g1Mmus2pVEp2M,5244
8
+ reywechat/rreceive.py,sha256=4SXg6ANACC9yRnAup2ETqx3kO4uHKfRSiTq4AVny2-4,50832
9
+ reywechat/rsend.py,sha256=n2kTvO0602KnEhZom7NFteEUw2G_vbqUWW-xajl6_Ck,19901
10
+ reywechat/rtrigger.py,sha256=Vkaq9_2P_85TiEmVv5Z7FghQaMAEfrpGiIo7XzhOimo,4944
11
+ reywechat/rwechat.py,sha256=mvS5CIw6sSSU7mdbDMHsKALtkLceBSb87pGTKg0TS_4,4710
12
+ reywechat/data/client_api.dll,sha256=H9uj-x9Ztg0jFZK0yY6NsnyH5_119dQRFfoVVMidxRs,592384
13
+ reywechat-1.0.89.dist-info/METADATA,sha256=Lzx5-hJUdUrGseJa_OmDNuzaqBSnU0q20llk3hS7Eqc,1596
14
+ reywechat-1.0.89.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
15
+ reywechat-1.0.89.dist-info/licenses/LICENSE,sha256=UYLPqp7BvPiH8yEZduJqmmyEl6hlM3lKrFIefiD4rvk,1059
16
+ reywechat-1.0.89.dist-info/RECORD,,
@@ -1,16 +0,0 @@
1
- reywechat/__init__.py,sha256=oFL6LGNcE30nMTdOgNlU7x8cqcQyMqZORDra5PuxUrQ,491
2
- reywechat/rall.py,sha256=5J_X-XMOyb1Vp1jyS9-oRFXGOtp2vRPX1g3tJot_Eck,371
3
- reywechat/rbase.py,sha256=hbxn5spvcl_C_Bw8A9teulOXT9GMlxUw145_YbXIOzc,1124
4
- reywechat/rcache.py,sha256=5FIa8UB3VsLHT_EXHHmFP62a5AeS22anJCJXC8t4tWw,908
5
- reywechat/rclient.py,sha256=EaX6lciZhINg_3m76b7s29cZj5D4o1ASZlLzeVbcSlk,22579
6
- reywechat/rdb.py,sha256=uvax59u-lhh_GB0RxF14OZfuI9J8vNTvL7tOKAb85ow,38003
7
- reywechat/rlog.py,sha256=sCTk1SSN3uP3zKzUN2aMZSA-GWrN_1g1Mmus2pVEp2M,5244
8
- reywechat/rreceive.py,sha256=blVyP-TVdAm711lk4O3_IiTsFx-qayzGe807ig6OpGg,50894
9
- reywechat/rsend.py,sha256=4Qjn8TnB4MAPfIE7xfPFnkN_Rqdc7g69Ud8_Xya994I,19918
10
- reywechat/rtrigger.py,sha256=rVSJhHcZXbSeyNZeMQbaOi8wGvzeEYv_hMAw4qnSWeQ,4982
11
- reywechat/rwechat.py,sha256=wh04IT0s-QrGcnVe_fJxL3mYNLWcUuYgjDiupBB0ESk,4714
12
- reywechat/data/client_api.dll,sha256=H9uj-x9Ztg0jFZK0yY6NsnyH5_119dQRFfoVVMidxRs,592384
13
- reywechat-1.0.87.dist-info/METADATA,sha256=wmAABJ2A3gJgEj1WN_lTP66fo_t0VUCGIykPFB9wKLg,1596
14
- reywechat-1.0.87.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
15
- reywechat-1.0.87.dist-info/licenses/LICENSE,sha256=UYLPqp7BvPiH8yEZduJqmmyEl6hlM3lKrFIefiD4rvk,1059
16
- reywechat-1.0.87.dist-info/RECORD,,