faster-eth-utils 5.3.12__cp311-cp311-win_amd64.whl → 5.3.13__cp311-cp311-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 (26) hide show
  1. faster_eth_utils/abi.cp311-win_amd64.pyd +0 -0
  2. faster_eth_utils/address.cp311-win_amd64.pyd +0 -0
  3. faster_eth_utils/applicators.cp311-win_amd64.pyd +0 -0
  4. faster_eth_utils/applicators.py +6 -9
  5. faster_eth_utils/conversions.cp311-win_amd64.pyd +0 -0
  6. faster_eth_utils/crypto.cp311-win_amd64.pyd +0 -0
  7. faster_eth_utils/currency.cp311-win_amd64.pyd +0 -0
  8. faster_eth_utils/debug.cp311-win_amd64.pyd +0 -0
  9. faster_eth_utils/decorators.cp311-win_amd64.pyd +0 -0
  10. faster_eth_utils/encoding.cp311-win_amd64.pyd +0 -0
  11. faster_eth_utils/exceptions.cp311-win_amd64.pyd +0 -0
  12. faster_eth_utils/functional.cp311-win_amd64.pyd +0 -0
  13. faster_eth_utils/hexadecimal.cp311-win_amd64.pyd +0 -0
  14. faster_eth_utils/humanize.cp311-win_amd64.pyd +0 -0
  15. faster_eth_utils/module_loading.cp311-win_amd64.pyd +0 -0
  16. faster_eth_utils/network.cp311-win_amd64.pyd +0 -0
  17. faster_eth_utils/numeric.cp311-win_amd64.pyd +0 -0
  18. faster_eth_utils/toolz.cp311-win_amd64.pyd +0 -0
  19. faster_eth_utils/types.cp311-win_amd64.pyd +0 -0
  20. faster_eth_utils/units.cp311-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.12.dist-info → faster_eth_utils-5.3.13.dist-info}/RECORD +26 -26
  23. faster_eth_utils__mypyc.cp311-win_amd64.pyd +0 -0
  24. {faster_eth_utils-5.3.12.dist-info → faster_eth_utils-5.3.13.dist-info}/WHEEL +0 -0
  25. {faster_eth_utils-5.3.12.dist-info → faster_eth_utils-5.3.13.dist-info}/licenses/LICENSE +0 -0
  26. {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
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
@@ -1,53 +1,53 @@
1
- faster_eth_utils__mypyc.cp311-win_amd64.pyd,sha256=_RV5RiSDZxOS5EuSLsb64b_QpbdmtLBLaHGFkkBssvU,430080
1
+ faster_eth_utils__mypyc.cp311-win_amd64.pyd,sha256=fvACQcMxXfH67YIr52PD1uSrxPjmcCecN3kRFo4ek5o,430592
2
2
  faster_eth_utils/__init__.py,sha256=Hk6hT3RXB-ednEtyC4QgGeRVby9xSwUsK5I38NxnqBg,2906
3
3
  faster_eth_utils/__main__.py,sha256=_ZPSIKET0Rym_kVRE6xmvmbZVqYTMuTeyRdwduo2e48,91
4
- faster_eth_utils/abi.cp311-win_amd64.pyd,sha256=GNXWh-UuJPcyyayRWvXXL5GcuhUAM0NHaAsh6NIWngE,10752
4
+ faster_eth_utils/abi.cp311-win_amd64.pyd,sha256=sPklWAli8C7akXp787s_10V6Fw8m6ip2kNIDIUgWgSM,10752
5
5
  faster_eth_utils/abi.py,sha256=Zbp4hMfcsEs9_g2BbTdvfebQXvOgW5XTeuWPrmZmmXk,27251
6
- faster_eth_utils/address.cp311-win_amd64.pyd,sha256=qwiF_Q-OCWsyaLLvUTYWqfHj038itCfQ0N429WY0wUM,10752
6
+ faster_eth_utils/address.cp311-win_amd64.pyd,sha256=xs5TXGCK-qLgzKO_iDVIiSotHjezgrB80_inF4Xsxhs,10752
7
7
  faster_eth_utils/address.py,sha256=G9HKC4rFnPFF94Dyae5NmOICgjubl0ZPlNJWZGEOCNg,3825
8
- faster_eth_utils/applicators.cp311-win_amd64.pyd,sha256=PTYK3qUKjTXaGtSC5KlmZsjrJATQoU6u8uSrp4CjMZA,10752
9
- faster_eth_utils/applicators.py,sha256=3g7t-8Fzy4flmzKN5w6joLhCpZfQlgcuX-VtIJMbJ8o,6047
10
- faster_eth_utils/conversions.cp311-win_amd64.pyd,sha256=TliRw2wmVcAlT-9RAh8uRji1zD5NQm7wkLOVRi3BZpM,10752
8
+ faster_eth_utils/applicators.cp311-win_amd64.pyd,sha256=20rUSgjtgaPW_xucArtY4X2DK5bLKI3Xw2TEq1OC1Hw,10752
9
+ faster_eth_utils/applicators.py,sha256=u2Zt67GXqcv71liOeQKsvfxsn-co8oM5LyZWdA-Y6Og,5969
10
+ faster_eth_utils/conversions.cp311-win_amd64.pyd,sha256=D4axFM02cl9IBPtCnNI6A8oa97pe03DjhTlzynVa_cQ,10752
11
11
  faster_eth_utils/conversions.py,sha256=IPUPtXHUyzBYc13c2IY8ZhM4MmA2BBaVnDihvDIApSY,5856
12
- faster_eth_utils/crypto.cp311-win_amd64.pyd,sha256=KBWg207QQ-MwcCwX80l9U2jGmKcIz1yct8-gOlNVLiw,10752
12
+ faster_eth_utils/crypto.cp311-win_amd64.pyd,sha256=YIXxeKDai0kfstFOj-Zp6Ad_bnqMnlo-am69FHQYYrE,10752
13
13
  faster_eth_utils/crypto.py,sha256=X_l4B_ZBNHaulcInSVpdBG24xqjQ1_W9t4wYvi9Btw0,416
14
- faster_eth_utils/currency.cp311-win_amd64.pyd,sha256=tS3rc2Li5D9_a2lPjRR1iXlRn7lsb752CiO9I7IEV7U,10752
14
+ faster_eth_utils/currency.cp311-win_amd64.pyd,sha256=TDK4eggajrZjMckY4bhCaEulPjCODPZplgqW2shvYXw,10752
15
15
  faster_eth_utils/currency.py,sha256=8oLxDv52IDJ2SK5q8C1zBdPXKHHBi7v_44sdbv3VJVw,4291
16
- faster_eth_utils/debug.cp311-win_amd64.pyd,sha256=gZLIJC5q-q-tCt0phjqVY51QsJLwf3uwg_Bp4f_9dec,10752
16
+ faster_eth_utils/debug.cp311-win_amd64.pyd,sha256=MYAU-uEVj6psogeBkeckLxfkh-ea66OA-aONmVyYmtM,10752
17
17
  faster_eth_utils/debug.py,sha256=V3fN7-gz246Tcf_Zp99QK3uDzW22odPpAl_bShIZhZs,519
18
- faster_eth_utils/decorators.cp311-win_amd64.pyd,sha256=ZvPOnIyWx-fIbvkofiabxAuJ_r6zz2DLmUPT3xg199I,10752
18
+ faster_eth_utils/decorators.cp311-win_amd64.pyd,sha256=rBnWSr1BgQFWs0K8WqiUzJaeprgxZlFbnANJoWYSW7A,10752
19
19
  faster_eth_utils/decorators.py,sha256=h9v97vwtqgtPVkcBMtTk1MNYk4BY7QH53GC3c_Wc-OQ,2224
20
- faster_eth_utils/encoding.cp311-win_amd64.pyd,sha256=v-cGUKF32OdY8cClaViUInm159GyrG50inqXbd04KYM,10752
20
+ faster_eth_utils/encoding.cp311-win_amd64.pyd,sha256=v4_m-1y6lbiFg5dAV3xnFtW9wzNjSCxsY11LSykKiOI,10752
21
21
  faster_eth_utils/encoding.py,sha256=8_mWHVwdNL4Y1R-7N6q-N9R3N-yKtZ0arHaq8CuuCMM,205
22
- faster_eth_utils/exceptions.cp311-win_amd64.pyd,sha256=68nElzWg9qMHtem9v6f749NpPEeEumJI7Z4vXUPpyH0,10752
22
+ faster_eth_utils/exceptions.cp311-win_amd64.pyd,sha256=5EVH9Lwf25RqevSCvh1EqY2xrYZbR9H0f9YESf6BQ-Y,10752
23
23
  faster_eth_utils/exceptions.py,sha256=denVYkJGaikAbaHY62qcIJTFCQS9T55s60XKklihyLA,380
24
- faster_eth_utils/functional.cp311-win_amd64.pyd,sha256=eqmJAvkw_r3170JfwIXoIbDc3QRziuSDfg8oxDX0i00,10752
24
+ faster_eth_utils/functional.cp311-win_amd64.pyd,sha256=Q25P9RN7QMxS3JIW4VquymlgEG7vIwoOubh6IGPP3Z0,10752
25
25
  faster_eth_utils/functional.py,sha256=MWexxiZH6yqg1MMGsTRHuC0SxLVi3kZQKBAgtq6wrqo,2538
26
- faster_eth_utils/hexadecimal.cp311-win_amd64.pyd,sha256=kV6i52nJXXIqjWt-v57E7cmh37dYnoYWpUHN0vL1sok,10752
26
+ faster_eth_utils/hexadecimal.cp311-win_amd64.pyd,sha256=Fbbqljra97bvjZ3S3BHWc1InYMoHJ91pOhwNKG78TGk,10752
27
27
  faster_eth_utils/hexadecimal.py,sha256=bnWHo68ajygzhbLJfVOmqBlgifXfkBX8QvlHbigk9KU,2162
28
- faster_eth_utils/humanize.cp311-win_amd64.pyd,sha256=ZavVP7WpRv-_-svAKZsIHc2QaJifEzWEKRqNr29VoxA,10752
28
+ faster_eth_utils/humanize.cp311-win_amd64.pyd,sha256=dU5KpURKRKb1TtxpKFV5J_N4-hdgLjR3-0LwZM8sZT0,10752
29
29
  faster_eth_utils/humanize.py,sha256=GA0N9yfbnQiYuP3CnT6nO6YLFs4GT1e6EskRsH9xL4s,4883
30
30
  faster_eth_utils/logging.py,sha256=fYULygZhlrLaXr5-Ao589w7wiNLLsvC7JWblR5E9oy0,4735
31
- faster_eth_utils/module_loading.cp311-win_amd64.pyd,sha256=GT0u1YrxUVTjm0kAlJ5sGQbOGYsdvhUH6hdX5lghIDo,10752
31
+ faster_eth_utils/module_loading.cp311-win_amd64.pyd,sha256=Mrx6HEHgzrb4OnquqV5s9sezfIIuCntOz6_zKZTS3cY,10752
32
32
  faster_eth_utils/module_loading.py,sha256=gGZ0n4zezi2zxMRuEU0cf7EYW1lXpS_a1aPvP1KFkXA,873
33
- faster_eth_utils/network.cp311-win_amd64.pyd,sha256=dKrCTmQHt2RSCGPTPYTA9myOamWOnlCB1JPSFc8dhqE,10752
33
+ faster_eth_utils/network.cp311-win_amd64.pyd,sha256=3Ed-hbKP42zby9G7JNYAPH-arkJd7T52QHLcNAm3RLk,10752
34
34
  faster_eth_utils/network.py,sha256=MVyNw-DQGoaMvKXedWbOzESSfT2x5HPtsxaImWLhXd4,2370
35
- faster_eth_utils/numeric.cp311-win_amd64.pyd,sha256=ffUs7IF83aQeY-ZDGlzhbzA4wbYttPIvkb6OSiaPZ2s,10752
35
+ faster_eth_utils/numeric.cp311-win_amd64.pyd,sha256=VhJf62TrNbzdL57dnIw7ZvWSzKYzLTLhEcbMcyOUsoQ,10752
36
36
  faster_eth_utils/numeric.py,sha256=Mqc6dzs-aK84cBFxsZtXJhpb7_S-TDug-FuFqlR6vHg,1233
37
37
  faster_eth_utils/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
38
38
  faster_eth_utils/pydantic.py,sha256=Vx8Y_CB_3u5h9CHchwFyTQw-HUdADdTxD5NJN-CIf3I,3494
39
- faster_eth_utils/toolz.cp311-win_amd64.pyd,sha256=nE0F1hKkiiMlurSvf2iluGKY3Cvbxl9CdvNsrr23vrU,10752
39
+ faster_eth_utils/toolz.cp311-win_amd64.pyd,sha256=Nk-AxX3bc2eUMCd-RqzBXM6_dUwZ3ypIM7dBWpPyNfg,10752
40
40
  faster_eth_utils/toolz.py,sha256=P3s23LOEFRY6XQ8i_ChnA9hf-PSi-Oe-pv0jzsj7DjY,4494
41
- faster_eth_utils/types.cp311-win_amd64.pyd,sha256=1CFfyvMPgD9Nk7aHiIPEvODwBuSjc80-DZeHm3XhYJ8,10752
41
+ faster_eth_utils/types.cp311-win_amd64.pyd,sha256=oH_ZDVTyLw9u4RToSM_TLGY3iMMjRFHgtd2RGOIhxpI,10752
42
42
  faster_eth_utils/types.py,sha256=93qhgOdd3t9oVYptsgddUV42LEbic80wfqpevLwrIWI,1587
43
- faster_eth_utils/units.cp311-win_amd64.pyd,sha256=8mHio4dyMXprgmwq68Kw61Z5IMdk0iBQRu9nJ6gEghc,10752
43
+ faster_eth_utils/units.cp311-win_amd64.pyd,sha256=LIvPK7crc5UxmdQ89zzU8bUf05YVmBVvJOVpFiy-QRs,10752
44
44
  faster_eth_utils/units.py,sha256=QQyNHx2umgN5LtOmptc_2-XKf3A-5YfVcTwaEcVrev8,1788
45
45
  faster_eth_utils/__json/eth_networks.json,sha256=Zvb92ir0B_xKfqAraQtQLSf7J1zrfl_lwbYYrtP-hms,414774
46
46
  faster_eth_utils/curried/__init__.py,sha256=l6kKdgMwrK4nqMz9r6AoNMIPJKfSI5bNxKuQzgq2sRQ,7707
47
47
  faster_eth_utils/typing/__init__.py,sha256=mCjbC5-GULGyLCr-LHccbW_aKPkzN2w1ejW3EBfy6mU,343
48
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=JLOMsP7F5qtkAkINx5UnzbFguf8CqZeraV8o04b0I8I,101
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,,
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=JLOMsP7F5qtkAkINx5UnzbFguf8CqZeraV8o04b0I8I,101
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,,
Binary file