faster-hexbytes 1.3.2__tar.gz → 1.3.4__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 (27) hide show
  1. faster_hexbytes-1.3.4/PKG-INFO +121 -0
  2. faster_hexbytes-1.3.4/README.md +37 -0
  3. faster_hexbytes-1.3.4/faster_hexbytes.egg-info/PKG-INFO +121 -0
  4. {faster_hexbytes-1.3.2 → faster_hexbytes-1.3.4}/faster_hexbytes.egg-info/requires.txt +13 -3
  5. faster_hexbytes-1.3.4/faster_hexbytes.egg-info/top_level.txt +1 -0
  6. {faster_hexbytes-1.3.2 → faster_hexbytes-1.3.4}/pyproject.toml +2 -2
  7. {faster_hexbytes-1.3.2 → faster_hexbytes-1.3.4}/setup.py +40 -8
  8. faster_hexbytes-1.3.2/PKG-INFO +0 -47
  9. faster_hexbytes-1.3.2/README.md +0 -19
  10. faster_hexbytes-1.3.2/faster_hexbytes.egg-info/PKG-INFO +0 -47
  11. faster_hexbytes-1.3.2/faster_hexbytes.egg-info/top_level.txt +0 -2
  12. {faster_hexbytes-1.3.2 → faster_hexbytes-1.3.4}/LICENSE +0 -0
  13. {faster_hexbytes-1.3.2 → faster_hexbytes-1.3.4}/MANIFEST.in +0 -0
  14. {faster_hexbytes-1.3.2 → faster_hexbytes-1.3.4}/faster_hexbytes/__init__.py +0 -0
  15. {faster_hexbytes-1.3.2 → faster_hexbytes-1.3.4}/faster_hexbytes/_utils.py +0 -0
  16. {faster_hexbytes-1.3.2 → faster_hexbytes-1.3.4}/faster_hexbytes/main.py +0 -0
  17. {faster_hexbytes-1.3.2 → faster_hexbytes-1.3.4}/faster_hexbytes/py.typed +0 -0
  18. {faster_hexbytes-1.3.2 → faster_hexbytes-1.3.4}/faster_hexbytes.egg-info/SOURCES.txt +0 -0
  19. {faster_hexbytes-1.3.2 → faster_hexbytes-1.3.4}/faster_hexbytes.egg-info/dependency_links.txt +0 -0
  20. {faster_hexbytes-1.3.2 → faster_hexbytes-1.3.4}/faster_hexbytes.egg-info/not-zip-safe +0 -0
  21. {faster_hexbytes-1.3.2 → faster_hexbytes-1.3.4}/scripts/benchmark/compare_benchmark_results.py +0 -0
  22. {faster_hexbytes-1.3.2 → faster_hexbytes-1.3.4}/scripts/benchmark/generate_benchmark_markdown.py +0 -0
  23. {faster_hexbytes-1.3.2 → faster_hexbytes-1.3.4}/scripts/benchmark/parse_benchmark_output.py +0 -0
  24. {faster_hexbytes-1.3.2 → faster_hexbytes-1.3.4}/scripts/release/test_package.py +0 -0
  25. {faster_hexbytes-1.3.2 → faster_hexbytes-1.3.4}/setup.cfg +0 -0
  26. {faster_hexbytes-1.3.2 → faster_hexbytes-1.3.4}/tests/core/test_hexbytes.py +0 -0
  27. {faster_hexbytes-1.3.2 → faster_hexbytes-1.3.4}/tests/core/test_import_and_version.py +0 -0
@@ -0,0 +1,121 @@
1
+ Metadata-Version: 2.4
2
+ Name: faster_hexbytes
3
+ Version: 1.3.4
4
+ Summary: A faster fork of hexbytes: Python `bytes` subclass that decodes hex, with a readable console output. Implemented in C.
5
+ Home-page: https://github.com/BobTheBuidler/faster-hexbytes
6
+ Author: The Ethereum Foundation
7
+ Author-email: snakecharmers@ethereum.org
8
+ License: MIT
9
+ Project-URL: Documentation, https://hexbytes.readthedocs.io/en/stable/
10
+ Project-URL: Release Notes, https://github.com/BobTheBuidler/faster-hexbytes/releases
11
+ Project-URL: Issues, https://github.com/BobTheBuidler/faster-hexbytes/issues
12
+ Project-URL: Source - Precompiled (.py), https://github.com/BobTheBuidler/faster-hexbytes/tree/master/faster_eth_utils
13
+ Project-URL: Source - Compiled (.c), https://github.com/BobTheBuidler/faster-hexbytes/tree/master/build
14
+ Project-URL: Benchmarks, https://github.com/BobTheBuidler/faster-hexbytes/tree/master/benchmarks
15
+ Project-URL: Benchmarks - Results, https://github.com/BobTheBuidler/faster-hexbytes/tree/master/benchmarks/results
16
+ Project-URL: Original, https://github.com/ethereum/hexbytes
17
+ Keywords: ethereum
18
+ Classifier: Development Status :: 5 - Production/Stable
19
+ Classifier: Intended Audience :: Developers
20
+ Classifier: License :: OSI Approved :: MIT License
21
+ Classifier: Natural Language :: English
22
+ Classifier: Programming Language :: Python :: 3
23
+ Classifier: Programming Language :: Python :: 3.8
24
+ Classifier: Programming Language :: Python :: 3.9
25
+ Classifier: Programming Language :: Python :: 3.10
26
+ Classifier: Programming Language :: Python :: 3.11
27
+ Classifier: Programming Language :: Python :: 3.12
28
+ Classifier: Programming Language :: Python :: 3.13
29
+ Classifier: Programming Language :: Python :: 3.14
30
+ Requires-Python: >=3.9, <4
31
+ Description-Content-Type: text/markdown
32
+ License-File: LICENSE
33
+ Requires-Dist: hexbytes==1.3.1
34
+ Requires-Dist: mypy_extensions<2,>=0.4.2
35
+ Requires-Dist: typing-extensions<5,>=4.0.0
36
+ Provides-Extra: dev
37
+ Requires-Dist: build>=0.9.0; extra == "dev"
38
+ Requires-Dist: bump_my_version>=0.19.0; extra == "dev"
39
+ Requires-Dist: ipython; extra == "dev"
40
+ Requires-Dist: mypy==1.10.0; extra == "dev"
41
+ Requires-Dist: pre-commit>=3.4.0; extra == "dev"
42
+ Requires-Dist: tox>=4.0.0; extra == "dev"
43
+ Requires-Dist: twine; extra == "dev"
44
+ Requires-Dist: wheel; extra == "dev"
45
+ Requires-Dist: sphinx>=6.0.0; extra == "dev"
46
+ Requires-Dist: sphinx-autobuild>=2021.3.14; extra == "dev"
47
+ Requires-Dist: sphinx_rtd_theme>=1.0.0; extra == "dev"
48
+ Requires-Dist: towncrier<26,>=25; extra == "dev"
49
+ Requires-Dist: eth_utils>=2.0.0; extra == "dev"
50
+ Requires-Dist: hypothesis>=3.44.24; extra == "dev"
51
+ Requires-Dist: pytest>=7.0.0; extra == "dev"
52
+ Requires-Dist: pytest-xdist>=2.4.0; extra == "dev"
53
+ Provides-Extra: docs
54
+ Requires-Dist: sphinx>=6.0.0; extra == "docs"
55
+ Requires-Dist: sphinx-autobuild>=2021.3.14; extra == "docs"
56
+ Requires-Dist: sphinx_rtd_theme>=1.0.0; extra == "docs"
57
+ Requires-Dist: towncrier<26,>=25; extra == "docs"
58
+ Provides-Extra: test
59
+ Requires-Dist: eth_utils>=2.0.0; extra == "test"
60
+ Requires-Dist: hypothesis>=3.44.24; extra == "test"
61
+ Requires-Dist: pytest>=7.0.0; extra == "test"
62
+ Requires-Dist: pytest-xdist>=2.4.0; extra == "test"
63
+ Provides-Extra: benchmark
64
+ Requires-Dist: pytest-benchmark; extra == "benchmark"
65
+ Requires-Dist: pytest-codspeed<4.3,>=4.2; extra == "benchmark"
66
+ Requires-Dist: eth-typing; extra == "benchmark"
67
+ Provides-Extra: codspeed
68
+ Requires-Dist: pytest-codspeed<4.3,>=4.2; extra == "codspeed"
69
+ Requires-Dist: eth-typing; extra == "codspeed"
70
+ Dynamic: author
71
+ Dynamic: author-email
72
+ Dynamic: classifier
73
+ Dynamic: description
74
+ Dynamic: description-content-type
75
+ Dynamic: home-page
76
+ Dynamic: keywords
77
+ Dynamic: license
78
+ Dynamic: license-file
79
+ Dynamic: project-url
80
+ Dynamic: provides-extra
81
+ Dynamic: requires-dist
82
+ Dynamic: requires-python
83
+ Dynamic: summary
84
+
85
+ ### I forked hexbytes and compiled it to C. It does the same stuff, now faster
86
+
87
+ [![PyPI](https://img.shields.io/pypi/v/faster-hexbytes.svg?logo=Python&logoColor=white)](https://pypi.org/project/faster-hexbytes/)
88
+ [![Monthly Downloads](https://img.shields.io/pypi/dm/faster-hexbytes)](https://pypistats.org/packages/faster-hexbytes)
89
+ [![Codspeed.io Status](https://img.shields.io/endpoint?url=https://codspeed.io/badge.json)](https://codspeed.io/BobTheBuidler/faster-hexbytes)
90
+
91
+ ##### This fork will be kept up-to-date with [hexbytes](https://github.com/ethereum/hexbytes). I will pull updates as they are released and push new [faster-hexbytes](https://github.com/BobTheBuidler/faster-hexbytes) releases to [PyPI](https://pypi.org/project/faster-hexbytes/).
92
+
93
+ ##### `faster_hexbytes.HexBytes` inherits from `hexbytes.HexBytes`, so porting to `faster-hexbytes` does not require you to update any `isinstance` or `issubclass` checks. All such checks in your codebase, and in any dependencies, will continue to work as they did when originaly implemented.
94
+
95
+ ##### We benchmark `faster-hexbytes` against the original `hexbytes` for your convenience. [See results](https://github.com/BobTheBuidler/faster-hexbytes/tree/master/benchmarks/results).
96
+
97
+ ##### You can find the compiled C code and header files in the [build](https://github.com/BobTheBuidler/hexbytes/tree/master/build) directory.
98
+
99
+ ###### You may also be interested in: [faster-web3.py](https://github.com/BobTheBuidler/faster-hexbytes/), [faster-eth-abi](https://github.com/BobTheBuidler/faster-eth-abi/), and [faster-eth-utils](https://github.com/BobTheBuidler/faster-eth-utils/)
100
+
101
+ ##### The original hexbytes readme is below:
102
+
103
+ # HexBytes
104
+
105
+ [![Join the conversation on Discord](https://img.shields.io/discord/809793915578089484?color=blue&label=chat&logo=discord&logoColor=white)](https://discord.gg/GHryRvPB84)
106
+ [![Build Status](https://circleci.com/gh/ethereum/hexbytes.svg?style=shield)](https://circleci.com/gh/ethereum/hexbytes)
107
+ [![PyPI version](https://badge.fury.io/py/hexbytes.svg)](https://badge.fury.io/py/hexbytes)
108
+ [![Python versions](https://img.shields.io/pypi/pyversions/hexbytes.svg)](https://pypi.python.org/pypi/hexbytes)
109
+ [![Docs build](https://readthedocs.org/projects/hexbytes/badge/?version=latest)](https://hexbytes.readthedocs.io/en/latest/?badge=latest)
110
+
111
+ Python `bytes` subclass that decodes hex, with a readable console output
112
+
113
+ Read the [documentation](https://hexbytes.readthedocs.io/).
114
+
115
+ View the [change log](https://hexbytes.readthedocs.io/en/latest/release_notes.html).
116
+
117
+ ## Installation
118
+
119
+ ```sh
120
+ python -m pip install hexbytes
121
+ ```
@@ -0,0 +1,37 @@
1
+ ### I forked hexbytes and compiled it to C. It does the same stuff, now faster
2
+
3
+ [![PyPI](https://img.shields.io/pypi/v/faster-hexbytes.svg?logo=Python&logoColor=white)](https://pypi.org/project/faster-hexbytes/)
4
+ [![Monthly Downloads](https://img.shields.io/pypi/dm/faster-hexbytes)](https://pypistats.org/packages/faster-hexbytes)
5
+ [![Codspeed.io Status](https://img.shields.io/endpoint?url=https://codspeed.io/badge.json)](https://codspeed.io/BobTheBuidler/faster-hexbytes)
6
+
7
+ ##### This fork will be kept up-to-date with [hexbytes](https://github.com/ethereum/hexbytes). I will pull updates as they are released and push new [faster-hexbytes](https://github.com/BobTheBuidler/faster-hexbytes) releases to [PyPI](https://pypi.org/project/faster-hexbytes/).
8
+
9
+ ##### `faster_hexbytes.HexBytes` inherits from `hexbytes.HexBytes`, so porting to `faster-hexbytes` does not require you to update any `isinstance` or `issubclass` checks. All such checks in your codebase, and in any dependencies, will continue to work as they did when originaly implemented.
10
+
11
+ ##### We benchmark `faster-hexbytes` against the original `hexbytes` for your convenience. [See results](https://github.com/BobTheBuidler/faster-hexbytes/tree/master/benchmarks/results).
12
+
13
+ ##### You can find the compiled C code and header files in the [build](https://github.com/BobTheBuidler/hexbytes/tree/master/build) directory.
14
+
15
+ ###### You may also be interested in: [faster-web3.py](https://github.com/BobTheBuidler/faster-hexbytes/), [faster-eth-abi](https://github.com/BobTheBuidler/faster-eth-abi/), and [faster-eth-utils](https://github.com/BobTheBuidler/faster-eth-utils/)
16
+
17
+ ##### The original hexbytes readme is below:
18
+
19
+ # HexBytes
20
+
21
+ [![Join the conversation on Discord](https://img.shields.io/discord/809793915578089484?color=blue&label=chat&logo=discord&logoColor=white)](https://discord.gg/GHryRvPB84)
22
+ [![Build Status](https://circleci.com/gh/ethereum/hexbytes.svg?style=shield)](https://circleci.com/gh/ethereum/hexbytes)
23
+ [![PyPI version](https://badge.fury.io/py/hexbytes.svg)](https://badge.fury.io/py/hexbytes)
24
+ [![Python versions](https://img.shields.io/pypi/pyversions/hexbytes.svg)](https://pypi.python.org/pypi/hexbytes)
25
+ [![Docs build](https://readthedocs.org/projects/hexbytes/badge/?version=latest)](https://hexbytes.readthedocs.io/en/latest/?badge=latest)
26
+
27
+ Python `bytes` subclass that decodes hex, with a readable console output
28
+
29
+ Read the [documentation](https://hexbytes.readthedocs.io/).
30
+
31
+ View the [change log](https://hexbytes.readthedocs.io/en/latest/release_notes.html).
32
+
33
+ ## Installation
34
+
35
+ ```sh
36
+ python -m pip install hexbytes
37
+ ```
@@ -0,0 +1,121 @@
1
+ Metadata-Version: 2.4
2
+ Name: faster_hexbytes
3
+ Version: 1.3.4
4
+ Summary: A faster fork of hexbytes: Python `bytes` subclass that decodes hex, with a readable console output. Implemented in C.
5
+ Home-page: https://github.com/BobTheBuidler/faster-hexbytes
6
+ Author: The Ethereum Foundation
7
+ Author-email: snakecharmers@ethereum.org
8
+ License: MIT
9
+ Project-URL: Documentation, https://hexbytes.readthedocs.io/en/stable/
10
+ Project-URL: Release Notes, https://github.com/BobTheBuidler/faster-hexbytes/releases
11
+ Project-URL: Issues, https://github.com/BobTheBuidler/faster-hexbytes/issues
12
+ Project-URL: Source - Precompiled (.py), https://github.com/BobTheBuidler/faster-hexbytes/tree/master/faster_eth_utils
13
+ Project-URL: Source - Compiled (.c), https://github.com/BobTheBuidler/faster-hexbytes/tree/master/build
14
+ Project-URL: Benchmarks, https://github.com/BobTheBuidler/faster-hexbytes/tree/master/benchmarks
15
+ Project-URL: Benchmarks - Results, https://github.com/BobTheBuidler/faster-hexbytes/tree/master/benchmarks/results
16
+ Project-URL: Original, https://github.com/ethereum/hexbytes
17
+ Keywords: ethereum
18
+ Classifier: Development Status :: 5 - Production/Stable
19
+ Classifier: Intended Audience :: Developers
20
+ Classifier: License :: OSI Approved :: MIT License
21
+ Classifier: Natural Language :: English
22
+ Classifier: Programming Language :: Python :: 3
23
+ Classifier: Programming Language :: Python :: 3.8
24
+ Classifier: Programming Language :: Python :: 3.9
25
+ Classifier: Programming Language :: Python :: 3.10
26
+ Classifier: Programming Language :: Python :: 3.11
27
+ Classifier: Programming Language :: Python :: 3.12
28
+ Classifier: Programming Language :: Python :: 3.13
29
+ Classifier: Programming Language :: Python :: 3.14
30
+ Requires-Python: >=3.9, <4
31
+ Description-Content-Type: text/markdown
32
+ License-File: LICENSE
33
+ Requires-Dist: hexbytes==1.3.1
34
+ Requires-Dist: mypy_extensions<2,>=0.4.2
35
+ Requires-Dist: typing-extensions<5,>=4.0.0
36
+ Provides-Extra: dev
37
+ Requires-Dist: build>=0.9.0; extra == "dev"
38
+ Requires-Dist: bump_my_version>=0.19.0; extra == "dev"
39
+ Requires-Dist: ipython; extra == "dev"
40
+ Requires-Dist: mypy==1.10.0; extra == "dev"
41
+ Requires-Dist: pre-commit>=3.4.0; extra == "dev"
42
+ Requires-Dist: tox>=4.0.0; extra == "dev"
43
+ Requires-Dist: twine; extra == "dev"
44
+ Requires-Dist: wheel; extra == "dev"
45
+ Requires-Dist: sphinx>=6.0.0; extra == "dev"
46
+ Requires-Dist: sphinx-autobuild>=2021.3.14; extra == "dev"
47
+ Requires-Dist: sphinx_rtd_theme>=1.0.0; extra == "dev"
48
+ Requires-Dist: towncrier<26,>=25; extra == "dev"
49
+ Requires-Dist: eth_utils>=2.0.0; extra == "dev"
50
+ Requires-Dist: hypothesis>=3.44.24; extra == "dev"
51
+ Requires-Dist: pytest>=7.0.0; extra == "dev"
52
+ Requires-Dist: pytest-xdist>=2.4.0; extra == "dev"
53
+ Provides-Extra: docs
54
+ Requires-Dist: sphinx>=6.0.0; extra == "docs"
55
+ Requires-Dist: sphinx-autobuild>=2021.3.14; extra == "docs"
56
+ Requires-Dist: sphinx_rtd_theme>=1.0.0; extra == "docs"
57
+ Requires-Dist: towncrier<26,>=25; extra == "docs"
58
+ Provides-Extra: test
59
+ Requires-Dist: eth_utils>=2.0.0; extra == "test"
60
+ Requires-Dist: hypothesis>=3.44.24; extra == "test"
61
+ Requires-Dist: pytest>=7.0.0; extra == "test"
62
+ Requires-Dist: pytest-xdist>=2.4.0; extra == "test"
63
+ Provides-Extra: benchmark
64
+ Requires-Dist: pytest-benchmark; extra == "benchmark"
65
+ Requires-Dist: pytest-codspeed<4.3,>=4.2; extra == "benchmark"
66
+ Requires-Dist: eth-typing; extra == "benchmark"
67
+ Provides-Extra: codspeed
68
+ Requires-Dist: pytest-codspeed<4.3,>=4.2; extra == "codspeed"
69
+ Requires-Dist: eth-typing; extra == "codspeed"
70
+ Dynamic: author
71
+ Dynamic: author-email
72
+ Dynamic: classifier
73
+ Dynamic: description
74
+ Dynamic: description-content-type
75
+ Dynamic: home-page
76
+ Dynamic: keywords
77
+ Dynamic: license
78
+ Dynamic: license-file
79
+ Dynamic: project-url
80
+ Dynamic: provides-extra
81
+ Dynamic: requires-dist
82
+ Dynamic: requires-python
83
+ Dynamic: summary
84
+
85
+ ### I forked hexbytes and compiled it to C. It does the same stuff, now faster
86
+
87
+ [![PyPI](https://img.shields.io/pypi/v/faster-hexbytes.svg?logo=Python&logoColor=white)](https://pypi.org/project/faster-hexbytes/)
88
+ [![Monthly Downloads](https://img.shields.io/pypi/dm/faster-hexbytes)](https://pypistats.org/packages/faster-hexbytes)
89
+ [![Codspeed.io Status](https://img.shields.io/endpoint?url=https://codspeed.io/badge.json)](https://codspeed.io/BobTheBuidler/faster-hexbytes)
90
+
91
+ ##### This fork will be kept up-to-date with [hexbytes](https://github.com/ethereum/hexbytes). I will pull updates as they are released and push new [faster-hexbytes](https://github.com/BobTheBuidler/faster-hexbytes) releases to [PyPI](https://pypi.org/project/faster-hexbytes/).
92
+
93
+ ##### `faster_hexbytes.HexBytes` inherits from `hexbytes.HexBytes`, so porting to `faster-hexbytes` does not require you to update any `isinstance` or `issubclass` checks. All such checks in your codebase, and in any dependencies, will continue to work as they did when originaly implemented.
94
+
95
+ ##### We benchmark `faster-hexbytes` against the original `hexbytes` for your convenience. [See results](https://github.com/BobTheBuidler/faster-hexbytes/tree/master/benchmarks/results).
96
+
97
+ ##### You can find the compiled C code and header files in the [build](https://github.com/BobTheBuidler/hexbytes/tree/master/build) directory.
98
+
99
+ ###### You may also be interested in: [faster-web3.py](https://github.com/BobTheBuidler/faster-hexbytes/), [faster-eth-abi](https://github.com/BobTheBuidler/faster-eth-abi/), and [faster-eth-utils](https://github.com/BobTheBuidler/faster-eth-utils/)
100
+
101
+ ##### The original hexbytes readme is below:
102
+
103
+ # HexBytes
104
+
105
+ [![Join the conversation on Discord](https://img.shields.io/discord/809793915578089484?color=blue&label=chat&logo=discord&logoColor=white)](https://discord.gg/GHryRvPB84)
106
+ [![Build Status](https://circleci.com/gh/ethereum/hexbytes.svg?style=shield)](https://circleci.com/gh/ethereum/hexbytes)
107
+ [![PyPI version](https://badge.fury.io/py/hexbytes.svg)](https://badge.fury.io/py/hexbytes)
108
+ [![Python versions](https://img.shields.io/pypi/pyversions/hexbytes.svg)](https://pypi.python.org/pypi/hexbytes)
109
+ [![Docs build](https://readthedocs.org/projects/hexbytes/badge/?version=latest)](https://hexbytes.readthedocs.io/en/latest/?badge=latest)
110
+
111
+ Python `bytes` subclass that decodes hex, with a readable console output
112
+
113
+ Read the [documentation](https://hexbytes.readthedocs.io/).
114
+
115
+ View the [change log](https://hexbytes.readthedocs.io/en/latest/release_notes.html).
116
+
117
+ ## Installation
118
+
119
+ ```sh
120
+ python -m pip install hexbytes
121
+ ```
@@ -1,5 +1,15 @@
1
1
  hexbytes==1.3.1
2
- mypy_extensions
2
+ mypy_extensions<2,>=0.4.2
3
+ typing-extensions<5,>=4.0.0
4
+
5
+ [benchmark]
6
+ pytest-benchmark
7
+ pytest-codspeed<4.3,>=4.2
8
+ eth-typing
9
+
10
+ [codspeed]
11
+ pytest-codspeed<4.3,>=4.2
12
+ eth-typing
3
13
 
4
14
  [dev]
5
15
  build>=0.9.0
@@ -13,7 +23,7 @@ wheel
13
23
  sphinx>=6.0.0
14
24
  sphinx-autobuild>=2021.3.14
15
25
  sphinx_rtd_theme>=1.0.0
16
- towncrier<25,>=24
26
+ towncrier<26,>=25
17
27
  eth_utils>=2.0.0
18
28
  hypothesis>=3.44.24
19
29
  pytest>=7.0.0
@@ -23,7 +33,7 @@ pytest-xdist>=2.4.0
23
33
  sphinx>=6.0.0
24
34
  sphinx-autobuild>=2021.3.14
25
35
  sphinx_rtd_theme>=1.0.0
26
- towncrier<25,>=24
36
+ towncrier<26,>=25
27
37
 
28
38
  [test]
29
39
  eth_utils>=2.0.0
@@ -0,0 +1 @@
1
+ faster_hexbytes
@@ -1,5 +1,5 @@
1
1
  [build-system]
2
- requires = ["setuptools", "wheel", "mypy[mypyc]==1.18.2", "hexbytes==1.3.1"]
2
+ requires = ["setuptools", "wheel", "mypy[mypyc]==1.19.0", "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.1"
132
+ current_version = "1.3.4"
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.2"
10
+ version = "1.3.4"
11
11
  hexbytes_version = "1.3.1"
12
12
 
13
13
  extras_require = {
@@ -25,7 +25,7 @@ extras_require = {
25
25
  "sphinx>=6.0.0",
26
26
  "sphinx-autobuild>=2021.3.14",
27
27
  "sphinx_rtd_theme>=1.0.0",
28
- "towncrier>=24,<25",
28
+ "towncrier>=25,<26",
29
29
  ],
30
30
  "test": [
31
31
  "eth_utils>=2.0.0",
@@ -33,6 +33,15 @@ extras_require = {
33
33
  "pytest>=7.0.0",
34
34
  "pytest-xdist>=2.4.0",
35
35
  ],
36
+ "benchmark": [
37
+ "pytest-benchmark",
38
+ "pytest-codspeed>=4.2,<4.3",
39
+ "eth-typing",
40
+ ],
41
+ "codspeed": [
42
+ "pytest-codspeed>=4.2,<4.3",
43
+ "eth-typing",
44
+ ],
36
45
  }
37
46
 
38
47
  extras_require["dev"] = (
@@ -44,11 +53,20 @@ with open("./README.md") as readme:
44
53
  long_description = readme.read()
45
54
 
46
55
 
47
- if sys.version_info >= (3, 9):
48
- ext_modules = mypycify(["faster_hexbytes/", "--strict", "--pretty"])
49
- else:
50
- # we can't compile on python3.8 but we can still let the user install
56
+ # we can't compile on python3.8 but we can still let the user install
57
+ skip_mypyc = sys.version_info < (3, 9) or any(
58
+ cmd in sys.argv
59
+ for cmd in ("sdist", "egg_info", "--name", "--version", "--help", "--help-commands")
60
+ )
61
+
62
+ if skip_mypyc:
51
63
  ext_modules = []
64
+ else:
65
+ ext_modules = mypycify(
66
+ ["faster_hexbytes/", "--strict", "--pretty"],
67
+ group_name="faster_hexbytes",
68
+ strict_dunder_typing=True,
69
+ )
52
70
 
53
71
 
54
72
  setup(
@@ -60,9 +78,23 @@ setup(
60
78
  long_description_content_type="text/markdown",
61
79
  author="The Ethereum Foundation",
62
80
  author_email="snakecharmers@ethereum.org",
63
- url="https://github.com/ethereum/hexbytes",
81
+ url="https://github.com/BobTheBuidler/faster-hexbytes",
82
+ project_urls={
83
+ "Documentation": "https://hexbytes.readthedocs.io/en/stable/",
84
+ "Release Notes": "https://github.com/BobTheBuidler/faster-hexbytes/releases",
85
+ "Issues": "https://github.com/BobTheBuidler/faster-hexbytes/issues",
86
+ "Source - Precompiled (.py)": "https://github.com/BobTheBuidler/faster-hexbytes/tree/master/faster_eth_utils",
87
+ "Source - Compiled (.c)": "https://github.com/BobTheBuidler/faster-hexbytes/tree/master/build",
88
+ "Benchmarks": "https://github.com/BobTheBuidler/faster-hexbytes/tree/master/benchmarks",
89
+ "Benchmarks - Results": "https://github.com/BobTheBuidler/faster-hexbytes/tree/master/benchmarks/results",
90
+ "Original": "https://github.com/ethereum/hexbytes",
91
+ },
64
92
  include_package_data=True,
65
- install_requires=[f"hexbytes=={hexbytes_version}", "mypy_extensions"],
93
+ install_requires=[
94
+ f"hexbytes=={hexbytes_version}",
95
+ "mypy_extensions>=0.4.2,<2",
96
+ "typing-extensions>=4.0.0,<5",
97
+ ],
66
98
  python_requires=">=3.9, <4",
67
99
  extras_require=extras_require,
68
100
  py_modules=["faster_hexbytes"],
@@ -1,47 +0,0 @@
1
- Metadata-Version: 2.1
2
- Name: faster_hexbytes
3
- Version: 1.3.2
4
- Summary: A faster fork of hexbytes: Python `bytes` subclass that decodes hex, with a readable console output. Implemented in C.
5
- Home-page: https://github.com/ethereum/hexbytes
6
- Author: The Ethereum Foundation
7
- Author-email: snakecharmers@ethereum.org
8
- License: MIT
9
- Keywords: ethereum
10
- Classifier: Development Status :: 5 - Production/Stable
11
- Classifier: Intended Audience :: Developers
12
- Classifier: License :: OSI Approved :: MIT License
13
- Classifier: Natural Language :: English
14
- Classifier: Programming Language :: Python :: 3
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 :: 3.13
21
- Classifier: Programming Language :: Python :: 3.14
22
- Requires-Python: >=3.9, <4
23
- Description-Content-Type: text/markdown
24
- Provides-Extra: dev
25
- Provides-Extra: docs
26
- Provides-Extra: test
27
- License-File: LICENSE
28
-
29
- # HexBytes
30
-
31
- [![Join the conversation on Discord](https://img.shields.io/discord/809793915578089484?color=blue&label=chat&logo=discord&logoColor=white)](https://discord.gg/GHryRvPB84)
32
- [![Build Status](https://circleci.com/gh/ethereum/hexbytes.svg?style=shield)](https://circleci.com/gh/ethereum/hexbytes)
33
- [![PyPI version](https://badge.fury.io/py/hexbytes.svg)](https://badge.fury.io/py/hexbytes)
34
- [![Python versions](https://img.shields.io/pypi/pyversions/hexbytes.svg)](https://pypi.python.org/pypi/hexbytes)
35
- [![Docs build](https://readthedocs.org/projects/hexbytes/badge/?version=latest)](https://hexbytes.readthedocs.io/en/latest/?badge=latest)
36
-
37
- Python `bytes` subclass that decodes hex, with a readable console output
38
-
39
- Read the [documentation](https://hexbytes.readthedocs.io/).
40
-
41
- View the [change log](https://hexbytes.readthedocs.io/en/latest/release_notes.html).
42
-
43
- ## Installation
44
-
45
- ```sh
46
- python -m pip install hexbytes
47
- ```
@@ -1,19 +0,0 @@
1
- # HexBytes
2
-
3
- [![Join the conversation on Discord](https://img.shields.io/discord/809793915578089484?color=blue&label=chat&logo=discord&logoColor=white)](https://discord.gg/GHryRvPB84)
4
- [![Build Status](https://circleci.com/gh/ethereum/hexbytes.svg?style=shield)](https://circleci.com/gh/ethereum/hexbytes)
5
- [![PyPI version](https://badge.fury.io/py/hexbytes.svg)](https://badge.fury.io/py/hexbytes)
6
- [![Python versions](https://img.shields.io/pypi/pyversions/hexbytes.svg)](https://pypi.python.org/pypi/hexbytes)
7
- [![Docs build](https://readthedocs.org/projects/hexbytes/badge/?version=latest)](https://hexbytes.readthedocs.io/en/latest/?badge=latest)
8
-
9
- Python `bytes` subclass that decodes hex, with a readable console output
10
-
11
- Read the [documentation](https://hexbytes.readthedocs.io/).
12
-
13
- View the [change log](https://hexbytes.readthedocs.io/en/latest/release_notes.html).
14
-
15
- ## Installation
16
-
17
- ```sh
18
- python -m pip install hexbytes
19
- ```
@@ -1,47 +0,0 @@
1
- Metadata-Version: 2.1
2
- Name: faster-hexbytes
3
- Version: 1.3.2
4
- Summary: A faster fork of hexbytes: Python `bytes` subclass that decodes hex, with a readable console output. Implemented in C.
5
- Home-page: https://github.com/ethereum/hexbytes
6
- Author: The Ethereum Foundation
7
- Author-email: snakecharmers@ethereum.org
8
- License: MIT
9
- Keywords: ethereum
10
- Classifier: Development Status :: 5 - Production/Stable
11
- Classifier: Intended Audience :: Developers
12
- Classifier: License :: OSI Approved :: MIT License
13
- Classifier: Natural Language :: English
14
- Classifier: Programming Language :: Python :: 3
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 :: 3.13
21
- Classifier: Programming Language :: Python :: 3.14
22
- Requires-Python: >=3.9, <4
23
- Description-Content-Type: text/markdown
24
- Provides-Extra: dev
25
- Provides-Extra: docs
26
- Provides-Extra: test
27
- License-File: LICENSE
28
-
29
- # HexBytes
30
-
31
- [![Join the conversation on Discord](https://img.shields.io/discord/809793915578089484?color=blue&label=chat&logo=discord&logoColor=white)](https://discord.gg/GHryRvPB84)
32
- [![Build Status](https://circleci.com/gh/ethereum/hexbytes.svg?style=shield)](https://circleci.com/gh/ethereum/hexbytes)
33
- [![PyPI version](https://badge.fury.io/py/hexbytes.svg)](https://badge.fury.io/py/hexbytes)
34
- [![Python versions](https://img.shields.io/pypi/pyversions/hexbytes.svg)](https://pypi.python.org/pypi/hexbytes)
35
- [![Docs build](https://readthedocs.org/projects/hexbytes/badge/?version=latest)](https://hexbytes.readthedocs.io/en/latest/?badge=latest)
36
-
37
- Python `bytes` subclass that decodes hex, with a readable console output
38
-
39
- Read the [documentation](https://hexbytes.readthedocs.io/).
40
-
41
- View the [change log](https://hexbytes.readthedocs.io/en/latest/release_notes.html).
42
-
43
- ## Installation
44
-
45
- ```sh
46
- python -m pip install hexbytes
47
- ```
@@ -1,2 +0,0 @@
1
- 6a32f4913d613d6a7ddf__mypyc
2
- faster_hexbytes
File without changes