faster-eth-utils 5.3.11__tar.gz → 5.3.12__tar.gz

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 (82) hide show
  1. {faster_eth_utils-5.3.11/faster_eth_utils.egg-info → faster_eth_utils-5.3.12}/PKG-INFO +2 -2
  2. {faster_eth_utils-5.3.11 → faster_eth_utils-5.3.12}/README.md +1 -1
  3. {faster_eth_utils-5.3.11 → faster_eth_utils-5.3.12}/faster_eth_utils/applicators.py +2 -1
  4. {faster_eth_utils-5.3.11 → faster_eth_utils-5.3.12/faster_eth_utils.egg-info}/PKG-INFO +2 -2
  5. {faster_eth_utils-5.3.11 → faster_eth_utils-5.3.12}/pyproject.toml +1 -1
  6. {faster_eth_utils-5.3.11 → faster_eth_utils-5.3.12}/setup.py +1 -1
  7. {faster_eth_utils-5.3.11 → faster_eth_utils-5.3.12}/tests/core/abi-utils/test_abi_utils.py +1 -1
  8. {faster_eth_utils-5.3.11 → faster_eth_utils-5.3.12}/LICENSE +0 -0
  9. {faster_eth_utils-5.3.11 → faster_eth_utils-5.3.12}/MANIFEST.in +0 -0
  10. {faster_eth_utils-5.3.11 → faster_eth_utils-5.3.12}/faster_eth_utils/__init__.py +0 -0
  11. {faster_eth_utils-5.3.11 → faster_eth_utils-5.3.12}/faster_eth_utils/__json/eth_networks.json +0 -0
  12. {faster_eth_utils-5.3.11 → faster_eth_utils-5.3.12}/faster_eth_utils/__main__.py +0 -0
  13. {faster_eth_utils-5.3.11 → faster_eth_utils-5.3.12}/faster_eth_utils/abi.py +0 -0
  14. {faster_eth_utils-5.3.11 → faster_eth_utils-5.3.12}/faster_eth_utils/address.py +0 -0
  15. {faster_eth_utils-5.3.11 → faster_eth_utils-5.3.12}/faster_eth_utils/conversions.py +0 -0
  16. {faster_eth_utils-5.3.11 → faster_eth_utils-5.3.12}/faster_eth_utils/crypto.py +0 -0
  17. {faster_eth_utils-5.3.11 → faster_eth_utils-5.3.12}/faster_eth_utils/currency.py +0 -0
  18. {faster_eth_utils-5.3.11 → faster_eth_utils-5.3.12}/faster_eth_utils/curried/__init__.py +0 -0
  19. {faster_eth_utils-5.3.11 → faster_eth_utils-5.3.12}/faster_eth_utils/debug.py +0 -0
  20. {faster_eth_utils-5.3.11 → faster_eth_utils-5.3.12}/faster_eth_utils/decorators.py +0 -0
  21. {faster_eth_utils-5.3.11 → faster_eth_utils-5.3.12}/faster_eth_utils/encoding.py +0 -0
  22. {faster_eth_utils-5.3.11 → faster_eth_utils-5.3.12}/faster_eth_utils/exceptions.py +0 -0
  23. {faster_eth_utils-5.3.11 → faster_eth_utils-5.3.12}/faster_eth_utils/functional.py +0 -0
  24. {faster_eth_utils-5.3.11 → faster_eth_utils-5.3.12}/faster_eth_utils/hexadecimal.py +0 -0
  25. {faster_eth_utils-5.3.11 → faster_eth_utils-5.3.12}/faster_eth_utils/humanize.py +0 -0
  26. {faster_eth_utils-5.3.11 → faster_eth_utils-5.3.12}/faster_eth_utils/logging.py +0 -0
  27. {faster_eth_utils-5.3.11 → faster_eth_utils-5.3.12}/faster_eth_utils/module_loading.py +0 -0
  28. {faster_eth_utils-5.3.11 → faster_eth_utils-5.3.12}/faster_eth_utils/network.py +0 -0
  29. {faster_eth_utils-5.3.11 → faster_eth_utils-5.3.12}/faster_eth_utils/numeric.py +0 -0
  30. {faster_eth_utils-5.3.11 → faster_eth_utils-5.3.12}/faster_eth_utils/py.typed +0 -0
  31. {faster_eth_utils-5.3.11 → faster_eth_utils-5.3.12}/faster_eth_utils/pydantic.py +0 -0
  32. {faster_eth_utils-5.3.11 → faster_eth_utils-5.3.12}/faster_eth_utils/toolz.py +0 -0
  33. {faster_eth_utils-5.3.11 → faster_eth_utils-5.3.12}/faster_eth_utils/types.py +0 -0
  34. {faster_eth_utils-5.3.11 → faster_eth_utils-5.3.12}/faster_eth_utils/typing/__init__.py +0 -0
  35. {faster_eth_utils-5.3.11 → faster_eth_utils-5.3.12}/faster_eth_utils/typing/misc.py +0 -0
  36. {faster_eth_utils-5.3.11 → faster_eth_utils-5.3.12}/faster_eth_utils/units.py +0 -0
  37. {faster_eth_utils-5.3.11 → faster_eth_utils-5.3.12}/faster_eth_utils.egg-info/SOURCES.txt +0 -0
  38. {faster_eth_utils-5.3.11 → faster_eth_utils-5.3.12}/faster_eth_utils.egg-info/dependency_links.txt +0 -0
  39. {faster_eth_utils-5.3.11 → faster_eth_utils-5.3.12}/faster_eth_utils.egg-info/not-zip-safe +0 -0
  40. {faster_eth_utils-5.3.11 → faster_eth_utils-5.3.12}/faster_eth_utils.egg-info/requires.txt +0 -0
  41. {faster_eth_utils-5.3.11 → faster_eth_utils-5.3.12}/faster_eth_utils.egg-info/top_level.txt +0 -0
  42. {faster_eth_utils-5.3.11 → faster_eth_utils-5.3.12}/scripts/benchmark/compare_benchmark_results.py +0 -0
  43. {faster_eth_utils-5.3.11 → faster_eth_utils-5.3.12}/scripts/benchmark/generate_benchmark_markdown.py +0 -0
  44. {faster_eth_utils-5.3.11 → faster_eth_utils-5.3.12}/scripts/benchmark/parse_benchmark_output.py +0 -0
  45. {faster_eth_utils-5.3.11 → faster_eth_utils-5.3.12}/scripts/release/test_package.py +0 -0
  46. {faster_eth_utils-5.3.11 → faster_eth_utils-5.3.12}/setup.cfg +0 -0
  47. {faster_eth_utils-5.3.11 → faster_eth_utils-5.3.12}/tests/core/address-utils/test_address_utils.py +0 -0
  48. {faster_eth_utils-5.3.11 → faster_eth_utils-5.3.12}/tests/core/applicator-utils/test_applicators.py +0 -0
  49. {faster_eth_utils-5.3.11 → faster_eth_utils-5.3.12}/tests/core/conversion-utils/test_conversions.py +0 -0
  50. {faster_eth_utils-5.3.11 → faster_eth_utils-5.3.12}/tests/core/currency-utils/test_currency_tools.py +0 -0
  51. {faster_eth_utils-5.3.11 → faster_eth_utils-5.3.12}/tests/core/currency-utils/test_denoms_obj.py +0 -0
  52. {faster_eth_utils-5.3.11 → faster_eth_utils-5.3.12}/tests/core/curried-utils/test_curried.py +0 -0
  53. {faster_eth_utils-5.3.11 → faster_eth_utils-5.3.12}/tests/core/decorator-utils/test_combomethod.py +0 -0
  54. {faster_eth_utils-5.3.11 → faster_eth_utils-5.3.12}/tests/core/decorator-utils/test_replace_exceptions.py +0 -0
  55. {faster_eth_utils-5.3.11 → faster_eth_utils-5.3.12}/tests/core/encoding-utils/test_big_endian_integer.py +0 -0
  56. {faster_eth_utils-5.3.11 → faster_eth_utils-5.3.12}/tests/core/functional-utils/test_return_value_decorators.py +0 -0
  57. {faster_eth_utils-5.3.11 → faster_eth_utils-5.3.12}/tests/core/functional-utils/test_type_inference.py +0 -0
  58. {faster_eth_utils-5.3.11 → faster_eth_utils-5.3.12}/tests/core/hexadecimal-utils/test_0x_prefix_addition_and_removal.py +0 -0
  59. {faster_eth_utils-5.3.11 → faster_eth_utils-5.3.12}/tests/core/hexadecimal-utils/test_is_0x_prefixed.py +0 -0
  60. {faster_eth_utils-5.3.11 → faster_eth_utils-5.3.12}/tests/core/hexadecimal-utils/test_is_hex.py +0 -0
  61. {faster_eth_utils-5.3.11 → faster_eth_utils-5.3.12}/tests/core/hexadecimal-utils/test_is_hexstr.py +0 -0
  62. {faster_eth_utils-5.3.11 → faster_eth_utils-5.3.12}/tests/core/humanize-utils/test_humanize_bytes.py +0 -0
  63. {faster_eth_utils-5.3.11 → faster_eth_utils-5.3.12}/tests/core/humanize-utils/test_humanize_hash.py +0 -0
  64. {faster_eth_utils-5.3.11 → faster_eth_utils-5.3.12}/tests/core/humanize-utils/test_humanize_hexstr.py +0 -0
  65. {faster_eth_utils-5.3.11 → faster_eth_utils-5.3.12}/tests/core/humanize-utils/test_humanize_integer_sequence.py +0 -0
  66. {faster_eth_utils-5.3.11 → faster_eth_utils-5.3.12}/tests/core/humanize-utils/test_humanize_ipfs_uri.py +0 -0
  67. {faster_eth_utils-5.3.11 → faster_eth_utils-5.3.12}/tests/core/humanize-utils/test_humanize_seconds.py +0 -0
  68. {faster_eth_utils-5.3.11 → faster_eth_utils-5.3.12}/tests/core/humanize-utils/test_humanize_wei.py +0 -0
  69. {faster_eth_utils-5.3.11 → faster_eth_utils-5.3.12}/tests/core/logging-utils/test_DEBUG2_logging.py +0 -0
  70. {faster_eth_utils-5.3.11 → faster_eth_utils-5.3.12}/tests/core/logging-utils/test_compat_with_abc_ABC.py +0 -0
  71. {faster_eth_utils-5.3.11 → faster_eth_utils-5.3.12}/tests/core/logging-utils/test_get_logger.py +0 -0
  72. {faster_eth_utils-5.3.11 → faster_eth_utils-5.3.12}/tests/core/logging-utils/test_has_logger_metaclass.py +0 -0
  73. {faster_eth_utils-5.3.11 → faster_eth_utils-5.3.12}/tests/core/module-loading-utils/test_import_string.py +0 -0
  74. {faster_eth_utils-5.3.11 → faster_eth_utils-5.3.12}/tests/core/network-utils/test_network_utils.py +0 -0
  75. {faster_eth_utils-5.3.11 → faster_eth_utils-5.3.12}/tests/core/numeric-utils/test_clamp.py +0 -0
  76. {faster_eth_utils-5.3.11 → faster_eth_utils-5.3.12}/tests/core/pydantic-utils/test_camel_model.py +0 -0
  77. {faster_eth_utils-5.3.11 → faster_eth_utils-5.3.12}/tests/core/test_import_and_version.py +0 -0
  78. {faster_eth_utils-5.3.11 → faster_eth_utils-5.3.12}/tests/core/type-checks/mypy_typing_of_curried_utils.py +0 -0
  79. {faster_eth_utils-5.3.11 → faster_eth_utils-5.3.12}/tests/core/type-checks/mypy_typing_of_functional_utils.py +0 -0
  80. {faster_eth_utils-5.3.11 → faster_eth_utils-5.3.12}/tests/core/type-checks/mypy_typing_of_has_logger.py +0 -0
  81. {faster_eth_utils-5.3.11 → faster_eth_utils-5.3.12}/tests/core/types-utils/test_types_utils.py +0 -0
  82. {faster_eth_utils-5.3.11 → faster_eth_utils-5.3.12}/tests/mypy/abi_types.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: faster-eth-utils
3
- Version: 5.3.11
3
+ Version: 5.3.12
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
@@ -84,7 +84,7 @@ Dynamic: summary
84
84
 
85
85
  ##### We benchmark `faster-eth-utils` against the original `eth-utils` for your convenience. [See results](https://github.com/BobTheBuidler/faster-eth-utils/tree/master/benchmarks/results).
86
86
 
87
- ##### You can find the compiled C code on faster-eth-utils [master](https://github.com/BobTheBuidler/eth-utils/tree/master) branch.
87
+ ##### You can find the compiled C code and header files in the [build](https://github.com/BobTheBuidler/eth-utils/tree/master/build) directory.
88
88
 
89
89
  ###### You may also be interested in: [faster-web3.py](https://github.com/BobTheBuidler/faster-web3.py/), [faster-eth-abi](https://github.com/BobTheBuidler/faster-eth-abi/), and [faster-hexbytes](https://github.com/BobTheBuidler/faster-hexbytes/)
90
90
 
@@ -10,7 +10,7 @@
10
10
 
11
11
  ##### We benchmark `faster-eth-utils` against the original `eth-utils` for your convenience. [See results](https://github.com/BobTheBuidler/faster-eth-utils/tree/master/benchmarks/results).
12
12
 
13
- ##### You can find the compiled C code on faster-eth-utils [master](https://github.com/BobTheBuidler/eth-utils/tree/master) branch.
13
+ ##### You can find the compiled C code and header files in the [build](https://github.com/BobTheBuidler/eth-utils/tree/master/build) directory.
14
14
 
15
15
  ###### You may also be interested in: [faster-web3.py](https://github.com/BobTheBuidler/faster-web3.py/), [faster-eth-abi](https://github.com/BobTheBuidler/faster-eth-abi/), and [faster-hexbytes](https://github.com/BobTheBuidler/faster-hexbytes/)
16
16
 
@@ -4,6 +4,7 @@ from typing import (
4
4
  Dict,
5
5
  Generator,
6
6
  List,
7
+ Mapping,
7
8
  Sequence,
8
9
  Tuple,
9
10
  TypeVar,
@@ -179,7 +180,7 @@ def apply_one_of_formatters(
179
180
 
180
181
 
181
182
  def apply_key_map(
182
- key_mappings: Dict[Any, Any], value: Dict[Any, Any]
183
+ key_mappings: Dict[Any, Any], value: Mapping[Any, Any]
183
184
  ) -> Dict[Any, Any]:
184
185
  key_conflicts = (
185
186
  set(value.keys())
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: faster-eth-utils
3
- Version: 5.3.11
3
+ Version: 5.3.12
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
@@ -84,7 +84,7 @@ Dynamic: summary
84
84
 
85
85
  ##### We benchmark `faster-eth-utils` against the original `eth-utils` for your convenience. [See results](https://github.com/BobTheBuidler/faster-eth-utils/tree/master/benchmarks/results).
86
86
 
87
- ##### You can find the compiled C code on faster-eth-utils [master](https://github.com/BobTheBuidler/eth-utils/tree/master) branch.
87
+ ##### You can find the compiled C code and header files in the [build](https://github.com/BobTheBuidler/eth-utils/tree/master/build) directory.
88
88
 
89
89
  ###### You may also be interested in: [faster-web3.py](https://github.com/BobTheBuidler/faster-web3.py/), [faster-eth-abi](https://github.com/BobTheBuidler/faster-eth-abi/), and [faster-hexbytes](https://github.com/BobTheBuidler/faster-hexbytes/)
90
90
 
@@ -139,7 +139,7 @@ name = "Removals"
139
139
  showcontent = true
140
140
 
141
141
  [tool.bumpversion]
142
- current_version = "5.3.11"
142
+ current_version = "5.3.12"
143
143
  parse = """
144
144
  (?P<major>\\d+)
145
145
  \\.(?P<minor>\\d+)
@@ -95,7 +95,7 @@ with open("./README.md") as readme:
95
95
  setup(
96
96
  name="faster-eth-utils",
97
97
  # *IMPORTANT*: Don't manually change the version here. Use `make bump`, as described in readme
98
- version="5.3.11",
98
+ version="5.3.12",
99
99
  description=(
100
100
  """A fork of eth-utils: Common utility functions for python code that interacts with Ethereum, implemented in C"""
101
101
  ),
@@ -779,7 +779,7 @@ def test_filter_abi_by_type_raises_for_invalid_abi_type() -> None:
779
779
  contract_abi = build_contract_abi([ABI_FUNCTION_TOKEN_LAUNCHED])
780
780
  with pytest.raises(
781
781
  ValueError,
782
- match=re.escape("Unsupported ABI type: typing.Literal['notanabitype']"),
782
+ match=re.escape("Unsupported ABI type: notanabitype"),
783
783
  ):
784
784
  filter_abi_by_type("notanabitype", contract_abi)
785
785