faster-eth-utils 2.3.1__cp311-cp311-win32.whl → 5.3.23__cp311-cp311-win32.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.
- faster_eth_utils/__init__.py +54 -17
- faster_eth_utils/__json/eth_networks.json +1 -0
- faster_eth_utils/__main__.py +3 -1
- faster_eth_utils/abi.cp311-win32.pyd +0 -0
- faster_eth_utils/abi.py +840 -37
- faster_eth_utils/address.cp311-win32.pyd +0 -0
- faster_eth_utils/address.py +54 -66
- faster_eth_utils/applicators.cp311-win32.pyd +0 -0
- faster_eth_utils/applicators.py +126 -71
- faster_eth_utils/conversions.cp311-win32.pyd +0 -0
- faster_eth_utils/conversions.py +57 -30
- faster_eth_utils/crypto.cp311-win32.pyd +0 -0
- faster_eth_utils/crypto.py +11 -6
- faster_eth_utils/currency.cp311-win32.pyd +0 -0
- faster_eth_utils/currency.py +74 -33
- faster_eth_utils/curried/__init__.py +110 -89
- faster_eth_utils/debug.cp311-win32.pyd +0 -0
- faster_eth_utils/debug.py +3 -3
- faster_eth_utils/decorators.cp311-win32.pyd +0 -0
- faster_eth_utils/decorators.py +73 -24
- faster_eth_utils/encoding.cp311-win32.pyd +0 -0
- faster_eth_utils/encoding.py +1 -1
- faster_eth_utils/exceptions.cp311-win32.pyd +0 -0
- faster_eth_utils/exceptions.py +8 -3
- faster_eth_utils/functional.cp311-win32.pyd +0 -0
- faster_eth_utils/functional.py +42 -28
- faster_eth_utils/hexadecimal.cp311-win32.pyd +0 -0
- faster_eth_utils/hexadecimal.py +34 -26
- faster_eth_utils/humanize.cp311-win32.pyd +0 -0
- faster_eth_utils/humanize.py +55 -27
- faster_eth_utils/logging.py +65 -64
- faster_eth_utils/module_loading.cp311-win32.pyd +0 -0
- faster_eth_utils/module_loading.py +8 -7
- faster_eth_utils/network.cp311-win32.pyd +0 -0
- faster_eth_utils/network.py +25 -14
- faster_eth_utils/numeric.cp311-win32.pyd +0 -0
- faster_eth_utils/numeric.py +11 -4
- faster_eth_utils/pydantic.py +99 -0
- faster_eth_utils/toolz.cp311-win32.pyd +0 -0
- faster_eth_utils/toolz.py +82 -152
- faster_eth_utils/types.cp311-win32.pyd +0 -0
- faster_eth_utils/types.py +34 -21
- faster_eth_utils/typing/misc.py +3 -1
- faster_eth_utils/units.cp311-win32.pyd +0 -0
- faster_eth_utils-5.3.23.dist-info/METADATA +192 -0
- faster_eth_utils-5.3.23.dist-info/RECORD +53 -0
- {faster_eth_utils-2.3.1.dist-info → faster_eth_utils-5.3.23.dist-info}/licenses/LICENSE +1 -1
- faster_eth_utils-5.3.23.dist-info/top_level.txt +3 -0
- faster_eth_utils__mypyc.cp311-win32.pyd +0 -0
- bce0bfc64ce5e845ec4a__mypyc.cp311-win32.pyd +0 -0
- faster_eth_utils-2.3.1.dist-info/METADATA +0 -160
- faster_eth_utils-2.3.1.dist-info/RECORD +0 -45
- faster_eth_utils-2.3.1.dist-info/top_level.txt +0 -3
- {faster_eth_utils-2.3.1.dist-info → faster_eth_utils-5.3.23.dist-info}/WHEEL +0 -0
|
@@ -0,0 +1,192 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: faster-eth-utils
|
|
3
|
+
Version: 5.3.23
|
|
4
|
+
Summary: A faster fork of eth-utils: Common utility functions for python code that interacts with Ethereum. Implemented in C
|
|
5
|
+
Home-page: https://github.com/BobTheBuidler/faster-eth-utils
|
|
6
|
+
Author: The Ethereum Foundation
|
|
7
|
+
Author-email: snakecharmers@ethereum.org
|
|
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 - Precompiled (.py), https://github.com/BobTheBuidler/faster-eth-utils/tree/master/faster_eth_utils
|
|
13
|
+
Project-URL: Source - Compiled (.c), https://github.com/BobTheBuidler/faster-eth-utils/tree/master/build
|
|
14
|
+
Project-URL: Benchmarks, https://github.com/BobTheBuidler/faster-eth-utils/tree/master/benchmarks
|
|
15
|
+
Project-URL: Benchmarks - Results, https://github.com/BobTheBuidler/faster-eth-utils/tree/master/benchmarks/results
|
|
16
|
+
Project-URL: Original, https://github.com/ethereum/eth-utils
|
|
17
|
+
Keywords: ethereum
|
|
18
|
+
Classifier: Intended Audience :: Developers
|
|
19
|
+
Classifier: Natural Language :: English
|
|
20
|
+
Classifier: Programming Language :: Python :: 3
|
|
21
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
22
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
23
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
24
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
25
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
26
|
+
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
27
|
+
Requires-Python: >=3.10, <4
|
|
28
|
+
Description-Content-Type: text/markdown
|
|
29
|
+
License-File: LICENSE
|
|
30
|
+
Requires-Dist: cchecksum==0.3.10
|
|
31
|
+
Requires-Dist: eth-hash>=0.3.1
|
|
32
|
+
Requires-Dist: eth-typing==5.2.1
|
|
33
|
+
Requires-Dist: eth-utils==5.3.1
|
|
34
|
+
Requires-Dist: toolz>0.8.2; implementation_name == "pypy"
|
|
35
|
+
Requires-Dist: cytoolz>=0.10.1; implementation_name == "cpython"
|
|
36
|
+
Requires-Dist: pydantic<3,>=2.0.0
|
|
37
|
+
Provides-Extra: dev
|
|
38
|
+
Requires-Dist: build>=0.9.0; extra == "dev"
|
|
39
|
+
Requires-Dist: bump_my_version>=0.19.0; extra == "dev"
|
|
40
|
+
Requires-Dist: eth-hash[pycryptodome]; extra == "dev"
|
|
41
|
+
Requires-Dist: ipython; extra == "dev"
|
|
42
|
+
Requires-Dist: mypy[mypyc]<1.20,>=1.14.1; extra == "dev"
|
|
43
|
+
Requires-Dist: pre-commit>=3.4.0; extra == "dev"
|
|
44
|
+
Requires-Dist: tox>=4.0.0; extra == "dev"
|
|
45
|
+
Requires-Dist: twine; extra == "dev"
|
|
46
|
+
Requires-Dist: wheel; extra == "dev"
|
|
47
|
+
Requires-Dist: sphinx>=6.0.0; extra == "dev"
|
|
48
|
+
Requires-Dist: sphinx-autobuild>=2021.3.14; extra == "dev"
|
|
49
|
+
Requires-Dist: sphinx_rtd_theme>=1.0.0; extra == "dev"
|
|
50
|
+
Requires-Dist: towncrier<26,>=24; extra == "dev"
|
|
51
|
+
Requires-Dist: hypothesis>=4.43.0; extra == "dev"
|
|
52
|
+
Requires-Dist: mypy[mypyc]<1.20,>=1.14.1; extra == "dev"
|
|
53
|
+
Requires-Dist: pytest-xdist>=2.4.0; extra == "dev"
|
|
54
|
+
Requires-Dist: pytest>=7.0.0; extra == "dev"
|
|
55
|
+
Provides-Extra: docs
|
|
56
|
+
Requires-Dist: sphinx>=6.0.0; extra == "docs"
|
|
57
|
+
Requires-Dist: sphinx-autobuild>=2021.3.14; extra == "docs"
|
|
58
|
+
Requires-Dist: sphinx_rtd_theme>=1.0.0; extra == "docs"
|
|
59
|
+
Requires-Dist: towncrier<26,>=24; extra == "docs"
|
|
60
|
+
Provides-Extra: test
|
|
61
|
+
Requires-Dist: hypothesis>=4.43.0; extra == "test"
|
|
62
|
+
Requires-Dist: mypy[mypyc]<1.20,>=1.14.1; extra == "test"
|
|
63
|
+
Requires-Dist: pytest-xdist>=2.4.0; extra == "test"
|
|
64
|
+
Requires-Dist: pytest>=7.0.0; extra == "test"
|
|
65
|
+
Provides-Extra: codspeed
|
|
66
|
+
Requires-Dist: pytest-codspeed<4.3,>=4.2; extra == "codspeed"
|
|
67
|
+
Requires-Dist: pytest-test-groups; extra == "codspeed"
|
|
68
|
+
Requires-Dist: pytest>=7.0.0; extra == "codspeed"
|
|
69
|
+
Provides-Extra: benchmark
|
|
70
|
+
Requires-Dist: eth-utils==5.3.1; extra == "benchmark"
|
|
71
|
+
Requires-Dist: pytest-benchmark<5.3,>=5.2; extra == "benchmark"
|
|
72
|
+
Requires-Dist: pytest-codspeed<4.3,>=4.2; extra == "benchmark"
|
|
73
|
+
Requires-Dist: pytest-test-groups; extra == "benchmark"
|
|
74
|
+
Requires-Dist: pytest>=7.0.0; extra == "benchmark"
|
|
75
|
+
Dynamic: author
|
|
76
|
+
Dynamic: author-email
|
|
77
|
+
Dynamic: classifier
|
|
78
|
+
Dynamic: description
|
|
79
|
+
Dynamic: description-content-type
|
|
80
|
+
Dynamic: home-page
|
|
81
|
+
Dynamic: keywords
|
|
82
|
+
Dynamic: license
|
|
83
|
+
Dynamic: license-file
|
|
84
|
+
Dynamic: project-url
|
|
85
|
+
Dynamic: provides-extra
|
|
86
|
+
Dynamic: requires-dist
|
|
87
|
+
Dynamic: requires-python
|
|
88
|
+
Dynamic: summary
|
|
89
|
+
|
|
90
|
+
### I forked eth-utils and compiled it to C. It does the same stuff, now faster
|
|
91
|
+
|
|
92
|
+
[](https://pypi.org/project/faster-eth-utils)
|
|
93
|
+
[](https://pypistats.org/packages/faster-eth-utils)
|
|
94
|
+
[](https://codspeed.io/BobTheBuidler/faster-eth-utils)
|
|
95
|
+
|
|
96
|
+
##### This fork will be kept up-to-date with [eth-utils](https://github.com/ethereum/eth-utils). I will pull updates as they are released and push new [faster-eth-utils](https://github.com/BobTheBuidler/faster-eth-utils) releases to [PyPI](https://pypi.org/project/faster-eth-utils/).
|
|
97
|
+
|
|
98
|
+
##### Starting in [v5.3.11](https://github.com/BobTheBuidler/faster-eth-utils/releases/tag/v5.3.11), all `faster-eth-utils` Exception classes inherit from the matching Exception class in `eth-utils`, so porting to `faster-eth-utils` does not require any change to your existing exception handlers. All existing exception handling in your codebase will continue to work as it did when originaly implemented.
|
|
99
|
+
|
|
100
|
+
##### 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).
|
|
101
|
+
|
|
102
|
+
##### You can find the compiled C code and header files in the [build](https://github.com/BobTheBuidler/eth-utils/tree/master/build) directory.
|
|
103
|
+
|
|
104
|
+
###### 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/)
|
|
105
|
+
|
|
106
|
+
##### The original eth-utils readme is below:
|
|
107
|
+
|
|
108
|
+
# Ethereum Utilities
|
|
109
|
+
|
|
110
|
+
[](https://discord.gg/GHryRvPB84)
|
|
111
|
+
[](https://circleci.com/gh/ethereum/eth-utils)
|
|
112
|
+
[](https://badge.fury.io/py/eth-utils)
|
|
113
|
+
[](https://pypi.python.org/pypi/eth-utils)
|
|
114
|
+
[](https://eth-utils.readthedocs.io/en/latest/?badge=latest)
|
|
115
|
+
|
|
116
|
+
Common utility functions for python code that interacts with Ethereum
|
|
117
|
+
|
|
118
|
+
Read the [documentation](https://eth-utils.readthedocs.io/).
|
|
119
|
+
|
|
120
|
+
View the [change log](https://eth-utils.readthedocs.io/en/latest/release_notes.html).
|
|
121
|
+
|
|
122
|
+
## Installation
|
|
123
|
+
|
|
124
|
+
```sh
|
|
125
|
+
python -m pip install eth-utils
|
|
126
|
+
```
|
|
127
|
+
|
|
128
|
+
## Developer Setup
|
|
129
|
+
|
|
130
|
+
If you would like to hack on eth-utils, please check out the [Snake Charmers
|
|
131
|
+
Tactical Manual](https://github.com/ethereum/snake-charmers-tactical-manual)
|
|
132
|
+
for information on how we do:
|
|
133
|
+
|
|
134
|
+
- Testing
|
|
135
|
+
- Pull Requests
|
|
136
|
+
- Documentation
|
|
137
|
+
|
|
138
|
+
We use [pre-commit](https://pre-commit.com/) to maintain consistent code style. Once
|
|
139
|
+
installed, it will run automatically with every commit. You can also run it manually
|
|
140
|
+
with `make lint`. If you need to make a commit that skips the `pre-commit` checks, you
|
|
141
|
+
can do so with `git commit --no-verify`.
|
|
142
|
+
|
|
143
|
+
### Development Environment Setup
|
|
144
|
+
|
|
145
|
+
You can set up your dev environment with:
|
|
146
|
+
|
|
147
|
+
```sh
|
|
148
|
+
git clone git@github.com:ethereum/eth-utils.git
|
|
149
|
+
cd eth-utils
|
|
150
|
+
virtualenv -p python3 venv
|
|
151
|
+
. venv/bin/activate
|
|
152
|
+
python -m pip install -e ".[dev]"
|
|
153
|
+
pre-commit install
|
|
154
|
+
```
|
|
155
|
+
|
|
156
|
+
### Update Networks
|
|
157
|
+
|
|
158
|
+
The list of networks resides in the JSON file under eth_utils/\_\_json/eth_networks.json.
|
|
159
|
+
This file is used to initialize Networks, which can be used to obtain network
|
|
160
|
+
information with a chain ID.
|
|
161
|
+
|
|
162
|
+
Run the script to update the JSON file with the response from the remote list.
|
|
163
|
+
|
|
164
|
+
```sh
|
|
165
|
+
python update_networks.py
|
|
166
|
+
```
|
|
167
|
+
|
|
168
|
+
If there are new networks they will appear in the JSON file. After checking the updates,
|
|
169
|
+
open a PR to make them available in a new release.
|
|
170
|
+
|
|
171
|
+
### Release setup
|
|
172
|
+
|
|
173
|
+
To release a new version:
|
|
174
|
+
|
|
175
|
+
```sh
|
|
176
|
+
make release bump=$$VERSION_PART_TO_BUMP$$
|
|
177
|
+
```
|
|
178
|
+
|
|
179
|
+
#### How to bumpversion
|
|
180
|
+
|
|
181
|
+
The version format for this repo is `{major}.{minor}.{patch}` for stable, and
|
|
182
|
+
`{major}.{minor}.{patch}-{stage}.{devnum}` for unstable (`stage` can be alpha or beta).
|
|
183
|
+
|
|
184
|
+
To issue the next version in line, specify which part to bump,
|
|
185
|
+
like `make release bump=minor` or `make release bump=devnum`. This is typically done from the
|
|
186
|
+
main branch, except when releasing a beta (in which case the beta is released from main,
|
|
187
|
+
and the previous stable branch is released from said branch).
|
|
188
|
+
|
|
189
|
+
If you are in a beta version, `make release bump=stage` will switch to a stable.
|
|
190
|
+
|
|
191
|
+
To issue an unstable version when the current version is stable, specify the
|
|
192
|
+
new version explicitly, like `make release bump="--new-version 4.0.0-alpha.1 devnum"`
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
faster_eth_utils__mypyc.cp311-win32.pyd,sha256=VTtuwYkZaSyMHmmwuhI7ipw87j2gIZ8byXg7Mr4PVtg,377856
|
|
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.cp311-win32.pyd,sha256=1SC2Cc9BezWfPnuGMSWkleP8_Yu0wHoDCrNNMVqlxeo,9216
|
|
5
|
+
faster_eth_utils/abi.py,sha256=9hONYnt8Hehk2PAn5N3eOsqR91kDVeT9pH9FdkquIlk,27889
|
|
6
|
+
faster_eth_utils/address.cp311-win32.pyd,sha256=qeoLPHRDxg5rBUtqCw757KlJa-mD3dMD4rPyZzQucqs,9216
|
|
7
|
+
faster_eth_utils/address.py,sha256=Yu9jE6XuKKC0nhFc4KOGHEul8G4X8t79yHfdcprWq4U,3710
|
|
8
|
+
faster_eth_utils/applicators.cp311-win32.pyd,sha256=_JnuWA_ngoLxnCq4Q8PgvSHN_B8hL55-BTWymkaaMS4,9216
|
|
9
|
+
faster_eth_utils/applicators.py,sha256=irFMuW-PdWMwVlzZQ5OL9wSx9JebUPr9dshVu_BSX3s,6040
|
|
10
|
+
faster_eth_utils/conversions.cp311-win32.pyd,sha256=j7hu7Pc-FCWU4w2D3uWGS1E4vALtLeuWCE6Vdcblq5U,9216
|
|
11
|
+
faster_eth_utils/conversions.py,sha256=s2twjSs7eXAZYA7q-MvVx8nRh6pSwhrGWp7TWWPHMaI,5759
|
|
12
|
+
faster_eth_utils/crypto.cp311-win32.pyd,sha256=8urS7BTtt6eMDFbgs4x_StbuU99clI1J-TeDtQ7mxq4,9216
|
|
13
|
+
faster_eth_utils/crypto.py,sha256=QNl-6kpKS97cjtcqq3k0LonQNVY0zccdJWTbtMzTOeA,348
|
|
14
|
+
faster_eth_utils/currency.cp311-win32.pyd,sha256=XmaDNaaZ2eyAuVF3BEEJOzyxl8l00jDuLJTPgtrEPx0,9216
|
|
15
|
+
faster_eth_utils/currency.py,sha256=m_PjhECWaqZHq5-1q6EphcjSotWwAkf88JzbtZGxfvo,4351
|
|
16
|
+
faster_eth_utils/debug.cp311-win32.pyd,sha256=CU8uJhbA1k0HWIQNc1HuoxqNLUOlzIXlPFJ0CxgyVxI,9216
|
|
17
|
+
faster_eth_utils/debug.py,sha256=V3fN7-gz246Tcf_Zp99QK3uDzW22odPpAl_bShIZhZs,519
|
|
18
|
+
faster_eth_utils/decorators.cp311-win32.pyd,sha256=bf05tTZu-55__9ThgHKXk8q8okYhIvPmjc8y1g6Mgz4,9216
|
|
19
|
+
faster_eth_utils/decorators.py,sha256=OX-fovjdPjlSY4fkC3rV2M9YW20GlXRy1bv28ivSl4w,3309
|
|
20
|
+
faster_eth_utils/encoding.cp311-win32.pyd,sha256=vKri8PyCyq6-rnuJmWCslZNBf-NI9DWtoXRTsljYQJU,9216
|
|
21
|
+
faster_eth_utils/encoding.py,sha256=Be10DAYjsVq-0xMu1Kc3IYU28EDfZkOqxdE8qJuHQMc,217
|
|
22
|
+
faster_eth_utils/exceptions.cp311-win32.pyd,sha256=u-gtVq_ftoMEMHMdPlr5fCs5l9NFvajz-lTxeWpwg9Q,9216
|
|
23
|
+
faster_eth_utils/exceptions.py,sha256=IekZC213PemJO8Z1EUo65Fx7YaAUEOeIoshbXaeFvB0,402
|
|
24
|
+
faster_eth_utils/functional.cp311-win32.pyd,sha256=QWjgiR_v1HPfiQpYCnwT43UpWpsJZdXPHPJhVtsFZbg,9216
|
|
25
|
+
faster_eth_utils/functional.py,sha256=H4BpF_SVLFpLOEQs7Y0fLVGVGstvN2emxpjBZEoy0uI,2545
|
|
26
|
+
faster_eth_utils/hexadecimal.cp311-win32.pyd,sha256=k9tXvzyZy2R5ezvlA5VRuvtmn9tB-lG7avngMZJHdBc,9216
|
|
27
|
+
faster_eth_utils/hexadecimal.py,sha256=5ABF--j_998u_6beToLRwhb7nLQPdplNWOp1o-Q0ZuE,2134
|
|
28
|
+
faster_eth_utils/humanize.cp311-win32.pyd,sha256=uZVYZ1nzvnc73Sj8-aEERuUE3wNFMjTrdTU93zmUtfE,9216
|
|
29
|
+
faster_eth_utils/humanize.py,sha256=zJwr9UttVTdDALOdXYu6T1rPNLtjwYufVIILXeqev7g,4904
|
|
30
|
+
faster_eth_utils/logging.py,sha256=oYHS-6MMMfqBCXId5kPiTUFA8tkZOGbpopVtAu_8UQM,4910
|
|
31
|
+
faster_eth_utils/module_loading.cp311-win32.pyd,sha256=vFM8b9fQguKYYU4dRkEE8rkipx1L4HC18TIfDNcxwjk,9216
|
|
32
|
+
faster_eth_utils/module_loading.py,sha256=gGZ0n4zezi2zxMRuEU0cf7EYW1lXpS_a1aPvP1KFkXA,873
|
|
33
|
+
faster_eth_utils/network.cp311-win32.pyd,sha256=paTjnOFhj6mxzH8XfvMn9jnLpOEbLl-ZyNprr9FLHMI,9216
|
|
34
|
+
faster_eth_utils/network.py,sha256=jy6m5g54X3777Iti1G3mR_0N2B-TNU3IIZl-pb16eXs,2370
|
|
35
|
+
faster_eth_utils/numeric.cp311-win32.pyd,sha256=BVRiLYvfxMQtA8N4yRfCXBsI-9tNlOTgR2lga3b4Z54,9216
|
|
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=g5YQh2EbfwdJvxT5s7HiYId8dz94Xl7dy_hT9XBKOyo,3516
|
|
39
|
+
faster_eth_utils/toolz.cp311-win32.pyd,sha256=-2k4LTFsQnBirGav7ChRpoBjc8louO2kQpBgtZI1rYc,9216
|
|
40
|
+
faster_eth_utils/toolz.py,sha256=P3s23LOEFRY6XQ8i_ChnA9hf-PSi-Oe-pv0jzsj7DjY,4494
|
|
41
|
+
faster_eth_utils/types.cp311-win32.pyd,sha256=TvDehqUgz_nU9R54byh7cYH1uvc8Q_f6xJa8v4BUVPs,9216
|
|
42
|
+
faster_eth_utils/types.py,sha256=uncVkm2E0WNhOPyubsxXN4wgc600tgE_qo2MP8Gm8Dg,1589
|
|
43
|
+
faster_eth_utils/units.cp311-win32.pyd,sha256=Ji-87qxdYYIWh2x_s_NAoXXVLCpzMUgWEycz7b7IKgk,9216
|
|
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=GGoJTtrx54OSlW0dS_l2hMZjwePQzBSIdHNUMVki0OA,8102
|
|
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.23.dist-info/licenses/LICENSE,sha256=VSsrPEmF7tY2P84NOLM4ZsJDoEIjpf16GFwU5-py2n0,1116
|
|
50
|
+
faster_eth_utils-5.3.23.dist-info/METADATA,sha256=iB-sc2io4uoDNT6OUlgEbli7Lz2_QWkHgvA4MQdJv-o,9099
|
|
51
|
+
faster_eth_utils-5.3.23.dist-info/WHEEL,sha256=Ri8zddKrjGdgjlj1OpSsvpDnvHfnQhMQWi3E_v2pqng,97
|
|
52
|
+
faster_eth_utils-5.3.23.dist-info/top_level.txt,sha256=wTH6UCItCCvEEiJ9EiOrm0Kn4p4xhB7VdmmTHktoo9Y,51
|
|
53
|
+
faster_eth_utils-5.3.23.dist-info/RECORD,,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
The MIT License (MIT)
|
|
2
2
|
|
|
3
|
-
Copyright (c) 2017-
|
|
3
|
+
Copyright (c) 2017-2025 The Ethereum Foundation
|
|
4
4
|
|
|
5
5
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
6
|
of this software and associated documentation files (the "Software"), to deal
|
|
Binary file
|
|
Binary file
|
|
@@ -1,160 +0,0 @@
|
|
|
1
|
-
Metadata-Version: 2.4
|
|
2
|
-
Name: faster-eth-utils
|
|
3
|
-
Version: 2.3.1
|
|
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
|
|
6
|
-
Author: The Ethereum Foundation
|
|
7
|
-
Author-email: snakecharmers@ethereum.org
|
|
8
|
-
License: MIT
|
|
9
|
-
Keywords: ethereum
|
|
10
|
-
Classifier: Intended Audience :: Developers
|
|
11
|
-
Classifier: License :: OSI Approved :: MIT License
|
|
12
|
-
Classifier: Natural Language :: English
|
|
13
|
-
Classifier: Programming Language :: Python :: 3
|
|
14
|
-
Classifier: Programming Language :: Python :: 3.7
|
|
15
|
-
Classifier: Programming Language :: Python :: 3.8
|
|
16
|
-
Classifier: Programming Language :: Python :: 3.9
|
|
17
|
-
Classifier: Programming Language :: Python :: 3.10
|
|
18
|
-
Classifier: Programming Language :: Python :: 3.11
|
|
19
|
-
Classifier: Programming Language :: Python :: 3.12
|
|
20
|
-
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
21
|
-
Requires-Python: >=3.8,<4
|
|
22
|
-
Description-Content-Type: text/markdown
|
|
23
|
-
License-File: LICENSE
|
|
24
|
-
Requires-Dist: cached-property<2,>=1.5.2; python_version < "3.8"
|
|
25
|
-
Requires-Dist: eth-hash>=0.3.1
|
|
26
|
-
Requires-Dist: eth-typing>=3.0.0
|
|
27
|
-
Requires-Dist: toolz>0.8.2; implementation_name == "pypy"
|
|
28
|
-
Requires-Dist: cytoolz>=0.10.1; implementation_name == "cpython"
|
|
29
|
-
Provides-Extra: test
|
|
30
|
-
Requires-Dist: hypothesis>=4.43.0; extra == "test"
|
|
31
|
-
Requires-Dist: pytest>=7.0.0; extra == "test"
|
|
32
|
-
Requires-Dist: pytest-xdist>=2.4.0; extra == "test"
|
|
33
|
-
Requires-Dist: types-setuptools; extra == "test"
|
|
34
|
-
Requires-Dist: mypy==0.971; extra == "test"
|
|
35
|
-
Provides-Extra: lint
|
|
36
|
-
Requires-Dist: flake8==3.8.3; extra == "lint"
|
|
37
|
-
Requires-Dist: isort>=5.11.0; extra == "lint"
|
|
38
|
-
Requires-Dist: mypy==0.971; extra == "lint"
|
|
39
|
-
Requires-Dist: pydocstyle>=5.0.0; extra == "lint"
|
|
40
|
-
Requires-Dist: black>=23; extra == "lint"
|
|
41
|
-
Requires-Dist: types-setuptools; extra == "lint"
|
|
42
|
-
Provides-Extra: docs
|
|
43
|
-
Requires-Dist: sphinx>=5.0.0; extra == "docs"
|
|
44
|
-
Requires-Dist: sphinx_rtd_theme>=1.0.0; extra == "docs"
|
|
45
|
-
Requires-Dist: towncrier<22,>=21; extra == "docs"
|
|
46
|
-
Provides-Extra: dev
|
|
47
|
-
Requires-Dist: bumpversion>=0.5.3; extra == "dev"
|
|
48
|
-
Requires-Dist: pytest-watch>=4.1.0; extra == "dev"
|
|
49
|
-
Requires-Dist: tox>=4.0.0; extra == "dev"
|
|
50
|
-
Requires-Dist: build>=0.9.0; extra == "dev"
|
|
51
|
-
Requires-Dist: wheel; extra == "dev"
|
|
52
|
-
Requires-Dist: twine; extra == "dev"
|
|
53
|
-
Requires-Dist: ipython; extra == "dev"
|
|
54
|
-
Requires-Dist: eth-hash[pycryptodome]; extra == "dev"
|
|
55
|
-
Requires-Dist: hypothesis>=4.43.0; extra == "dev"
|
|
56
|
-
Requires-Dist: pytest>=7.0.0; extra == "dev"
|
|
57
|
-
Requires-Dist: pytest-xdist>=2.4.0; extra == "dev"
|
|
58
|
-
Requires-Dist: types-setuptools; extra == "dev"
|
|
59
|
-
Requires-Dist: mypy==0.971; extra == "dev"
|
|
60
|
-
Requires-Dist: flake8==3.8.3; extra == "dev"
|
|
61
|
-
Requires-Dist: isort>=5.11.0; extra == "dev"
|
|
62
|
-
Requires-Dist: mypy==0.971; extra == "dev"
|
|
63
|
-
Requires-Dist: pydocstyle>=5.0.0; extra == "dev"
|
|
64
|
-
Requires-Dist: black>=23; extra == "dev"
|
|
65
|
-
Requires-Dist: types-setuptools; extra == "dev"
|
|
66
|
-
Requires-Dist: sphinx>=5.0.0; extra == "dev"
|
|
67
|
-
Requires-Dist: sphinx_rtd_theme>=1.0.0; extra == "dev"
|
|
68
|
-
Requires-Dist: towncrier<22,>=21; extra == "dev"
|
|
69
|
-
Dynamic: author
|
|
70
|
-
Dynamic: author-email
|
|
71
|
-
Dynamic: classifier
|
|
72
|
-
Dynamic: description
|
|
73
|
-
Dynamic: description-content-type
|
|
74
|
-
Dynamic: home-page
|
|
75
|
-
Dynamic: keywords
|
|
76
|
-
Dynamic: license
|
|
77
|
-
Dynamic: license-file
|
|
78
|
-
Dynamic: provides-extra
|
|
79
|
-
Dynamic: requires-dist
|
|
80
|
-
Dynamic: requires-python
|
|
81
|
-
Dynamic: summary
|
|
82
|
-
|
|
83
|
-
# Ethereum Utilities
|
|
84
|
-
|
|
85
|
-
[](https://discord.gg/GHryRvPB84)
|
|
86
|
-
[](https://circleci.com/gh/ethereum/eth-utils)
|
|
87
|
-
[](https://badge.fury.io/py/eth-utils)
|
|
88
|
-
[](https://pypi.python.org/pypi/eth-utils)
|
|
89
|
-
[](https://eth-utils.readthedocs.io/en/latest/?badge=latest)
|
|
90
|
-
|
|
91
|
-
Common utility functions for python code that interacts with Ethereum
|
|
92
|
-
|
|
93
|
-
Read more in the [documentation on ReadTheDocs](https://eth-utils.readthedocs.io/). [View the change log](https://eth-utils.readthedocs.io/en/latest/release_notes.html).
|
|
94
|
-
|
|
95
|
-
## Quickstart
|
|
96
|
-
|
|
97
|
-
```sh
|
|
98
|
-
python -m pip install eth-utils
|
|
99
|
-
```
|
|
100
|
-
|
|
101
|
-
## Developer Setup
|
|
102
|
-
|
|
103
|
-
If you would like to hack on eth-utils, please check out the [Snake Charmers
|
|
104
|
-
Tactical Manual](https://github.com/ethereum/snake-charmers-tactical-manual)
|
|
105
|
-
for information on how we do:
|
|
106
|
-
|
|
107
|
-
- Testing
|
|
108
|
-
- Pull Requests
|
|
109
|
-
- Code Style
|
|
110
|
-
- Documentation
|
|
111
|
-
|
|
112
|
-
### Development Environment Setup
|
|
113
|
-
|
|
114
|
-
You can set up your dev environment with:
|
|
115
|
-
|
|
116
|
-
```sh
|
|
117
|
-
git clone git@github.com:ethereum/eth-utils.git
|
|
118
|
-
cd eth-utils
|
|
119
|
-
virtualenv -p python3 venv
|
|
120
|
-
. venv/bin/activate
|
|
121
|
-
python -m pip install -e ".[dev]"
|
|
122
|
-
```
|
|
123
|
-
|
|
124
|
-
### Update Networks
|
|
125
|
-
|
|
126
|
-
The list of networks resides in the JSON file under eth_utils/__json/eth_networks.json.
|
|
127
|
-
This file is used to initialize Networks, which can be used to obtain network
|
|
128
|
-
information with a chain ID.
|
|
129
|
-
|
|
130
|
-
Run the script to update the JSON file with the response from the remote list.
|
|
131
|
-
|
|
132
|
-
```sh
|
|
133
|
-
python update_networks.py
|
|
134
|
-
```
|
|
135
|
-
|
|
136
|
-
If there are new networks they will appear in the JSON file. After checking the updates,
|
|
137
|
-
open a PR to make them available in a new release.
|
|
138
|
-
|
|
139
|
-
### Release setup
|
|
140
|
-
|
|
141
|
-
To release a new version:
|
|
142
|
-
|
|
143
|
-
```sh
|
|
144
|
-
make release bump=$$VERSION_PART_TO_BUMP$$
|
|
145
|
-
```
|
|
146
|
-
|
|
147
|
-
#### How to bumpversion
|
|
148
|
-
|
|
149
|
-
The version format for this repo is `{major}.{minor}.{patch}` for stable, and
|
|
150
|
-
`{major}.{minor}.{patch}-{stage}.{devnum}` for unstable (`stage` can be alpha or beta).
|
|
151
|
-
|
|
152
|
-
To issue the next version in line, specify which part to bump,
|
|
153
|
-
like `make release bump=minor` or `make release bump=devnum`. This is typically done from the
|
|
154
|
-
master branch, except when releasing a beta (in which case the beta is released from master,
|
|
155
|
-
and the previous stable branch is released from said branch).
|
|
156
|
-
|
|
157
|
-
If you are in a beta version, `make release bump=stage` will switch to a stable.
|
|
158
|
-
|
|
159
|
-
To issue an unstable version when the current version is stable, specify the
|
|
160
|
-
new version explicitly, like `make release bump="--new-version 4.0.0-alpha.1 devnum"`
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
bce0bfc64ce5e845ec4a__mypyc.cp311-win32.pyd,sha256=5DVq3J0JRHPFVT1o90NlZYTuKE6CQoF93YhKnxRvW5w,211456
|
|
2
|
-
faster_eth_utils/__init__.py,sha256=7-JE2bTwzJs6zQzFQ9wiqAlTxzuRkJJnrC6egZ8ZNY4,2554
|
|
3
|
-
faster_eth_utils/__main__.py,sha256=OmmnrrtBCAziqzKgUlEH0Y7TI-h-OUJhkDeu54-lPvA,80
|
|
4
|
-
faster_eth_utils/abi.cp311-win32.pyd,sha256=6YPrOcZUOkSDfdBbKlAJF2q3GtKdUqBEv80HL8DMOdo,9216
|
|
5
|
-
faster_eth_utils/abi.py,sha256=fF_f0GAMRAkfxNYMzYtM4AOzDvHTk9Ivqjw6bBBHtZA,2153
|
|
6
|
-
faster_eth_utils/address.cp311-win32.pyd,sha256=g3iJoYgfAsT0Qzd9O8pomfk8NBFXgoDsNkoZEYGEifA,9216
|
|
7
|
-
faster_eth_utils/address.py,sha256=a4R1_8-EgWFdIOWnYM4y5j6PiDWxK_Pp81sGwd-mtIc,4438
|
|
8
|
-
faster_eth_utils/applicators.py,sha256=ASc0dL3OFistkD6WwzEo4qCMpcheppehUQjcSoElweM,4501
|
|
9
|
-
faster_eth_utils/conversions.cp311-win32.pyd,sha256=lF7AMcKdxe0YRv6QyZbELh35Y-iMoH8NmkFzgucHLzg,9216
|
|
10
|
-
faster_eth_utils/conversions.py,sha256=olczSLcQ896pj1tqzbVJWxgG5h1xbtKSkf-JDDCQEwY,5366
|
|
11
|
-
faster_eth_utils/crypto.py,sha256=NLpWL1gE9YAkBrvc7jHIS_cJmGtNsqkbuMAJF-zko5Q,286
|
|
12
|
-
faster_eth_utils/currency.cp311-win32.pyd,sha256=zDDEBZj8mnmFL74g7y6lJucdhnrjgCb8IySEkEZ-DCk,9216
|
|
13
|
-
faster_eth_utils/currency.py,sha256=7bCCYBW4CC5O7kjs9y_vsXA0KO2oyG48NByXQXc8cio,3345
|
|
14
|
-
faster_eth_utils/debug.cp311-win32.pyd,sha256=o7rvstz86KSP9JPFpO0EvY_4dYrfEaCbdUQ48u7S9xk,9216
|
|
15
|
-
faster_eth_utils/debug.py,sha256=qZWzr9t7AZTvj8BgLJHtBcahrEkRc_YtMdPc0Gc6v8w,525
|
|
16
|
-
faster_eth_utils/decorators.cp311-win32.pyd,sha256=Fb4y9zIbDe03g4BGJ_HTU3TQ9OWPaDjldyINmIr6bfE,9216
|
|
17
|
-
faster_eth_utils/decorators.py,sha256=lfqnxx4HTLB2qsNAfWsNBpdI-nPmNezzMXZor0LXjis,2103
|
|
18
|
-
faster_eth_utils/encoding.cp311-win32.pyd,sha256=Dp_5qW58BJLluB5qalscQSErTDHBOkZ7k7F0flGuE3g,9216
|
|
19
|
-
faster_eth_utils/encoding.py,sha256=8_mWHVwdNL4Y1R-7N6q-N9R3N-yKtZ0arHaq8CuuCMM,205
|
|
20
|
-
faster_eth_utils/exceptions.cp311-win32.pyd,sha256=w4N5_0sUfg6Ey18z_ViREZK5aAwpZoeoCl69c21v4sc,9216
|
|
21
|
-
faster_eth_utils/exceptions.py,sha256=SsZE_GrBRI1xWN1L7eHHq5D6Ok6nbpu7Y4uAdXbmjHA,126
|
|
22
|
-
faster_eth_utils/functional.py,sha256=9Ukf6-xW-co2LMGLTIKGp-7l3mFkcZXWSmOdHFFQAnw,2164
|
|
23
|
-
faster_eth_utils/hexadecimal.cp311-win32.pyd,sha256=e1h8OdCMjKBeiZCexlMmLbkbkM5op5Tuo45Q4zX3LjE,9216
|
|
24
|
-
faster_eth_utils/hexadecimal.py,sha256=C0VjXxC2LrbpsXnI65hqvqLMVhpWKxYrdEECC7KBsis,1915
|
|
25
|
-
faster_eth_utils/humanize.cp311-win32.pyd,sha256=oRdKcpmCOEd7Qa5ALDmQmXh75VWXkm36ElAjegjX-zI,9216
|
|
26
|
-
faster_eth_utils/humanize.py,sha256=v4-URiJuup_VsRTmzTtrE4_Uxhggaj7D8wSHW2zdX2U,4407
|
|
27
|
-
faster_eth_utils/logging.py,sha256=A7w9SggOOEoeySNiJlLzjD-4Gj2s48mdQI0h-0afw_A,5347
|
|
28
|
-
faster_eth_utils/module_loading.cp311-win32.pyd,sha256=GBItRAdVIg5Qg9BItotGc2X-RqRqhH-I0bq77UGdk7M,9216
|
|
29
|
-
faster_eth_utils/module_loading.py,sha256=K4kYZqBjXZBLW6DGEbRFLqO3YEq9w7HeAmd_QxlI9zg,897
|
|
30
|
-
faster_eth_utils/network.py,sha256=NJ8CQPIMe-s5XKjx0jaxretPsp1h5UNv-DZenofPMoo,2293
|
|
31
|
-
faster_eth_utils/numeric.py,sha256=4rhFsOepOwwe-Gg89Nqx5GO8UDUM21a5NN159nDKVY4,1198
|
|
32
|
-
faster_eth_utils/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
33
|
-
faster_eth_utils/toolz.py,sha256=8jeS5w8QRI0vqhNcHB_juSrt01OiUugPTC97QfSVGT0,2771
|
|
34
|
-
faster_eth_utils/types.cp311-win32.pyd,sha256=lhhVWrs1l45BB4IQyhYG4lLAUlAjPh5Aa8zMsDNqfwk,9216
|
|
35
|
-
faster_eth_utils/types.py,sha256=fJYc2M8ny2UoY1cWSmh_uACuKPHxm0uv2yeqcWE84UU,1117
|
|
36
|
-
faster_eth_utils/units.cp311-win32.pyd,sha256=XHc2OE3sinRCc771I98BvllmOjgQyDwA6GnQfV2exF4,9216
|
|
37
|
-
faster_eth_utils/units.py,sha256=QQyNHx2umgN5LtOmptc_2-XKf3A-5YfVcTwaEcVrev8,1788
|
|
38
|
-
faster_eth_utils/curried/__init__.py,sha256=Ug8A1BWOGR7Wh10-J35bprFeXEMko6YxMalWfp28YOU,6834
|
|
39
|
-
faster_eth_utils/typing/__init__.py,sha256=mCjbC5-GULGyLCr-LHccbW_aKPkzN2w1ejW3EBfy6mU,343
|
|
40
|
-
faster_eth_utils/typing/misc.py,sha256=hLuomYVUzwjFRXKDYYTD_HelVB0sG3xyCXtBO2mTCcI,193
|
|
41
|
-
faster_eth_utils-2.3.1.dist-info/licenses/LICENSE,sha256=34ZCgZnJqSGiuXWhbMrh4cweuMimoHNNMotnOu7wWc0,1116
|
|
42
|
-
faster_eth_utils-2.3.1.dist-info/METADATA,sha256=XffKaF7ax_J2X4OYeYwdfhFFNyLw99omvPdB5OuKHAs,6223
|
|
43
|
-
faster_eth_utils-2.3.1.dist-info/WHEEL,sha256=Ri8zddKrjGdgjlj1OpSsvpDnvHfnQhMQWi3E_v2pqng,97
|
|
44
|
-
faster_eth_utils-2.3.1.dist-info/top_level.txt,sha256=S_L8kl6dn2pcMugOg8hAVuhGnjjvDtXZJ1XwOxuvRbw,55
|
|
45
|
-
faster_eth_utils-2.3.1.dist-info/RECORD,,
|
|
File without changes
|