faster-eth-utils 5.3.9__cp314-cp314t-win_amd64.whl → 5.3.10__cp314-cp314t-win_amd64.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.

Potentially problematic release.


This version of faster-eth-utils might be problematic. Click here for more details.

Files changed (28) hide show
  1. 99c07adba6ff961eaf3e__mypyc.cp314t-win_amd64.pyd +0 -0
  2. faster_eth_utils/abi.cp314t-win_amd64.pyd +0 -0
  3. faster_eth_utils/address.cp314t-win_amd64.pyd +0 -0
  4. faster_eth_utils/applicators.cp314t-win_amd64.pyd +0 -0
  5. faster_eth_utils/applicators.py +18 -1
  6. faster_eth_utils/conversions.cp314t-win_amd64.pyd +0 -0
  7. faster_eth_utils/crypto.cp314t-win_amd64.pyd +0 -0
  8. faster_eth_utils/currency.cp314t-win_amd64.pyd +0 -0
  9. faster_eth_utils/debug.cp314t-win_amd64.pyd +0 -0
  10. faster_eth_utils/decorators.cp314t-win_amd64.pyd +0 -0
  11. faster_eth_utils/encoding.cp314t-win_amd64.pyd +0 -0
  12. faster_eth_utils/exceptions.cp314t-win_amd64.pyd +0 -0
  13. faster_eth_utils/functional.cp314t-win_amd64.pyd +0 -0
  14. faster_eth_utils/hexadecimal.cp314t-win_amd64.pyd +0 -0
  15. faster_eth_utils/humanize.cp314t-win_amd64.pyd +0 -0
  16. faster_eth_utils/module_loading.cp314t-win_amd64.pyd +0 -0
  17. faster_eth_utils/network.cp314t-win_amd64.pyd +0 -0
  18. faster_eth_utils/numeric.cp314t-win_amd64.pyd +0 -0
  19. faster_eth_utils/pydantic.py +1 -1
  20. faster_eth_utils/toolz.cp314t-win_amd64.pyd +0 -0
  21. faster_eth_utils/types.cp314t-win_amd64.pyd +0 -0
  22. faster_eth_utils/units.cp314t-win_amd64.pyd +0 -0
  23. {faster_eth_utils-5.3.9.dist-info → faster_eth_utils-5.3.10.dist-info}/METADATA +1 -1
  24. faster_eth_utils-5.3.10.dist-info/RECORD +53 -0
  25. faster_eth_utils-5.3.9.dist-info/RECORD +0 -53
  26. {faster_eth_utils-5.3.9.dist-info → faster_eth_utils-5.3.10.dist-info}/WHEEL +0 -0
  27. {faster_eth_utils-5.3.9.dist-info → faster_eth_utils-5.3.10.dist-info}/licenses/LICENSE +0 -0
  28. {faster_eth_utils-5.3.9.dist-info → faster_eth_utils-5.3.10.dist-info}/top_level.txt +0 -0
Binary file
@@ -9,9 +9,14 @@ from typing import (
9
9
  TypeVar,
10
10
  Union,
11
11
  cast,
12
+ overload,
12
13
  )
13
14
  import warnings
14
15
 
16
+ from typing_extensions import (
17
+ TypeGuard,
18
+ )
19
+
15
20
  from .decorators import (
16
21
  return_arg_type,
17
22
  )
@@ -90,11 +95,23 @@ def apply_formatters_to_sequence(
90
95
  )
91
96
 
92
97
 
98
+ @overload
99
+ def apply_formatter_if(
100
+ condition: Callable[[TArg], TypeGuard[TOther]], formatter: Callable[[TOther], TReturn], value: TArg
101
+ ) -> Union[TArg, TReturn]: ...
102
+
103
+ @overload
93
104
  def apply_formatter_if(
94
105
  condition: Callable[[TArg], bool], formatter: Callable[[TArg], TReturn], value: TArg
106
+ ) -> Union[TArg, TReturn]: ...
107
+
108
+ def apply_formatter_if(
109
+ condition: Union[Callable[[TArg], TypeGuard[TOther]], Callable[[Any], TypeGuard[TOther]], Callable[[TArg], bool]],
110
+ formatter: Union[Callable[[TOther], TReturn], Callable[[TArg], TReturn]],
111
+ value: TArg,
95
112
  ) -> Union[TArg, TReturn]:
96
113
  if condition(value):
97
- return formatter(value)
114
+ return formatter(value) # type: ignore [arg-type]
98
115
  else:
99
116
  return value
100
117
 
Binary file
@@ -81,7 +81,7 @@ class CamelModel(BaseModel):
81
81
  )
82
82
 
83
83
  @classmethod
84
- def model_json_schema(
84
+ def model_json_schema( # type: ignore [override]
85
85
  cls,
86
86
  by_alias: bool = True,
87
87
  ref_template: str = DEFAULT_REF_TEMPLATE,
Binary file
Binary file
Binary file
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: faster-eth-utils
3
- Version: 5.3.9
3
+ Version: 5.3.10
4
4
  Summary: A fork of eth-utils: Common utility functions for python code that interacts with Ethereum, implemented in C
5
5
  Home-page: https://github.com/BobTheBuidler/eth-utils
6
6
  Author: The Ethereum Foundation
@@ -0,0 +1,53 @@
1
+ 99c07adba6ff961eaf3e__mypyc.cp314t-win_amd64.pyd,sha256=qrqIDupzybDUW7s_CeyGzjMGAVws9k6260Iu4Ykg5eY,521728
2
+ faster_eth_utils/__init__.py,sha256=Hk6hT3RXB-ednEtyC4QgGeRVby9xSwUsK5I38NxnqBg,2906
3
+ faster_eth_utils/__main__.py,sha256=_ZPSIKET0Rym_kVRE6xmvmbZVqYTMuTeyRdwduo2e48,91
4
+ faster_eth_utils/abi.cp314t-win_amd64.pyd,sha256=-w8_JUszflxDIyNIPKs5VEFwIyoPosXnR-JRrMD8aqg,10752
5
+ faster_eth_utils/abi.py,sha256=3VWTb9hWO_bxHHdbz4-rDZNN_gYmdFv7CHKo6N6bOq4,27387
6
+ faster_eth_utils/address.cp314t-win_amd64.pyd,sha256=StBEEznbo8kGFjz9YpIpE6ei_wHAjz19_15EmrwUqoY,10752
7
+ faster_eth_utils/address.py,sha256=G9HKC4rFnPFF94Dyae5NmOICgjubl0ZPlNJWZGEOCNg,3825
8
+ faster_eth_utils/applicators.cp314t-win_amd64.pyd,sha256=s2-EVj9quf_qOwiO9_Qqe5jUzPoIci0Fs8rBKS3uNfI,10752
9
+ faster_eth_utils/applicators.py,sha256=kTklp5yH0a4SWqnkEY3g5IkQTU6k4OFqu3vBgVZR1QY,6038
10
+ faster_eth_utils/conversions.cp314t-win_amd64.pyd,sha256=YPLTbyLFYyCNJ9Yb5f4fp9H-Ssc3ZLPTO_IozuzexcY,10752
11
+ faster_eth_utils/conversions.py,sha256=IPUPtXHUyzBYc13c2IY8ZhM4MmA2BBaVnDihvDIApSY,5856
12
+ faster_eth_utils/crypto.cp314t-win_amd64.pyd,sha256=mx1atrHE5rvh2ypywYO_KFjq_iMSEgyLX8Wh0Itwb68,10752
13
+ faster_eth_utils/crypto.py,sha256=X_l4B_ZBNHaulcInSVpdBG24xqjQ1_W9t4wYvi9Btw0,416
14
+ faster_eth_utils/currency.cp314t-win_amd64.pyd,sha256=YFaUBOfAxHxuK-RKv4Oa4HWwTHadad7KrnnZNtf_hlc,10752
15
+ faster_eth_utils/currency.py,sha256=8oLxDv52IDJ2SK5q8C1zBdPXKHHBi7v_44sdbv3VJVw,4291
16
+ faster_eth_utils/debug.cp314t-win_amd64.pyd,sha256=g7zVQusoqGehKym651Zv2HSAHfOh-tK245tVmraV4sg,10752
17
+ faster_eth_utils/debug.py,sha256=V3fN7-gz246Tcf_Zp99QK3uDzW22odPpAl_bShIZhZs,519
18
+ faster_eth_utils/decorators.cp314t-win_amd64.pyd,sha256=J10era1QOqGqYo91IWxCSg6VwF2lfWlV4eWLc0E1gP4,10752
19
+ faster_eth_utils/decorators.py,sha256=h9v97vwtqgtPVkcBMtTk1MNYk4BY7QH53GC3c_Wc-OQ,2224
20
+ faster_eth_utils/encoding.cp314t-win_amd64.pyd,sha256=gHdJjZMpVcsJ3N4WczzjFUi89A45a7j1do5mSHZEoeo,10752
21
+ faster_eth_utils/encoding.py,sha256=8_mWHVwdNL4Y1R-7N6q-N9R3N-yKtZ0arHaq8CuuCMM,205
22
+ faster_eth_utils/exceptions.cp314t-win_amd64.pyd,sha256=fhrhXEx3jw9QZli5XVpLa1U16paYuxRyEBzWjDvbxiE,10752
23
+ faster_eth_utils/exceptions.py,sha256=BFZxGWQcQGmeYZHn-valoA_1M0Y7Ub43-L9CndFewGc,114
24
+ faster_eth_utils/functional.cp314t-win_amd64.pyd,sha256=Dys0J_o5qjVnylCDFqrDStE87UyDg3MWTlw6Fpsmycs,10752
25
+ faster_eth_utils/functional.py,sha256=MWexxiZH6yqg1MMGsTRHuC0SxLVi3kZQKBAgtq6wrqo,2538
26
+ faster_eth_utils/hexadecimal.cp314t-win_amd64.pyd,sha256=dVvC9oxu2AYz1dzKqasp7DkFa8UfEALFWfCjdpGLvBQ,10752
27
+ faster_eth_utils/hexadecimal.py,sha256=bnWHo68ajygzhbLJfVOmqBlgifXfkBX8QvlHbigk9KU,2162
28
+ faster_eth_utils/humanize.cp314t-win_amd64.pyd,sha256=Nb1B3PJYLmZr9ptA0i8HAgDKV4jqp8_eCEYpOsbUXHY,10752
29
+ faster_eth_utils/humanize.py,sha256=GA0N9yfbnQiYuP3CnT6nO6YLFs4GT1e6EskRsH9xL4s,4883
30
+ faster_eth_utils/logging.py,sha256=fYULygZhlrLaXr5-Ao589w7wiNLLsvC7JWblR5E9oy0,4735
31
+ faster_eth_utils/module_loading.cp314t-win_amd64.pyd,sha256=cmBeaE8JyIJocYzHjm9xZMPGAahFPGiZMw0q2hGESX4,10752
32
+ faster_eth_utils/module_loading.py,sha256=gGZ0n4zezi2zxMRuEU0cf7EYW1lXpS_a1aPvP1KFkXA,873
33
+ faster_eth_utils/network.cp314t-win_amd64.pyd,sha256=nb38IPNlejUntJ6ULVRYciAYdOsEWjLlaf4aZFJJ070,10752
34
+ faster_eth_utils/network.py,sha256=MVyNw-DQGoaMvKXedWbOzESSfT2x5HPtsxaImWLhXd4,2370
35
+ faster_eth_utils/numeric.cp314t-win_amd64.pyd,sha256=MxMP-G_WOQiOBYZUid7orz4bDQFgyud1jnO6vc3Q8w4,10752
36
+ faster_eth_utils/numeric.py,sha256=Mqc6dzs-aK84cBFxsZtXJhpb7_S-TDug-FuFqlR6vHg,1233
37
+ faster_eth_utils/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
38
+ faster_eth_utils/pydantic.py,sha256=Vx8Y_CB_3u5h9CHchwFyTQw-HUdADdTxD5NJN-CIf3I,3494
39
+ faster_eth_utils/toolz.cp314t-win_amd64.pyd,sha256=ode-JZqaPWGQ6tFOnmz4y2o87bWbr3UJCOVaOjemdnU,10752
40
+ faster_eth_utils/toolz.py,sha256=P3s23LOEFRY6XQ8i_ChnA9hf-PSi-Oe-pv0jzsj7DjY,4494
41
+ faster_eth_utils/types.cp314t-win_amd64.pyd,sha256=VUYYfsW4iryGzFShqqal85YaV3eI2rxoOcUZqgireD8,10752
42
+ faster_eth_utils/types.py,sha256=93qhgOdd3t9oVYptsgddUV42LEbic80wfqpevLwrIWI,1587
43
+ faster_eth_utils/units.cp314t-win_amd64.pyd,sha256=l37WmhxETNvRWGefPxLzK3l0QUw2ynZbrulPHE-RSds,10752
44
+ faster_eth_utils/units.py,sha256=QQyNHx2umgN5LtOmptc_2-XKf3A-5YfVcTwaEcVrev8,1788
45
+ faster_eth_utils/__json/eth_networks.json,sha256=Zvb92ir0B_xKfqAraQtQLSf7J1zrfl_lwbYYrtP-hms,414774
46
+ faster_eth_utils/curried/__init__.py,sha256=l6kKdgMwrK4nqMz9r6AoNMIPJKfSI5bNxKuQzgq2sRQ,7707
47
+ faster_eth_utils/typing/__init__.py,sha256=mCjbC5-GULGyLCr-LHccbW_aKPkzN2w1ejW3EBfy6mU,343
48
+ faster_eth_utils/typing/misc.py,sha256=rokTYylOyX_Uok6rb8L1JsH_7fAydRmDWLzL5xc6Bao,204
49
+ faster_eth_utils-5.3.10.dist-info/licenses/LICENSE,sha256=VSsrPEmF7tY2P84NOLM4ZsJDoEIjpf16GFwU5-py2n0,1116
50
+ faster_eth_utils-5.3.10.dist-info/METADATA,sha256=1ZkDvxSFhyI1m3v7xFxJZIhmdfPaxu7IURFwo_xONkQ,7269
51
+ faster_eth_utils-5.3.10.dist-info/WHEEL,sha256=IxxXYqBIlKEzFy9ulBJ928Gdqg6XQ3DHti4avqq3myk,102
52
+ faster_eth_utils-5.3.10.dist-info/top_level.txt,sha256=8eOy3WlvVLCcmwPnl2UMylYQNmrXz76p9L_TH-NYSSM,55
53
+ faster_eth_utils-5.3.10.dist-info/RECORD,,
@@ -1,53 +0,0 @@
1
- 99c07adba6ff961eaf3e__mypyc.cp314t-win_amd64.pyd,sha256=IgP7dSUzLwEMfaUqV8VXwhSw_bDhr64TXm88de1yeRI,521728
2
- faster_eth_utils/__init__.py,sha256=Hk6hT3RXB-ednEtyC4QgGeRVby9xSwUsK5I38NxnqBg,2906
3
- faster_eth_utils/__main__.py,sha256=_ZPSIKET0Rym_kVRE6xmvmbZVqYTMuTeyRdwduo2e48,91
4
- faster_eth_utils/abi.cp314t-win_amd64.pyd,sha256=XeefTlDPkuV0N6DUJs8Gd1bObizeyQqTJGOADqzoLUA,10752
5
- faster_eth_utils/abi.py,sha256=3VWTb9hWO_bxHHdbz4-rDZNN_gYmdFv7CHKo6N6bOq4,27387
6
- faster_eth_utils/address.cp314t-win_amd64.pyd,sha256=KZHcECbXCvgz6exPt-BC4HnEm9njlWLb0oiQa-L5WH4,10752
7
- faster_eth_utils/address.py,sha256=G9HKC4rFnPFF94Dyae5NmOICgjubl0ZPlNJWZGEOCNg,3825
8
- faster_eth_utils/applicators.cp314t-win_amd64.pyd,sha256=Z6SEfC2xCPwqZBrrpYx7eD9yjsQZi9932VAtqzKSQY8,10752
9
- faster_eth_utils/applicators.py,sha256=w_Dhkd8uWUpCGxYoNkvwf1FsSTvonZ0Ci82DaSr-yUk,5480
10
- faster_eth_utils/conversions.cp314t-win_amd64.pyd,sha256=32ZZrkGn7Vl1QulddgGGUZ9pfCw3FeLPWC3tpVr4wII,10752
11
- faster_eth_utils/conversions.py,sha256=IPUPtXHUyzBYc13c2IY8ZhM4MmA2BBaVnDihvDIApSY,5856
12
- faster_eth_utils/crypto.cp314t-win_amd64.pyd,sha256=z4Wxe6rpfUcY4yC7NbyBx70vOXOxSwtDUhAiiJiYC3k,10752
13
- faster_eth_utils/crypto.py,sha256=X_l4B_ZBNHaulcInSVpdBG24xqjQ1_W9t4wYvi9Btw0,416
14
- faster_eth_utils/currency.cp314t-win_amd64.pyd,sha256=79pUoCWeptGPKN-8mJ8CZ4doQvETPonfHbdanPHA9UU,10752
15
- faster_eth_utils/currency.py,sha256=8oLxDv52IDJ2SK5q8C1zBdPXKHHBi7v_44sdbv3VJVw,4291
16
- faster_eth_utils/debug.cp314t-win_amd64.pyd,sha256=u97BdFs79U10FXX3awuoNBQnIlSgU3uLr3wbH2BXyFU,10752
17
- faster_eth_utils/debug.py,sha256=V3fN7-gz246Tcf_Zp99QK3uDzW22odPpAl_bShIZhZs,519
18
- faster_eth_utils/decorators.cp314t-win_amd64.pyd,sha256=aM4yZ7DSZbFM2USuSADsqmSBjnKSROpildrybXQ411Y,10752
19
- faster_eth_utils/decorators.py,sha256=h9v97vwtqgtPVkcBMtTk1MNYk4BY7QH53GC3c_Wc-OQ,2224
20
- faster_eth_utils/encoding.cp314t-win_amd64.pyd,sha256=nf3jxTuUf2uGkX3Le-g3gDDfXzir8QObGOlI-9ZPbbQ,10752
21
- faster_eth_utils/encoding.py,sha256=8_mWHVwdNL4Y1R-7N6q-N9R3N-yKtZ0arHaq8CuuCMM,205
22
- faster_eth_utils/exceptions.cp314t-win_amd64.pyd,sha256=42wbyHppW-jIi5hmXczO0bTwNvlsy42p6ipRVup5qus,10752
23
- faster_eth_utils/exceptions.py,sha256=BFZxGWQcQGmeYZHn-valoA_1M0Y7Ub43-L9CndFewGc,114
24
- faster_eth_utils/functional.cp314t-win_amd64.pyd,sha256=OL0I4ZWSt7PNpvyESZ9qOmLJ14pGEm4Yi-wJw_zz2XY,10752
25
- faster_eth_utils/functional.py,sha256=MWexxiZH6yqg1MMGsTRHuC0SxLVi3kZQKBAgtq6wrqo,2538
26
- faster_eth_utils/hexadecimal.cp314t-win_amd64.pyd,sha256=wD6wADEC6VQtoLCgob5qPoNLwnTPLsCzxphNQoNe6qs,10752
27
- faster_eth_utils/hexadecimal.py,sha256=bnWHo68ajygzhbLJfVOmqBlgifXfkBX8QvlHbigk9KU,2162
28
- faster_eth_utils/humanize.cp314t-win_amd64.pyd,sha256=dwVT53mbzWGUZpuWuqve8vCswIZEn1m5Ka0fmQJCb-E,10752
29
- faster_eth_utils/humanize.py,sha256=GA0N9yfbnQiYuP3CnT6nO6YLFs4GT1e6EskRsH9xL4s,4883
30
- faster_eth_utils/logging.py,sha256=fYULygZhlrLaXr5-Ao589w7wiNLLsvC7JWblR5E9oy0,4735
31
- faster_eth_utils/module_loading.cp314t-win_amd64.pyd,sha256=-GQkDSwzn2oWD4iLtAkupY0M3amDCtJzkpi-E_UBuzo,10752
32
- faster_eth_utils/module_loading.py,sha256=gGZ0n4zezi2zxMRuEU0cf7EYW1lXpS_a1aPvP1KFkXA,873
33
- faster_eth_utils/network.cp314t-win_amd64.pyd,sha256=WJ6Jf5yVyvw2ywStXdJfm4nhPH8pFpPlZO1nnqAa130,10752
34
- faster_eth_utils/network.py,sha256=MVyNw-DQGoaMvKXedWbOzESSfT2x5HPtsxaImWLhXd4,2370
35
- faster_eth_utils/numeric.cp314t-win_amd64.pyd,sha256=r0QrTNUfPhBL_Cg1ND8AEVMvdIodIOYQ345wLXAO1z8,10752
36
- faster_eth_utils/numeric.py,sha256=Mqc6dzs-aK84cBFxsZtXJhpb7_S-TDug-FuFqlR6vHg,1233
37
- faster_eth_utils/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
38
- faster_eth_utils/pydantic.py,sha256=PNyQtjSkOuN7m78b7vKyiMCiKLXXAbd5IIB2V0NwdwM,3467
39
- faster_eth_utils/toolz.cp314t-win_amd64.pyd,sha256=hegSBMkh258FPInPBSoT0P3inRDcsIjDnFiP28cxm9o,10752
40
- faster_eth_utils/toolz.py,sha256=P3s23LOEFRY6XQ8i_ChnA9hf-PSi-Oe-pv0jzsj7DjY,4494
41
- faster_eth_utils/types.cp314t-win_amd64.pyd,sha256=Ic5sLFwBlJFl5R3pBR4Nhhd-PO3Rx-WgKP5SDO-CJ3E,10752
42
- faster_eth_utils/types.py,sha256=93qhgOdd3t9oVYptsgddUV42LEbic80wfqpevLwrIWI,1587
43
- faster_eth_utils/units.cp314t-win_amd64.pyd,sha256=NQ0ejMwZLspmzjbPLJx0c2cAEZONBR_ZwMVTF_Fye3I,10752
44
- faster_eth_utils/units.py,sha256=QQyNHx2umgN5LtOmptc_2-XKf3A-5YfVcTwaEcVrev8,1788
45
- faster_eth_utils/__json/eth_networks.json,sha256=Zvb92ir0B_xKfqAraQtQLSf7J1zrfl_lwbYYrtP-hms,414774
46
- faster_eth_utils/curried/__init__.py,sha256=l6kKdgMwrK4nqMz9r6AoNMIPJKfSI5bNxKuQzgq2sRQ,7707
47
- faster_eth_utils/typing/__init__.py,sha256=mCjbC5-GULGyLCr-LHccbW_aKPkzN2w1ejW3EBfy6mU,343
48
- faster_eth_utils/typing/misc.py,sha256=rokTYylOyX_Uok6rb8L1JsH_7fAydRmDWLzL5xc6Bao,204
49
- faster_eth_utils-5.3.9.dist-info/licenses/LICENSE,sha256=VSsrPEmF7tY2P84NOLM4ZsJDoEIjpf16GFwU5-py2n0,1116
50
- faster_eth_utils-5.3.9.dist-info/METADATA,sha256=3lTiMIDuFd0s1w1yexN9TgdHipGorZRQnsK5xlwUet4,7268
51
- faster_eth_utils-5.3.9.dist-info/WHEEL,sha256=IxxXYqBIlKEzFy9ulBJ928Gdqg6XQ3DHti4avqq3myk,102
52
- faster_eth_utils-5.3.9.dist-info/top_level.txt,sha256=8eOy3WlvVLCcmwPnl2UMylYQNmrXz76p9L_TH-NYSSM,55
53
- faster_eth_utils-5.3.9.dist-info/RECORD,,