faster-eth-utils 5.3.12__cp314-cp314t-win_amd64.whl → 5.3.13__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.
Files changed (27) hide show
  1. faster_eth_utils/abi.cp314t-win_amd64.pyd +0 -0
  2. faster_eth_utils/address.cp314t-win_amd64.pyd +0 -0
  3. faster_eth_utils/applicators.cp314t-win_amd64.pyd +0 -0
  4. faster_eth_utils/applicators.py +6 -9
  5. faster_eth_utils/conversions.cp314t-win_amd64.pyd +0 -0
  6. faster_eth_utils/crypto.cp314t-win_amd64.pyd +0 -0
  7. faster_eth_utils/currency.cp314t-win_amd64.pyd +0 -0
  8. faster_eth_utils/debug.cp314t-win_amd64.pyd +0 -0
  9. faster_eth_utils/decorators.cp314t-win_amd64.pyd +0 -0
  10. faster_eth_utils/encoding.cp314t-win_amd64.pyd +0 -0
  11. faster_eth_utils/exceptions.cp314t-win_amd64.pyd +0 -0
  12. faster_eth_utils/functional.cp314t-win_amd64.pyd +0 -0
  13. faster_eth_utils/hexadecimal.cp314t-win_amd64.pyd +0 -0
  14. faster_eth_utils/humanize.cp314t-win_amd64.pyd +0 -0
  15. faster_eth_utils/module_loading.cp314t-win_amd64.pyd +0 -0
  16. faster_eth_utils/network.cp314t-win_amd64.pyd +0 -0
  17. faster_eth_utils/numeric.cp314t-win_amd64.pyd +0 -0
  18. faster_eth_utils/toolz.cp314t-win_amd64.pyd +0 -0
  19. faster_eth_utils/types.cp314t-win_amd64.pyd +0 -0
  20. faster_eth_utils/units.cp314t-win_amd64.pyd +0 -0
  21. {faster_eth_utils-5.3.12.dist-info → faster_eth_utils-5.3.13.dist-info}/METADATA +8 -2
  22. faster_eth_utils-5.3.13.dist-info/RECORD +53 -0
  23. faster_eth_utils__mypyc.cp314t-win_amd64.pyd +0 -0
  24. faster_eth_utils-5.3.12.dist-info/RECORD +0 -53
  25. {faster_eth_utils-5.3.12.dist-info → faster_eth_utils-5.3.13.dist-info}/WHEEL +0 -0
  26. {faster_eth_utils-5.3.12.dist-info → faster_eth_utils-5.3.13.dist-info}/licenses/LICENSE +0 -0
  27. {faster_eth_utils-5.3.12.dist-info → faster_eth_utils-5.3.13.dist-info}/top_level.txt +0 -0
Binary file
@@ -138,24 +138,21 @@ def apply_formatters_to_dict(
138
138
  if isinstance(value, CamelModel):
139
139
  value = value.model_dump(by_alias=not unaliased)
140
140
 
141
- def get_value(key: Any, item: Any) -> Any:
141
+ def get_value(key: Any, val: Any) -> Any:
142
142
  if key not in formatters:
143
- return item
143
+ return val
144
144
  try:
145
- return formatters[key](item)
145
+ return formatters[key](val)
146
146
  except ValueError as exc:
147
147
  raise ValueError(
148
- f"Could not format invalid value {repr(item)} as field {repr(key)}"
148
+ f"Could not format invalid value {val!r} as field {key!r}"
149
149
  ) from exc
150
150
  except TypeError as exc:
151
151
  raise TypeError(
152
- f"Could not format invalid type {repr(item)} as field {repr(key)}"
152
+ f"Could not format invalid type {val!r} as field {key!r}"
153
153
  ) from exc
154
154
 
155
- return {
156
- key: get_value(key, item) if key in formatters else key
157
- for key, item in value.items()
158
- }
155
+ return {key: get_value(key, val) for key, val in value.items()}
159
156
 
160
157
 
161
158
  @return_arg_type(1)
Binary file
Binary file
Binary file
Binary file
@@ -1,11 +1,16 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: faster-eth-utils
3
- Version: 5.3.12
3
+ Version: 5.3.13
4
4
  Summary: A fork of eth-utils: Common utility functions for python code that interacts with Ethereum, implemented in C
5
- Home-page: https://github.com/BobTheBuidler/eth-utils
5
+ Home-page: https://github.com/BobTheBuidler/faster-eth-utils
6
6
  Author: The Ethereum Foundation
7
7
  Author-email: snakecharmers@ethereum.org
8
8
  License: MIT
9
+ Project-URL: Documentation, https://eth-utils.readthedocs.io/en/stable/
10
+ Project-URL: Release Notes, https://github.com/BobTheBuidler/faster-eth-utils/releases
11
+ Project-URL: Issues, https://github.com/BobTheBuidler/faster-eth-utils/issues
12
+ Project-URL: Source, https://github.com/BobTheBuidler/faster-eth-utils
13
+ Project-URL: Original, https://github.com/ethereum/eth-utils
9
14
  Keywords: ethereum
10
15
  Classifier: Intended Audience :: Developers
11
16
  Classifier: License :: OSI Approved :: MIT License
@@ -67,6 +72,7 @@ Dynamic: home-page
67
72
  Dynamic: keywords
68
73
  Dynamic: license
69
74
  Dynamic: license-file
75
+ Dynamic: project-url
70
76
  Dynamic: provides-extra
71
77
  Dynamic: requires-dist
72
78
  Dynamic: requires-python
@@ -0,0 +1,53 @@
1
+ faster_eth_utils__mypyc.cp314t-win_amd64.pyd,sha256=2VbBfSyLc1QuCTkws0SuYoM3nUzwd9bVPK--glNCU-c,516096
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=dJUbovB3fOPevJbh6XvyFwzub6eYlZDIYaxr1YAb35c,10752
5
+ faster_eth_utils/abi.py,sha256=Zbp4hMfcsEs9_g2BbTdvfebQXvOgW5XTeuWPrmZmmXk,27251
6
+ faster_eth_utils/address.cp314t-win_amd64.pyd,sha256=qH-QnPu0ow8MoIuT6QsBrxuOI1eyyO47UqxBTUP3a5U,10752
7
+ faster_eth_utils/address.py,sha256=G9HKC4rFnPFF94Dyae5NmOICgjubl0ZPlNJWZGEOCNg,3825
8
+ faster_eth_utils/applicators.cp314t-win_amd64.pyd,sha256=BDXMsCgIPiW8UBqSqTvYyq3z6PFLb2nt9Llps8s0S2k,10752
9
+ faster_eth_utils/applicators.py,sha256=u2Zt67GXqcv71liOeQKsvfxsn-co8oM5LyZWdA-Y6Og,5969
10
+ faster_eth_utils/conversions.cp314t-win_amd64.pyd,sha256=RgadJ1mFCQqmemKDZPaImwiEqphB_KzzyM5eMnRohZk,10752
11
+ faster_eth_utils/conversions.py,sha256=IPUPtXHUyzBYc13c2IY8ZhM4MmA2BBaVnDihvDIApSY,5856
12
+ faster_eth_utils/crypto.cp314t-win_amd64.pyd,sha256=zUfr_4Ic5Re15FaOyXCvkNqo12o5V3WvF5X9mefm0yE,10752
13
+ faster_eth_utils/crypto.py,sha256=X_l4B_ZBNHaulcInSVpdBG24xqjQ1_W9t4wYvi9Btw0,416
14
+ faster_eth_utils/currency.cp314t-win_amd64.pyd,sha256=gPnSMMiOZu5yb0ApB_bzjix5i3eQMTE_hp0fGpcY4Kw,10752
15
+ faster_eth_utils/currency.py,sha256=8oLxDv52IDJ2SK5q8C1zBdPXKHHBi7v_44sdbv3VJVw,4291
16
+ faster_eth_utils/debug.cp314t-win_amd64.pyd,sha256=gKpvOi2udcAMxYC_4BfS5vf_oSMEyBiGUItMEEFbCXI,10752
17
+ faster_eth_utils/debug.py,sha256=V3fN7-gz246Tcf_Zp99QK3uDzW22odPpAl_bShIZhZs,519
18
+ faster_eth_utils/decorators.cp314t-win_amd64.pyd,sha256=YwOcB4H6j3f6-tyJNEYtjYqewOvdh5C0uhOmBO8VqM8,10752
19
+ faster_eth_utils/decorators.py,sha256=h9v97vwtqgtPVkcBMtTk1MNYk4BY7QH53GC3c_Wc-OQ,2224
20
+ faster_eth_utils/encoding.cp314t-win_amd64.pyd,sha256=TwN6-fM7iGmcvG5d4uVXZWVGm4EksGSlWtD2QsxmHjU,10752
21
+ faster_eth_utils/encoding.py,sha256=8_mWHVwdNL4Y1R-7N6q-N9R3N-yKtZ0arHaq8CuuCMM,205
22
+ faster_eth_utils/exceptions.cp314t-win_amd64.pyd,sha256=Qp0Ry6DJlzIAT4zr8cUWGA3qjoPPNuTzfzuM5dT8qVo,10752
23
+ faster_eth_utils/exceptions.py,sha256=denVYkJGaikAbaHY62qcIJTFCQS9T55s60XKklihyLA,380
24
+ faster_eth_utils/functional.cp314t-win_amd64.pyd,sha256=_auWHb5qUzJO8RHqztYTxre2Bdx_5mDQXmwKjdi50vI,10752
25
+ faster_eth_utils/functional.py,sha256=MWexxiZH6yqg1MMGsTRHuC0SxLVi3kZQKBAgtq6wrqo,2538
26
+ faster_eth_utils/hexadecimal.cp314t-win_amd64.pyd,sha256=mDF82cVC3EF7ntuYgkkOsH3Ao0q0HVhWalGZC71ET0s,10752
27
+ faster_eth_utils/hexadecimal.py,sha256=bnWHo68ajygzhbLJfVOmqBlgifXfkBX8QvlHbigk9KU,2162
28
+ faster_eth_utils/humanize.cp314t-win_amd64.pyd,sha256=X0C0c9B_XW8qjoXHL_0EYwkWa9fLFjF66c-SyeQfKpk,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=mVvqrTRULD_LTPJeFn5E-qh_NGhWK6toIGu8vgBdNRM,10752
32
+ faster_eth_utils/module_loading.py,sha256=gGZ0n4zezi2zxMRuEU0cf7EYW1lXpS_a1aPvP1KFkXA,873
33
+ faster_eth_utils/network.cp314t-win_amd64.pyd,sha256=KGmeKgY-AHCGO28uw174Bpv49osWD4AtdEPHqOO1ij0,10752
34
+ faster_eth_utils/network.py,sha256=MVyNw-DQGoaMvKXedWbOzESSfT2x5HPtsxaImWLhXd4,2370
35
+ faster_eth_utils/numeric.cp314t-win_amd64.pyd,sha256=ebke_wg7uuQY05TuTMlQUPYZ9y5x5IL61dN-GtJqEfE,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=EYA0k1ok6WUStQVddhB9N23Vo08qzbr83hjDwLrYHaw,10752
40
+ faster_eth_utils/toolz.py,sha256=P3s23LOEFRY6XQ8i_ChnA9hf-PSi-Oe-pv0jzsj7DjY,4494
41
+ faster_eth_utils/types.cp314t-win_amd64.pyd,sha256=6TdP6VIo2CUuQgn6Lgn4d2mK2siqNA9KNBHtxTE9QWM,10752
42
+ faster_eth_utils/types.py,sha256=93qhgOdd3t9oVYptsgddUV42LEbic80wfqpevLwrIWI,1587
43
+ faster_eth_utils/units.cp314t-win_amd64.pyd,sha256=__lmKqS6dAh0fvzKz605w8BUmpROXcRjDKyXYJuKMVE,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.13.dist-info/licenses/LICENSE,sha256=VSsrPEmF7tY2P84NOLM4ZsJDoEIjpf16GFwU5-py2n0,1116
50
+ faster_eth_utils-5.3.13.dist-info/METADATA,sha256=MbiZZTnmpzZ0gGE8Ld5GH9JSvbm2TBoazkWxuWPbmRY,8380
51
+ faster_eth_utils-5.3.13.dist-info/WHEEL,sha256=IxxXYqBIlKEzFy9ulBJ928Gdqg6XQ3DHti4avqq3myk,102
52
+ faster_eth_utils-5.3.13.dist-info/top_level.txt,sha256=wTH6UCItCCvEEiJ9EiOrm0Kn4p4xhB7VdmmTHktoo9Y,51
53
+ faster_eth_utils-5.3.13.dist-info/RECORD,,
@@ -1,53 +0,0 @@
1
- faster_eth_utils__mypyc.cp314t-win_amd64.pyd,sha256=nDqEBWjR_cnWAWiiJ4ITW_kigIzkICUIkysiduAAfFM,516096
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=j9xEsd1LbzX6mlaYpNpeJB-n_smsGBbkTp1spzJl3vU,10752
5
- faster_eth_utils/abi.py,sha256=Zbp4hMfcsEs9_g2BbTdvfebQXvOgW5XTeuWPrmZmmXk,27251
6
- faster_eth_utils/address.cp314t-win_amd64.pyd,sha256=DH-xv3B0tQp8ftmMn6xqzEzME3ER9uWXnQHmL4wZXSo,10752
7
- faster_eth_utils/address.py,sha256=G9HKC4rFnPFF94Dyae5NmOICgjubl0ZPlNJWZGEOCNg,3825
8
- faster_eth_utils/applicators.cp314t-win_amd64.pyd,sha256=xt2MqDNGAv05FNGvHIYPwz9RALydxq3LP3iuffElUPw,10752
9
- faster_eth_utils/applicators.py,sha256=3g7t-8Fzy4flmzKN5w6joLhCpZfQlgcuX-VtIJMbJ8o,6047
10
- faster_eth_utils/conversions.cp314t-win_amd64.pyd,sha256=F7hKFKhwwCxCIWr8c7FdnHXyoNFTP4YhxOZA203sQcg,10752
11
- faster_eth_utils/conversions.py,sha256=IPUPtXHUyzBYc13c2IY8ZhM4MmA2BBaVnDihvDIApSY,5856
12
- faster_eth_utils/crypto.cp314t-win_amd64.pyd,sha256=waLZtd4Gd2cTl8PwWeprSwOStksKbfktBzRpJDECVW8,10752
13
- faster_eth_utils/crypto.py,sha256=X_l4B_ZBNHaulcInSVpdBG24xqjQ1_W9t4wYvi9Btw0,416
14
- faster_eth_utils/currency.cp314t-win_amd64.pyd,sha256=lEejFIw7_fKS5SyQHEeb76WdSP6GoqTklZS1yqlL_gI,10752
15
- faster_eth_utils/currency.py,sha256=8oLxDv52IDJ2SK5q8C1zBdPXKHHBi7v_44sdbv3VJVw,4291
16
- faster_eth_utils/debug.cp314t-win_amd64.pyd,sha256=m6Ti4-PKODLW3cV6QadwjlFnAwch5pqlN01GufCR9zQ,10752
17
- faster_eth_utils/debug.py,sha256=V3fN7-gz246Tcf_Zp99QK3uDzW22odPpAl_bShIZhZs,519
18
- faster_eth_utils/decorators.cp314t-win_amd64.pyd,sha256=Az2NMHGGXqcXg7RqmsHhTkFrpNS-PIjNtbWidQBe5Bk,10752
19
- faster_eth_utils/decorators.py,sha256=h9v97vwtqgtPVkcBMtTk1MNYk4BY7QH53GC3c_Wc-OQ,2224
20
- faster_eth_utils/encoding.cp314t-win_amd64.pyd,sha256=oX0YPLpP4FIrxK4vYyGYkI9a4MNgpUT0ZX95j4MeQ38,10752
21
- faster_eth_utils/encoding.py,sha256=8_mWHVwdNL4Y1R-7N6q-N9R3N-yKtZ0arHaq8CuuCMM,205
22
- faster_eth_utils/exceptions.cp314t-win_amd64.pyd,sha256=-HXRyfMG-f7nAuyuM4LWESC3iAPHt5zXW03CBC3lnEE,10752
23
- faster_eth_utils/exceptions.py,sha256=denVYkJGaikAbaHY62qcIJTFCQS9T55s60XKklihyLA,380
24
- faster_eth_utils/functional.cp314t-win_amd64.pyd,sha256=fHhkpLNwGlOUArWXBDwEXlyd8jXI5nxsK43JJiTJx0U,10752
25
- faster_eth_utils/functional.py,sha256=MWexxiZH6yqg1MMGsTRHuC0SxLVi3kZQKBAgtq6wrqo,2538
26
- faster_eth_utils/hexadecimal.cp314t-win_amd64.pyd,sha256=9uutYlZTP1BMJPpMmGrhVK_R_cEEKlASEGJNuJHFsJU,10752
27
- faster_eth_utils/hexadecimal.py,sha256=bnWHo68ajygzhbLJfVOmqBlgifXfkBX8QvlHbigk9KU,2162
28
- faster_eth_utils/humanize.cp314t-win_amd64.pyd,sha256=7FcA0KtB3EcTRGqAATSVDKqN_l7gEh2NNYjG3ZJeQ0g,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=Xi8kEXsOd_IlFhVIoaIQocSRXilpxcDdl2wqIr44Vg8,10752
32
- faster_eth_utils/module_loading.py,sha256=gGZ0n4zezi2zxMRuEU0cf7EYW1lXpS_a1aPvP1KFkXA,873
33
- faster_eth_utils/network.cp314t-win_amd64.pyd,sha256=BUEv_ieXsUuF8S41cLdD8abT5PX6AUxpb2_RIdXCZ6E,10752
34
- faster_eth_utils/network.py,sha256=MVyNw-DQGoaMvKXedWbOzESSfT2x5HPtsxaImWLhXd4,2370
35
- faster_eth_utils/numeric.cp314t-win_amd64.pyd,sha256=_q-o9i5GEhYbF-v4aCehUXwrNtRba04NAj_e69Mx6_M,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=GwHkVfi_vH7MwLfCopffxIzufOnAUVYhdkcuDWBnbbw,10752
40
- faster_eth_utils/toolz.py,sha256=P3s23LOEFRY6XQ8i_ChnA9hf-PSi-Oe-pv0jzsj7DjY,4494
41
- faster_eth_utils/types.cp314t-win_amd64.pyd,sha256=GcdtST95KNT80JIY2R-_3LvzQjvFYLwhiINaKS0r7MQ,10752
42
- faster_eth_utils/types.py,sha256=93qhgOdd3t9oVYptsgddUV42LEbic80wfqpevLwrIWI,1587
43
- faster_eth_utils/units.cp314t-win_amd64.pyd,sha256=FZade9UVqD8vVR5KaE9YRs_fcpDaZ-wHDiw7uQh6H_w,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.12.dist-info/licenses/LICENSE,sha256=VSsrPEmF7tY2P84NOLM4ZsJDoEIjpf16GFwU5-py2n0,1116
50
- faster_eth_utils-5.3.12.dist-info/METADATA,sha256=T5Deq7_RncPKDKqsV1Wsm7brc-89GBl7uTZFAIBdD30,7977
51
- faster_eth_utils-5.3.12.dist-info/WHEEL,sha256=IxxXYqBIlKEzFy9ulBJ928Gdqg6XQ3DHti4avqq3myk,102
52
- faster_eth_utils-5.3.12.dist-info/top_level.txt,sha256=wTH6UCItCCvEEiJ9EiOrm0Kn4p4xhB7VdmmTHktoo9Y,51
53
- faster_eth_utils-5.3.12.dist-info/RECORD,,