py-geth 5.1.0__py3-none-any.whl → 5.2.1__py3-none-any.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.
- geth/install.py +4 -0
- geth/types.py +1 -0
- geth/utils/validation.py +1 -0
- geth/wrapper.py +3 -0
- {py_geth-5.1.0.dist-info → py_geth-5.2.1.dist-info}/LICENSE +1 -1
- {py_geth-5.1.0.dist-info → py_geth-5.2.1.dist-info}/METADATA +22 -11
- {py_geth-5.1.0.dist-info → py_geth-5.2.1.dist-info}/RECORD +9 -9
- {py_geth-5.1.0.dist-info → py_geth-5.2.1.dist-info}/WHEEL +1 -1
- {py_geth-5.1.0.dist-info → py_geth-5.2.1.dist-info}/top_level.txt +0 -0
geth/install.py
CHANGED
@@ -46,6 +46,7 @@ V1_14_9 = "v1.14.9"
|
|
46
46
|
V1_14_10 = "v1.14.10"
|
47
47
|
V1_14_11 = "v1.14.11"
|
48
48
|
V1_14_12 = "v1.14.12"
|
49
|
+
V1_14_13 = "v1.14.13"
|
49
50
|
|
50
51
|
|
51
52
|
LINUX = "linux"
|
@@ -341,6 +342,7 @@ install_v1_14_9 = functools.partial(install_from_source_code_release, V1_14_9)
|
|
341
342
|
install_v1_14_10 = functools.partial(install_from_source_code_release, V1_14_10)
|
342
343
|
install_v1_14_11 = functools.partial(install_from_source_code_release, V1_14_11)
|
343
344
|
install_v1_14_12 = functools.partial(install_from_source_code_release, V1_14_12)
|
345
|
+
install_v1_14_13 = functools.partial(install_from_source_code_release, V1_14_13)
|
344
346
|
|
345
347
|
INSTALL_FUNCTIONS = {
|
346
348
|
LINUX: {
|
@@ -356,6 +358,7 @@ INSTALL_FUNCTIONS = {
|
|
356
358
|
V1_14_10: install_v1_14_10,
|
357
359
|
V1_14_11: install_v1_14_11,
|
358
360
|
V1_14_12: install_v1_14_12,
|
361
|
+
V1_14_13: install_v1_14_13,
|
359
362
|
},
|
360
363
|
OSX: {
|
361
364
|
V1_14_0: install_v1_14_0,
|
@@ -370,6 +373,7 @@ INSTALL_FUNCTIONS = {
|
|
370
373
|
V1_14_10: install_v1_14_10,
|
371
374
|
V1_14_11: install_v1_14_11,
|
372
375
|
V1_14_12: install_v1_14_12,
|
376
|
+
V1_14_13: install_v1_14_13,
|
373
377
|
},
|
374
378
|
}
|
375
379
|
|
geth/types.py
CHANGED
geth/utils/validation.py
CHANGED
@@ -26,6 +26,7 @@ class GethKwargs(BaseModel):
|
|
26
26
|
cache: str | None = None
|
27
27
|
data_dir: str | None = None
|
28
28
|
dev_mode: bool | None = False
|
29
|
+
dev_period: str | None = None
|
29
30
|
gcmode: Literal["full", "archive"] | None = None
|
30
31
|
geth_executable: str | None = None
|
31
32
|
ipc_disable: bool | None = None
|
geth/wrapper.py
CHANGED
@@ -153,6 +153,9 @@ def construct_popen_command(**geth_kwargs: Unpack[GethKwargsTypedDict]) -> list[
|
|
153
153
|
if gk.dev_mode:
|
154
154
|
builder.append("--dev")
|
155
155
|
|
156
|
+
if gk.dev_period is not None:
|
157
|
+
builder.extend(("--dev.period", gk.dev_period))
|
158
|
+
|
156
159
|
if gk.rpc_enabled:
|
157
160
|
builder.append("--http")
|
158
161
|
|
@@ -1,6 +1,6 @@
|
|
1
1
|
The MIT License (MIT)
|
2
2
|
|
3
|
-
Copyright (c) 2016-
|
3
|
+
Copyright (c) 2016-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
|
@@ -1,6 +1,6 @@
|
|
1
|
-
Metadata-Version: 2.
|
1
|
+
Metadata-Version: 2.2
|
2
2
|
Name: py-geth
|
3
|
-
Version: 5.1
|
3
|
+
Version: 5.2.1
|
4
4
|
Summary: py-geth: Run Go-Ethereum as a subprocess
|
5
5
|
Home-page: https://github.com/ethereum/py-geth
|
6
6
|
Author: The Ethereum Foundation
|
@@ -17,6 +17,7 @@ Classifier: Programming Language :: Python :: 3.9
|
|
17
17
|
Classifier: Programming Language :: Python :: 3.10
|
18
18
|
Classifier: Programming Language :: Python :: 3.11
|
19
19
|
Classifier: Programming Language :: Python :: 3.12
|
20
|
+
Classifier: Programming Language :: Python :: 3.13
|
20
21
|
Requires-Python: >=3.8, <4
|
21
22
|
Description-Content-Type: text/markdown
|
22
23
|
License-File: LICENSE
|
@@ -28,23 +29,35 @@ Requires-Dist: types-requests>=2.0.0
|
|
28
29
|
Requires-Dist: typing-extensions>=4.0.1
|
29
30
|
Provides-Extra: dev
|
30
31
|
Requires-Dist: build>=0.9.0; extra == "dev"
|
31
|
-
Requires-Dist:
|
32
|
+
Requires-Dist: bump_my_version>=0.19.0; extra == "dev"
|
32
33
|
Requires-Dist: ipython; extra == "dev"
|
33
34
|
Requires-Dist: mypy==1.10.0; extra == "dev"
|
34
35
|
Requires-Dist: pre-commit>=3.4.0; extra == "dev"
|
35
36
|
Requires-Dist: tox>=4.0.0; extra == "dev"
|
36
37
|
Requires-Dist: twine; extra == "dev"
|
37
38
|
Requires-Dist: wheel; extra == "dev"
|
38
|
-
Requires-Dist: towncrier<
|
39
|
+
Requires-Dist: towncrier<25,>=24; extra == "dev"
|
39
40
|
Requires-Dist: flaky>=3.2.0; extra == "dev"
|
40
41
|
Requires-Dist: pytest>=7.0.0; extra == "dev"
|
41
42
|
Requires-Dist: pytest-xdist>=2.4.0; extra == "dev"
|
42
43
|
Provides-Extra: docs
|
43
|
-
Requires-Dist: towncrier<
|
44
|
+
Requires-Dist: towncrier<25,>=24; extra == "docs"
|
44
45
|
Provides-Extra: test
|
45
46
|
Requires-Dist: flaky>=3.2.0; extra == "test"
|
46
47
|
Requires-Dist: pytest>=7.0.0; extra == "test"
|
47
48
|
Requires-Dist: pytest-xdist>=2.4.0; extra == "test"
|
49
|
+
Dynamic: author
|
50
|
+
Dynamic: author-email
|
51
|
+
Dynamic: classifier
|
52
|
+
Dynamic: description
|
53
|
+
Dynamic: description-content-type
|
54
|
+
Dynamic: home-page
|
55
|
+
Dynamic: keywords
|
56
|
+
Dynamic: license
|
57
|
+
Dynamic: provides-extra
|
58
|
+
Dynamic: requires-dist
|
59
|
+
Dynamic: requires-python
|
60
|
+
Dynamic: summary
|
48
61
|
|
49
62
|
# py-geth
|
50
63
|
|
@@ -63,8 +76,6 @@ This library requires the `geth` executable to be present.
|
|
63
76
|
|
64
77
|
## Installation
|
65
78
|
|
66
|
-
Installation
|
67
|
-
|
68
79
|
```bash
|
69
80
|
python -m pip install py-geth
|
70
81
|
```
|
@@ -166,19 +177,19 @@ the current list of supported versions.
|
|
166
177
|
Installation can be done via the command line:
|
167
178
|
|
168
179
|
```bash
|
169
|
-
$ python -m geth.install v1.14.
|
180
|
+
$ python -m geth.install v1.14.13
|
170
181
|
```
|
171
182
|
|
172
183
|
Or from python using the `install_geth` function.
|
173
184
|
|
174
185
|
```python
|
175
186
|
>>> from geth import install_geth
|
176
|
-
>>> install_geth('v1.14.
|
187
|
+
>>> install_geth('v1.14.13')
|
177
188
|
```
|
178
189
|
|
179
190
|
The installed binary can be found in the `$HOME/.py-geth` directory, under your
|
180
|
-
home directory. The `v1.14.
|
181
|
-
`$HOME/.py-geth/geth-v1.14.
|
191
|
+
home directory. The `v1.14.13` binary would be located at
|
192
|
+
`$HOME/.py-geth/geth-v1.14.13/bin/geth`.
|
182
193
|
|
183
194
|
## About `DevGethProcess`
|
184
195
|
|
@@ -4,14 +4,14 @@ geth/chain.py,sha256=VMbb1OMI8z-HRteYg7bDgDpf9-SyLYioy2OIYO7oW5s,3879
|
|
4
4
|
geth/default_blockchain_password,sha256=7ZYUjo1py5Wh_uA_WvoXQG8mPv2CiJ07tI2tOodTLi8,30
|
5
5
|
geth/exceptions.py,sha256=yLGBkLabY_W-43kW9iYPM3FaoR08JWgTWYW1RHukaeU,2643
|
6
6
|
geth/genesis.json,sha256=E6pcGhk0pz1ByhRvyqeVbNAteOB4U1jOj4KiHtR2tAM,901
|
7
|
-
geth/install.py,sha256=
|
7
|
+
geth/install.py,sha256=tMKxYX1ILTquKvhr8M3BHicfCt2ChnDq_iJamtkTaB4,11634
|
8
8
|
geth/main.py,sha256=jgWIs3o9BfHcqWfuq6l4JBjcdQzDy13-EJDP1c2ouhQ,1463
|
9
9
|
geth/mixins.py,sha256=cpls-_Z9WZdmYbjhOZL-y6F1xRYAvmfWRed2DODe6D8,5639
|
10
10
|
geth/process.py,sha256=SumVj-2Q7PQ-HZBaCcpN_PY9WkIqlRuy9hRo0VCpb2A,8864
|
11
11
|
geth/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
12
12
|
geth/reset.py,sha256=IlKfr5PyjVi0rHjoGUY5kbjtnR9ZAsfSb1Jgzh0dDo0,2639
|
13
|
-
geth/types.py,sha256=
|
14
|
-
geth/wrapper.py,sha256=
|
13
|
+
geth/types.py,sha256=9BesREN7IuJVM2BagzUfIZ0VjJTAcRFJgEF7NyLHugY,1481
|
14
|
+
geth/wrapper.py,sha256=ah15HNG42sgMwSu6fYu0ouZ4QCE9jyoaPuOji69OEio,7973
|
15
15
|
geth/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
16
16
|
geth/utils/encoding.py,sha256=YguGD7mEUN2eSMPkBREalKK1VQfOsLcj1WWJLR0HTxY,1618
|
17
17
|
geth/utils/filesystem.py,sha256=yg8m8n99-N0FA4NcNtu9V8mett2WTQPKHGjThrbk974,1320
|
@@ -19,9 +19,9 @@ geth/utils/networking.py,sha256=ntH6CZuGcTJJ0BIdT4rI-EMz703VDbJAJzGcxufDQMo,1488
|
|
19
19
|
geth/utils/proc.py,sha256=0CcHzOTkSzikrli_2ooQT6iHpPaTRYsshcvrGYC7btA,1801
|
20
20
|
geth/utils/thread.py,sha256=IL4C-AvzYbOwW2qOIMS63GVEqiWLe9TiMXX20qT1UaY,315
|
21
21
|
geth/utils/timeout.py,sha256=Uiz90EKJJm7UmKmVx2FhBpIblnvg9dTqszsanvfOtFM,2259
|
22
|
-
geth/utils/validation.py,sha256=
|
23
|
-
py_geth-5.1.
|
24
|
-
py_geth-5.1.
|
25
|
-
py_geth-5.1.
|
26
|
-
py_geth-5.1.
|
27
|
-
py_geth-5.1.
|
22
|
+
geth/utils/validation.py,sha256=YeSoqpVjGXRNZUcqiUof39uVUZnmbrf-XU0C4LEZ0NU,5430
|
23
|
+
py_geth-5.2.1.dist-info/LICENSE,sha256=ENGC4gSn0kYaC_mlaXOEwCKmA6W7Z9MeSemc5O2k-h0,1095
|
24
|
+
py_geth-5.2.1.dist-info/METADATA,sha256=nGJfBfMvJn78-4hcIM_9qpwWFDyXYSEV3MiO1iHiGp0,9214
|
25
|
+
py_geth-5.2.1.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
|
26
|
+
py_geth-5.2.1.dist-info/top_level.txt,sha256=o8Gvkxt3xBR7BNG2p9_G1J3GnGlTrBMEhYJBdAzBWDU,5
|
27
|
+
py_geth-5.2.1.dist-info/RECORD,,
|
File without changes
|