faster-hexbytes 1.3.3__tar.gz → 1.3.5__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.
- {faster_hexbytes-1.3.3 → faster_hexbytes-1.3.5}/PKG-INFO +49 -4
- {faster_hexbytes-1.3.3 → faster_hexbytes-1.3.5}/faster_hexbytes/main.py +1 -3
- {faster_hexbytes-1.3.3 → faster_hexbytes-1.3.5}/faster_hexbytes.egg-info/PKG-INFO +50 -5
- {faster_hexbytes-1.3.3 → faster_hexbytes-1.3.5}/faster_hexbytes.egg-info/requires.txt +1 -1
- {faster_hexbytes-1.3.3 → faster_hexbytes-1.3.5}/pyproject.toml +2 -2
- {faster_hexbytes-1.3.3 → faster_hexbytes-1.3.5}/setup.py +2 -3
- faster_hexbytes-1.3.5/tests/core/test_import_and_version.py +20 -0
- faster_hexbytes-1.3.3/tests/core/test_import_and_version.py +0 -4
- {faster_hexbytes-1.3.3 → faster_hexbytes-1.3.5}/LICENSE +0 -0
- {faster_hexbytes-1.3.3 → faster_hexbytes-1.3.5}/MANIFEST.in +0 -0
- {faster_hexbytes-1.3.3 → faster_hexbytes-1.3.5}/README.md +0 -0
- {faster_hexbytes-1.3.3 → faster_hexbytes-1.3.5}/faster_hexbytes/__init__.py +0 -0
- {faster_hexbytes-1.3.3 → faster_hexbytes-1.3.5}/faster_hexbytes/_utils.py +0 -0
- {faster_hexbytes-1.3.3 → faster_hexbytes-1.3.5}/faster_hexbytes/py.typed +0 -0
- {faster_hexbytes-1.3.3 → faster_hexbytes-1.3.5}/faster_hexbytes.egg-info/SOURCES.txt +0 -0
- {faster_hexbytes-1.3.3 → faster_hexbytes-1.3.5}/faster_hexbytes.egg-info/dependency_links.txt +0 -0
- {faster_hexbytes-1.3.3 → faster_hexbytes-1.3.5}/faster_hexbytes.egg-info/not-zip-safe +0 -0
- {faster_hexbytes-1.3.3 → faster_hexbytes-1.3.5}/faster_hexbytes.egg-info/top_level.txt +0 -0
- {faster_hexbytes-1.3.3 → faster_hexbytes-1.3.5}/scripts/benchmark/compare_benchmark_results.py +0 -0
- {faster_hexbytes-1.3.3 → faster_hexbytes-1.3.5}/scripts/benchmark/generate_benchmark_markdown.py +0 -0
- {faster_hexbytes-1.3.3 → faster_hexbytes-1.3.5}/scripts/benchmark/parse_benchmark_output.py +0 -0
- {faster_hexbytes-1.3.3 → faster_hexbytes-1.3.5}/scripts/release/test_package.py +0 -0
- {faster_hexbytes-1.3.3 → faster_hexbytes-1.3.5}/setup.cfg +0 -0
- {faster_hexbytes-1.3.3 → faster_hexbytes-1.3.5}/tests/core/test_hexbytes.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: faster_hexbytes
|
|
3
|
-
Version: 1.3.
|
|
3
|
+
Version: 1.3.5
|
|
4
4
|
Summary: A faster fork of hexbytes: Python `bytes` subclass that decodes hex, with a readable console output. Implemented in C.
|
|
5
5
|
Home-page: https://github.com/BobTheBuidler/faster-hexbytes
|
|
6
6
|
Author: The Ethereum Foundation
|
|
@@ -20,7 +20,6 @@ Classifier: Intended Audience :: Developers
|
|
|
20
20
|
Classifier: License :: OSI Approved :: MIT License
|
|
21
21
|
Classifier: Natural Language :: English
|
|
22
22
|
Classifier: Programming Language :: Python :: 3
|
|
23
|
-
Classifier: Programming Language :: Python :: 3.8
|
|
24
23
|
Classifier: Programming Language :: Python :: 3.9
|
|
25
24
|
Classifier: Programming Language :: Python :: 3.10
|
|
26
25
|
Classifier: Programming Language :: Python :: 3.11
|
|
@@ -29,12 +28,58 @@ Classifier: Programming Language :: Python :: 3.13
|
|
|
29
28
|
Classifier: Programming Language :: Python :: 3.14
|
|
30
29
|
Requires-Python: >=3.9, <4
|
|
31
30
|
Description-Content-Type: text/markdown
|
|
31
|
+
License-File: LICENSE
|
|
32
|
+
Requires-Dist: hexbytes==1.3.1
|
|
33
|
+
Requires-Dist: mypy_extensions<2,>=0.4.2
|
|
34
|
+
Requires-Dist: typing-extensions<5,>=4.0.0
|
|
32
35
|
Provides-Extra: dev
|
|
36
|
+
Requires-Dist: build>=0.9.0; extra == "dev"
|
|
37
|
+
Requires-Dist: bump_my_version>=0.19.0; extra == "dev"
|
|
38
|
+
Requires-Dist: ipython; extra == "dev"
|
|
39
|
+
Requires-Dist: mypy==1.19.1; extra == "dev"
|
|
40
|
+
Requires-Dist: pre-commit>=3.4.0; extra == "dev"
|
|
41
|
+
Requires-Dist: tox>=4.0.0; extra == "dev"
|
|
42
|
+
Requires-Dist: twine; extra == "dev"
|
|
43
|
+
Requires-Dist: wheel; extra == "dev"
|
|
44
|
+
Requires-Dist: sphinx>=6.0.0; extra == "dev"
|
|
45
|
+
Requires-Dist: sphinx-autobuild>=2021.3.14; extra == "dev"
|
|
46
|
+
Requires-Dist: sphinx_rtd_theme>=1.0.0; extra == "dev"
|
|
47
|
+
Requires-Dist: towncrier<26,>=25; extra == "dev"
|
|
48
|
+
Requires-Dist: eth_utils>=2.0.0; extra == "dev"
|
|
49
|
+
Requires-Dist: hypothesis>=3.44.24; extra == "dev"
|
|
50
|
+
Requires-Dist: pytest>=7.0.0; extra == "dev"
|
|
51
|
+
Requires-Dist: pytest-xdist>=2.4.0; extra == "dev"
|
|
33
52
|
Provides-Extra: docs
|
|
53
|
+
Requires-Dist: sphinx>=6.0.0; extra == "docs"
|
|
54
|
+
Requires-Dist: sphinx-autobuild>=2021.3.14; extra == "docs"
|
|
55
|
+
Requires-Dist: sphinx_rtd_theme>=1.0.0; extra == "docs"
|
|
56
|
+
Requires-Dist: towncrier<26,>=25; extra == "docs"
|
|
34
57
|
Provides-Extra: test
|
|
58
|
+
Requires-Dist: eth_utils>=2.0.0; extra == "test"
|
|
59
|
+
Requires-Dist: hypothesis>=3.44.24; extra == "test"
|
|
60
|
+
Requires-Dist: pytest>=7.0.0; extra == "test"
|
|
61
|
+
Requires-Dist: pytest-xdist>=2.4.0; extra == "test"
|
|
35
62
|
Provides-Extra: benchmark
|
|
63
|
+
Requires-Dist: pytest-benchmark; extra == "benchmark"
|
|
64
|
+
Requires-Dist: pytest-codspeed<4.3,>=4.2; extra == "benchmark"
|
|
65
|
+
Requires-Dist: eth-typing; extra == "benchmark"
|
|
36
66
|
Provides-Extra: codspeed
|
|
37
|
-
|
|
67
|
+
Requires-Dist: pytest-codspeed<4.3,>=4.2; extra == "codspeed"
|
|
68
|
+
Requires-Dist: eth-typing; extra == "codspeed"
|
|
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: project-url
|
|
79
|
+
Dynamic: provides-extra
|
|
80
|
+
Dynamic: requires-dist
|
|
81
|
+
Dynamic: requires-python
|
|
82
|
+
Dynamic: summary
|
|
38
83
|
|
|
39
84
|
### I forked hexbytes and compiled it to C. It does the same stuff, now faster
|
|
40
85
|
|
|
@@ -2,8 +2,6 @@ from typing import (
|
|
|
2
2
|
TYPE_CHECKING,
|
|
3
3
|
Callable,
|
|
4
4
|
Final,
|
|
5
|
-
Tuple,
|
|
6
|
-
Type,
|
|
7
5
|
Union,
|
|
8
6
|
overload,
|
|
9
7
|
)
|
|
@@ -81,7 +79,7 @@ class HexBytes(hexbytes.HexBytes):
|
|
|
81
79
|
|
|
82
80
|
def __reduce__(
|
|
83
81
|
self,
|
|
84
|
-
) ->
|
|
82
|
+
) -> tuple[Callable[..., bytes], tuple[type["HexBytes"], bytes]]:
|
|
85
83
|
"""
|
|
86
84
|
An optimized ``__reduce__`` that bypasses the input validation in
|
|
87
85
|
``HexBytes.__new__`` since an existing HexBytes instance has already been
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
2
|
-
Name:
|
|
3
|
-
Version: 1.3.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: faster_hexbytes
|
|
3
|
+
Version: 1.3.5
|
|
4
4
|
Summary: A faster fork of hexbytes: Python `bytes` subclass that decodes hex, with a readable console output. Implemented in C.
|
|
5
5
|
Home-page: https://github.com/BobTheBuidler/faster-hexbytes
|
|
6
6
|
Author: The Ethereum Foundation
|
|
@@ -20,7 +20,6 @@ Classifier: Intended Audience :: Developers
|
|
|
20
20
|
Classifier: License :: OSI Approved :: MIT License
|
|
21
21
|
Classifier: Natural Language :: English
|
|
22
22
|
Classifier: Programming Language :: Python :: 3
|
|
23
|
-
Classifier: Programming Language :: Python :: 3.8
|
|
24
23
|
Classifier: Programming Language :: Python :: 3.9
|
|
25
24
|
Classifier: Programming Language :: Python :: 3.10
|
|
26
25
|
Classifier: Programming Language :: Python :: 3.11
|
|
@@ -29,12 +28,58 @@ Classifier: Programming Language :: Python :: 3.13
|
|
|
29
28
|
Classifier: Programming Language :: Python :: 3.14
|
|
30
29
|
Requires-Python: >=3.9, <4
|
|
31
30
|
Description-Content-Type: text/markdown
|
|
31
|
+
License-File: LICENSE
|
|
32
|
+
Requires-Dist: hexbytes==1.3.1
|
|
33
|
+
Requires-Dist: mypy_extensions<2,>=0.4.2
|
|
34
|
+
Requires-Dist: typing-extensions<5,>=4.0.0
|
|
32
35
|
Provides-Extra: dev
|
|
36
|
+
Requires-Dist: build>=0.9.0; extra == "dev"
|
|
37
|
+
Requires-Dist: bump_my_version>=0.19.0; extra == "dev"
|
|
38
|
+
Requires-Dist: ipython; extra == "dev"
|
|
39
|
+
Requires-Dist: mypy==1.19.1; extra == "dev"
|
|
40
|
+
Requires-Dist: pre-commit>=3.4.0; extra == "dev"
|
|
41
|
+
Requires-Dist: tox>=4.0.0; extra == "dev"
|
|
42
|
+
Requires-Dist: twine; extra == "dev"
|
|
43
|
+
Requires-Dist: wheel; extra == "dev"
|
|
44
|
+
Requires-Dist: sphinx>=6.0.0; extra == "dev"
|
|
45
|
+
Requires-Dist: sphinx-autobuild>=2021.3.14; extra == "dev"
|
|
46
|
+
Requires-Dist: sphinx_rtd_theme>=1.0.0; extra == "dev"
|
|
47
|
+
Requires-Dist: towncrier<26,>=25; extra == "dev"
|
|
48
|
+
Requires-Dist: eth_utils>=2.0.0; extra == "dev"
|
|
49
|
+
Requires-Dist: hypothesis>=3.44.24; extra == "dev"
|
|
50
|
+
Requires-Dist: pytest>=7.0.0; extra == "dev"
|
|
51
|
+
Requires-Dist: pytest-xdist>=2.4.0; extra == "dev"
|
|
33
52
|
Provides-Extra: docs
|
|
53
|
+
Requires-Dist: sphinx>=6.0.0; extra == "docs"
|
|
54
|
+
Requires-Dist: sphinx-autobuild>=2021.3.14; extra == "docs"
|
|
55
|
+
Requires-Dist: sphinx_rtd_theme>=1.0.0; extra == "docs"
|
|
56
|
+
Requires-Dist: towncrier<26,>=25; extra == "docs"
|
|
34
57
|
Provides-Extra: test
|
|
58
|
+
Requires-Dist: eth_utils>=2.0.0; extra == "test"
|
|
59
|
+
Requires-Dist: hypothesis>=3.44.24; extra == "test"
|
|
60
|
+
Requires-Dist: pytest>=7.0.0; extra == "test"
|
|
61
|
+
Requires-Dist: pytest-xdist>=2.4.0; extra == "test"
|
|
35
62
|
Provides-Extra: benchmark
|
|
63
|
+
Requires-Dist: pytest-benchmark; extra == "benchmark"
|
|
64
|
+
Requires-Dist: pytest-codspeed<4.3,>=4.2; extra == "benchmark"
|
|
65
|
+
Requires-Dist: eth-typing; extra == "benchmark"
|
|
36
66
|
Provides-Extra: codspeed
|
|
37
|
-
|
|
67
|
+
Requires-Dist: pytest-codspeed<4.3,>=4.2; extra == "codspeed"
|
|
68
|
+
Requires-Dist: eth-typing; extra == "codspeed"
|
|
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: project-url
|
|
79
|
+
Dynamic: provides-extra
|
|
80
|
+
Dynamic: requires-dist
|
|
81
|
+
Dynamic: requires-python
|
|
82
|
+
Dynamic: summary
|
|
38
83
|
|
|
39
84
|
### I forked hexbytes and compiled it to C. It does the same stuff, now faster
|
|
40
85
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
[build-system]
|
|
2
|
-
requires = ["setuptools", "wheel", "mypy[mypyc]==1.
|
|
2
|
+
requires = ["setuptools", "wheel", "mypy[mypyc]==1.19.1", "hexbytes==1.3.1"]
|
|
3
3
|
build-backend = "setuptools.build_meta"
|
|
4
4
|
|
|
5
5
|
[tool.autoflake]
|
|
@@ -129,7 +129,7 @@ name = "Removals"
|
|
|
129
129
|
showcontent = true
|
|
130
130
|
|
|
131
131
|
[tool.bumpversion]
|
|
132
|
-
current_version = "1.3.
|
|
132
|
+
current_version = "1.3.5"
|
|
133
133
|
parse = """
|
|
134
134
|
(?P<major>\\d+)
|
|
135
135
|
\\.(?P<minor>\\d+)
|
|
@@ -7,7 +7,7 @@ from setuptools import (
|
|
|
7
7
|
from mypyc.build import mypycify
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
version = "1.3.
|
|
10
|
+
version = "1.3.5"
|
|
11
11
|
hexbytes_version = "1.3.1"
|
|
12
12
|
|
|
13
13
|
extras_require = {
|
|
@@ -15,7 +15,7 @@ extras_require = {
|
|
|
15
15
|
"build>=0.9.0",
|
|
16
16
|
"bump_my_version>=0.19.0",
|
|
17
17
|
"ipython",
|
|
18
|
-
"mypy==1.
|
|
18
|
+
"mypy==1.19.1",
|
|
19
19
|
"pre-commit>=3.4.0",
|
|
20
20
|
"tox>=4.0.0",
|
|
21
21
|
"twine",
|
|
@@ -119,7 +119,6 @@ setup(
|
|
|
119
119
|
"License :: OSI Approved :: MIT License",
|
|
120
120
|
"Natural Language :: English",
|
|
121
121
|
"Programming Language :: Python :: 3",
|
|
122
|
-
"Programming Language :: Python :: 3.8",
|
|
123
122
|
"Programming Language :: Python :: 3.9",
|
|
124
123
|
"Programming Language :: Python :: 3.10",
|
|
125
124
|
"Programming Language :: Python :: 3.11",
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
def test_import_and_version():
|
|
2
|
+
import faster_hexbytes
|
|
3
|
+
|
|
4
|
+
assert isinstance(faster_hexbytes.__version__, str)
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
def test_compiled_extension_loaded():
|
|
8
|
+
import importlib.machinery
|
|
9
|
+
import sys
|
|
10
|
+
|
|
11
|
+
import faster_hexbytes.main as main
|
|
12
|
+
|
|
13
|
+
module_path = main.__file__
|
|
14
|
+
assert module_path is not None
|
|
15
|
+
assert any(
|
|
16
|
+
module_path.endswith(suffix)
|
|
17
|
+
for suffix in importlib.machinery.EXTENSION_SUFFIXES
|
|
18
|
+
), f"Expected compiled extension module, got {module_path!r}"
|
|
19
|
+
|
|
20
|
+
assert "faster_hexbytes__mypyc" in sys.modules
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{faster_hexbytes-1.3.3 → faster_hexbytes-1.3.5}/faster_hexbytes.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{faster_hexbytes-1.3.3 → faster_hexbytes-1.3.5}/scripts/benchmark/compare_benchmark_results.py
RENAMED
|
File without changes
|
{faster_hexbytes-1.3.3 → faster_hexbytes-1.3.5}/scripts/benchmark/generate_benchmark_markdown.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|