faster-eth-utils 5.3.12__cp314-cp314-macosx_11_0_arm64.whl → 5.3.13__cp314-cp314-macosx_11_0_arm64.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 (27) hide show
  1. faster_eth_utils/abi.cpython-314-darwin.so +0 -0
  2. faster_eth_utils/address.cpython-314-darwin.so +0 -0
  3. faster_eth_utils/applicators.cpython-314-darwin.so +0 -0
  4. faster_eth_utils/applicators.py +6 -9
  5. faster_eth_utils/conversions.cpython-314-darwin.so +0 -0
  6. faster_eth_utils/crypto.cpython-314-darwin.so +0 -0
  7. faster_eth_utils/currency.cpython-314-darwin.so +0 -0
  8. faster_eth_utils/debug.cpython-314-darwin.so +0 -0
  9. faster_eth_utils/decorators.cpython-314-darwin.so +0 -0
  10. faster_eth_utils/encoding.cpython-314-darwin.so +0 -0
  11. faster_eth_utils/exceptions.cpython-314-darwin.so +0 -0
  12. faster_eth_utils/functional.cpython-314-darwin.so +0 -0
  13. faster_eth_utils/hexadecimal.cpython-314-darwin.so +0 -0
  14. faster_eth_utils/humanize.cpython-314-darwin.so +0 -0
  15. faster_eth_utils/module_loading.cpython-314-darwin.so +0 -0
  16. faster_eth_utils/network.cpython-314-darwin.so +0 -0
  17. faster_eth_utils/numeric.cpython-314-darwin.so +0 -0
  18. faster_eth_utils/toolz.cpython-314-darwin.so +0 -0
  19. faster_eth_utils/types.cpython-314-darwin.so +0 -0
  20. faster_eth_utils/units.cpython-314-darwin.so +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.cpython-314-darwin.so +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)
@@ -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.cpython-314-darwin.so,sha256=qsrcugdWkRhjYMZPwQgQfdfY-NltQ43chzmJmBQukZM,1220016
2
+ faster_eth_utils/hexadecimal.py,sha256=bPxUdJse6A3j3vF6KpnvSM2h3eRhgWSWeyicwnLdvHY,2082
3
+ faster_eth_utils/address.py,sha256=IIHlYuIz-F6-mAnRWdsD4uH5l56yVRFMokFQINao9lE,3680
4
+ faster_eth_utils/logging.py,sha256=Gm0B2D7oDPByi-mNCEwLnl3lAU4_TJ4yc6EsOOJA8Rc,4590
5
+ faster_eth_utils/network.cpython-314-darwin.so,sha256=NZ5rdJKW5B8XcuLAGkmxj0-r2Oedmk5qm9kgHqMgM-s,50656
6
+ faster_eth_utils/crypto.cpython-314-darwin.so,sha256=HzvvydImBOHJeSBnU0YYkc7jyOfQodgnOz7AIT_StIU,50656
7
+ faster_eth_utils/applicators.py,sha256=61XBoTjROcwRslkPyCExOOYb5v7FbVVIIOYfmwgJIBk,5774
8
+ faster_eth_utils/units.py,sha256=jRo8p6trxwuISBnT8kfxTNVyd_TSd5vVY5aiKDefB1U,1757
9
+ faster_eth_utils/encoding.py,sha256=1qfDeuinLZ01XjYgknpm_p9LuWwaYvicYkYI8mS1iMc,199
10
+ faster_eth_utils/debug.cpython-314-darwin.so,sha256=DZY-w2MdLV-n5kelO1pttpu23G0NKwR_1GOsCKYD3aE,50648
11
+ faster_eth_utils/applicators.cpython-314-darwin.so,sha256=_pCJNnr9vFQvhXylQVLjH01nlSUsg9HIH04UabPNr5o,50672
12
+ faster_eth_utils/numeric.cpython-314-darwin.so,sha256=gx9WG4q-1lYN7HOL38kFBAdbU3aVPwAO1hv8Gt1T8lg,50656
13
+ faster_eth_utils/encoding.cpython-314-darwin.so,sha256=1w8236HfCl-4uchd09DJh2Wi7alF6c-BIKATmNup7c4,50656
14
+ faster_eth_utils/units.cpython-314-darwin.so,sha256=-PbHP4KbFxtw2YWkrvMEv_R-0H-RUUOtwCNQk5OCgFY,50648
15
+ faster_eth_utils/conversions.py,sha256=t2TEe0WsffqOFDbyQcERTSbHJYpDBWHKd8XPArhLoEE,5665
16
+ faster_eth_utils/toolz.cpython-314-darwin.so,sha256=X6Dxi7uw0OgsTgA4DcSKVO13h6CoxXVRi5H0tSvYFBU,50648
17
+ faster_eth_utils/__init__.py,sha256=hW-A_fjyQ76crTKwuxxSbvNzvPfW27dSlzhtOkseymg,2762
18
+ faster_eth_utils/abi.cpython-314-darwin.so,sha256=Id1oiq7usY0opP00mlpV2_9txs1Qg5woK5T1XL719x0,50632
19
+ faster_eth_utils/conversions.cpython-314-darwin.so,sha256=wfAyvue63tibmg97cdSrVNuGfLUH-rvWW-PbDiEnJng,50672
20
+ faster_eth_utils/functional.cpython-314-darwin.so,sha256=b1ae1kR_se-tGlfsYDS7rOrZ4ziowq5YgmrJm6vGUvc,50672
21
+ faster_eth_utils/types.py,sha256=-RDPzkoNhkp3dpDNK9iKzGmSQawwZ6wJ4exur0E_BuY,1519
22
+ faster_eth_utils/decorators.cpython-314-darwin.so,sha256=iPSKOOBx3YDkilF5D_OX7CjPfbZOYyCqEnyffXMZXeE,50672
23
+ faster_eth_utils/humanize.py,sha256=bCxXyx73NuVIDjRnpPZs7lybfrun-llC3ITy-0zZSns,4682
24
+ faster_eth_utils/pydantic.py,sha256=za0WJGWkjYQkRnMbEke7ueyhDt-kuqFmCq0Utaji46g,3393
25
+ faster_eth_utils/humanize.cpython-314-darwin.so,sha256=lEFq2ABDQd_g0_bSzqZtfcWIOA5mYt0GMNOogXPaXmM,50656
26
+ faster_eth_utils/types.cpython-314-darwin.so,sha256=CfyyFmFnKIAFhWE7Y5Be9LEUfel1x-4ME8iHm4xNnaI,50648
27
+ faster_eth_utils/functional.py,sha256=nJTxE4_HDci0chos5mQdy05pJ8o7n0wx_o7_WCro2gI,2449
28
+ faster_eth_utils/crypto.py,sha256=EQgupom_TnURbLNXodwbJoKB-mHyxgOTvo8EjnSzdxw,395
29
+ faster_eth_utils/debug.py,sha256=0Z-tNOqgQJunS4uHeSCCH1LWLoijlH34MBh6NRrrDrk,499
30
+ faster_eth_utils/module_loading.cpython-314-darwin.so,sha256=_-lQBX92Re3fQUu_XZk516LphyouFxsDWUJHhCehKek,50696
31
+ faster_eth_utils/numeric.py,sha256=RrXdXI-bhhkEsz3aBtxHuGlc_2ZJvUGpvMc47wx408Y,1190
32
+ faster_eth_utils/network.py,sha256=O3yTtA93YyyZ6Obkusr_IbbcZ6upkCewN6EsAcF0Npc,2278
33
+ faster_eth_utils/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
34
+ faster_eth_utils/abi.py,sha256=3pAqpKXMOcOLCD4uUUVfxBcM9H1K311dpd1Zj0Qi21g,26404
35
+ faster_eth_utils/exceptions.py,sha256=7Cjxewj4g95RxNvjNqaB2w3HGk6068V82ppCHS_S-Y0,369
36
+ faster_eth_utils/currency.cpython-314-darwin.so,sha256=dTGkaE02mxxtVydskhmT6IsdbfjeNsycY3bfLC-4qtU,50656
37
+ faster_eth_utils/address.cpython-314-darwin.so,sha256=YuiA2enyAaSzvaAJJCC68-CjPnZxBV1Yzk5wKfCS0DM,50656
38
+ faster_eth_utils/currency.py,sha256=01YVV2f2GL4830jfSjnC4XhLQjTNQB-5y7vbGzaMWbM,4150
39
+ faster_eth_utils/exceptions.cpython-314-darwin.so,sha256=fW9Krpbr4rmeETgF8khnE7RPEeG8z32zop7jNJtwFk0,50672
40
+ faster_eth_utils/hexadecimal.cpython-314-darwin.so,sha256=63sLvbcWYiF8jRIDSzhruSzh38vMV6a9aLIe_qrG-ME,50672
41
+ faster_eth_utils/module_loading.py,sha256=DCLM4dEh1gqr8Ny-FWwD-_pINqeHzbLSupz4ZIpCCAw,842
42
+ faster_eth_utils/__main__.py,sha256=mH37e49q7_A0-q1ymqkq1QyYABbQHVmXeuSKIBSahO8,86
43
+ faster_eth_utils/toolz.py,sha256=1QQY-aMbZrEgJsuqR0Ajsa32C_cXrQquzViw7OkxNLU,4410
44
+ faster_eth_utils/decorators.py,sha256=BdAz-imQIf0TlBm7Di7T05o3IC6ei-xJc7FgIOqqAyE,2145
45
+ faster_eth_utils/curried/__init__.py,sha256=x_nPjvTwmXeEl5jV86RRUvudu6ks1kMUxZfbjNuGx8Y,7407
46
+ faster_eth_utils/typing/misc.py,sha256=4N5raYXFAeRGpmch6qgHrtYNCDxCJM5XtAAsJ1FSzzU,190
47
+ faster_eth_utils/typing/__init__.py,sha256=84PxIxCvEHtBb-Ik6qnGvXH4alaWbamr_zDbtlbJh3A,325
48
+ faster_eth_utils/__json/eth_networks.json,sha256=0S8HoWD6RTR6Hc0uQdQl2VHtopytIYl5NiDAzpuskBs,414773
49
+ faster_eth_utils-5.3.13.dist-info/RECORD,,
50
+ faster_eth_utils-5.3.13.dist-info/WHEEL,sha256=2Id6qreet5t4wZv58bZfijJ58qrc2xkw6OVvWfeqxV0,136
51
+ faster_eth_utils-5.3.13.dist-info/top_level.txt,sha256=wTH6UCItCCvEEiJ9EiOrm0Kn4p4xhB7VdmmTHktoo9Y,51
52
+ faster_eth_utils-5.3.13.dist-info/METADATA,sha256=s6MKNWkp8Bo9yKciC5RajtnB6uiZCwTJmcvTVT2Ci9I,8197
53
+ faster_eth_utils-5.3.13.dist-info/licenses/LICENSE,sha256=STqznQ6A8OeJylPrTA7dlsMtH0isQQybRlnDZOKGVrM,1095
@@ -1,53 +0,0 @@
1
- faster_eth_utils__mypyc.cpython-314-darwin.so,sha256=VYZ--W9S3x19yEyh63LX3njXIsSeDnu6fn0QeOsyDZQ,1219424
2
- faster_eth_utils/hexadecimal.py,sha256=bPxUdJse6A3j3vF6KpnvSM2h3eRhgWSWeyicwnLdvHY,2082
3
- faster_eth_utils/address.py,sha256=IIHlYuIz-F6-mAnRWdsD4uH5l56yVRFMokFQINao9lE,3680
4
- faster_eth_utils/logging.py,sha256=Gm0B2D7oDPByi-mNCEwLnl3lAU4_TJ4yc6EsOOJA8Rc,4590
5
- faster_eth_utils/network.cpython-314-darwin.so,sha256=jTSQPth9MpqqRqBqV8Ow-vxJ_CVCJh0YnTaUWgFOlno,50656
6
- faster_eth_utils/crypto.cpython-314-darwin.so,sha256=Mll8ik8WVycuH8qrEJsDkb4OFfECJ-PpCQTdlaQuDkE,50656
7
- faster_eth_utils/applicators.py,sha256=ExFoKpS3Y09AXhth15QaKfr7CRQrW-ikE1thXDwTx0k,5849
8
- faster_eth_utils/units.py,sha256=jRo8p6trxwuISBnT8kfxTNVyd_TSd5vVY5aiKDefB1U,1757
9
- faster_eth_utils/encoding.py,sha256=1qfDeuinLZ01XjYgknpm_p9LuWwaYvicYkYI8mS1iMc,199
10
- faster_eth_utils/debug.cpython-314-darwin.so,sha256=LefhqantSt556orFVz_oKBpxox2SVbTqldVl0mVeahs,50648
11
- faster_eth_utils/applicators.cpython-314-darwin.so,sha256=Nc61sxHiL7dLq8UoNqoTZK9liTSkkFaK-GCjmqSyHVs,50672
12
- faster_eth_utils/numeric.cpython-314-darwin.so,sha256=emn-1zp3ioBpLAsQYkeXuy9QqhOATP4h_lMbiXvPOwo,50656
13
- faster_eth_utils/encoding.cpython-314-darwin.so,sha256=af04AyJ4uu5a_bFF93JBjwG2ow_wB_Wg95zYLwinPbs,50656
14
- faster_eth_utils/units.cpython-314-darwin.so,sha256=SQmrnvzNeGhY2TeYk98xfNGtNTF4hwSnOWDTnexhX9Q,50648
15
- faster_eth_utils/conversions.py,sha256=t2TEe0WsffqOFDbyQcERTSbHJYpDBWHKd8XPArhLoEE,5665
16
- faster_eth_utils/toolz.cpython-314-darwin.so,sha256=UjQwLVtX6THZnyvvlOstb77AZk0IXT9Ozr0O075KUNs,50648
17
- faster_eth_utils/__init__.py,sha256=hW-A_fjyQ76crTKwuxxSbvNzvPfW27dSlzhtOkseymg,2762
18
- faster_eth_utils/abi.cpython-314-darwin.so,sha256=0utJAFmpAQRucsiatN_kxv7QuO8NY2lx0ZoM8IygQGk,50632
19
- faster_eth_utils/conversions.cpython-314-darwin.so,sha256=M1JMEUxwMdIdQVKHHXBuEqD0IGIggsbuBIlpMW4Cr5Y,50672
20
- faster_eth_utils/functional.cpython-314-darwin.so,sha256=zUEiBzg0Ovt7Z5s775DBSKWlYD6qhu5Wfi-hkmTtje4,50672
21
- faster_eth_utils/types.py,sha256=-RDPzkoNhkp3dpDNK9iKzGmSQawwZ6wJ4exur0E_BuY,1519
22
- faster_eth_utils/decorators.cpython-314-darwin.so,sha256=nvTHyMtc_6tLmJHn1NaTXlUD7LSNYRIfzdkDNHLdA_4,50672
23
- faster_eth_utils/humanize.py,sha256=bCxXyx73NuVIDjRnpPZs7lybfrun-llC3ITy-0zZSns,4682
24
- faster_eth_utils/pydantic.py,sha256=za0WJGWkjYQkRnMbEke7ueyhDt-kuqFmCq0Utaji46g,3393
25
- faster_eth_utils/humanize.cpython-314-darwin.so,sha256=SOXHGBInsxj4bfmRuMmzP3Iyb9JA8I9Q0HZIkhtJ0Lw,50656
26
- faster_eth_utils/types.cpython-314-darwin.so,sha256=83Cq5Lzvk9qS3ebi50W-lArBn_hhkXqoASTPOKfab6s,50648
27
- faster_eth_utils/functional.py,sha256=nJTxE4_HDci0chos5mQdy05pJ8o7n0wx_o7_WCro2gI,2449
28
- faster_eth_utils/crypto.py,sha256=EQgupom_TnURbLNXodwbJoKB-mHyxgOTvo8EjnSzdxw,395
29
- faster_eth_utils/debug.py,sha256=0Z-tNOqgQJunS4uHeSCCH1LWLoijlH34MBh6NRrrDrk,499
30
- faster_eth_utils/module_loading.cpython-314-darwin.so,sha256=1OfzdDivyfhvn6In6NyzAn4PDE9OIJsCeNuC_u0mjlI,50696
31
- faster_eth_utils/numeric.py,sha256=RrXdXI-bhhkEsz3aBtxHuGlc_2ZJvUGpvMc47wx408Y,1190
32
- faster_eth_utils/network.py,sha256=O3yTtA93YyyZ6Obkusr_IbbcZ6upkCewN6EsAcF0Npc,2278
33
- faster_eth_utils/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
34
- faster_eth_utils/abi.py,sha256=3pAqpKXMOcOLCD4uUUVfxBcM9H1K311dpd1Zj0Qi21g,26404
35
- faster_eth_utils/exceptions.py,sha256=7Cjxewj4g95RxNvjNqaB2w3HGk6068V82ppCHS_S-Y0,369
36
- faster_eth_utils/currency.cpython-314-darwin.so,sha256=1dNrnIQrflLtGKM4ohtDUDIQxZEE0ziybjeCKSeUlqQ,50656
37
- faster_eth_utils/address.cpython-314-darwin.so,sha256=p13usts_IQBb8IhLPuuNCDQI0YUWuU9Wi3Cv_e7O_Nk,50656
38
- faster_eth_utils/currency.py,sha256=01YVV2f2GL4830jfSjnC4XhLQjTNQB-5y7vbGzaMWbM,4150
39
- faster_eth_utils/exceptions.cpython-314-darwin.so,sha256=yhMXFq3MHE14Z0KEiU-RzNhxksFnHZzCma84JeifZRo,50672
40
- faster_eth_utils/hexadecimal.cpython-314-darwin.so,sha256=p66ANIC35E0Opj36RHv3WqZt9OVE6_tQMMWwU0tS9S8,50672
41
- faster_eth_utils/module_loading.py,sha256=DCLM4dEh1gqr8Ny-FWwD-_pINqeHzbLSupz4ZIpCCAw,842
42
- faster_eth_utils/__main__.py,sha256=mH37e49q7_A0-q1ymqkq1QyYABbQHVmXeuSKIBSahO8,86
43
- faster_eth_utils/toolz.py,sha256=1QQY-aMbZrEgJsuqR0Ajsa32C_cXrQquzViw7OkxNLU,4410
44
- faster_eth_utils/decorators.py,sha256=BdAz-imQIf0TlBm7Di7T05o3IC6ei-xJc7FgIOqqAyE,2145
45
- faster_eth_utils/curried/__init__.py,sha256=x_nPjvTwmXeEl5jV86RRUvudu6ks1kMUxZfbjNuGx8Y,7407
46
- faster_eth_utils/typing/misc.py,sha256=4N5raYXFAeRGpmch6qgHrtYNCDxCJM5XtAAsJ1FSzzU,190
47
- faster_eth_utils/typing/__init__.py,sha256=84PxIxCvEHtBb-Ik6qnGvXH4alaWbamr_zDbtlbJh3A,325
48
- faster_eth_utils/__json/eth_networks.json,sha256=0S8HoWD6RTR6Hc0uQdQl2VHtopytIYl5NiDAzpuskBs,414773
49
- faster_eth_utils-5.3.12.dist-info/RECORD,,
50
- faster_eth_utils-5.3.12.dist-info/WHEEL,sha256=2Id6qreet5t4wZv58bZfijJ58qrc2xkw6OVvWfeqxV0,136
51
- faster_eth_utils-5.3.12.dist-info/top_level.txt,sha256=wTH6UCItCCvEEiJ9EiOrm0Kn4p4xhB7VdmmTHktoo9Y,51
52
- faster_eth_utils-5.3.12.dist-info/METADATA,sha256=WY-bib_GXbHWpDXrSq0qyJiUs0Au4dI33z210Shnejg,7800
53
- faster_eth_utils-5.3.12.dist-info/licenses/LICENSE,sha256=STqznQ6A8OeJylPrTA7dlsMtH0isQQybRlnDZOKGVrM,1095