mm-btc 0.1.3__tar.gz → 0.2.1__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.
- mm_btc-0.2.1/PKG-INFO +10 -0
- mm_btc-0.2.1/pyproject.toml +80 -0
- {mm_btc-0.1.3 → mm_btc-0.2.1}/src/mm_btc/blockstream.py +3 -4
- {mm_btc-0.1.3 → mm_btc-0.2.1}/src/mm_btc/cli/cli.py +4 -3
- mm_btc-0.2.1/src/mm_btc/cli/cli_utils.py +19 -0
- {mm_btc-0.1.3 → mm_btc-0.2.1}/src/mm_btc/cli/cmd/create_tx_cmd.py +2 -1
- {mm_btc-0.1.3 → mm_btc-0.2.1}/src/mm_btc/wallet.py +2 -6
- mm_btc-0.2.1/tests/cmd/__init__.py +0 -0
- {mm_btc-0.1.3/tests/cli → mm_btc-0.2.1/tests}/cmd/test_mnemonic_cmd.py +7 -6
- {mm_btc-0.1.3 → mm_btc-0.2.1}/tests/conftest.py +6 -0
- {mm_btc-0.1.3 → mm_btc-0.2.1}/uv.lock +129 -65
- mm_btc-0.1.3/PKG-INFO +0 -10
- mm_btc-0.1.3/pyproject.toml +0 -68
- mm_btc-0.1.3/src/mm_btc/cli/cli_utils.py +0 -5
- {mm_btc-0.1.3 → mm_btc-0.2.1}/.env.example +0 -0
- {mm_btc-0.1.3 → mm_btc-0.2.1}/.gitignore +0 -0
- {mm_btc-0.1.3 → mm_btc-0.2.1}/README.txt +0 -0
- {mm_btc-0.1.3 → mm_btc-0.2.1}/justfile +0 -0
- {mm_btc-0.1.3 → mm_btc-0.2.1}/src/mm_btc/__init__.py +0 -0
- {mm_btc-0.1.3 → mm_btc-0.2.1}/src/mm_btc/cli/__init__.py +0 -0
- {mm_btc-0.1.3 → mm_btc-0.2.1}/src/mm_btc/cli/cmd/__init__.py +0 -0
- {mm_btc-0.1.3 → mm_btc-0.2.1}/src/mm_btc/cli/cmd/address_cmd.py +0 -0
- {mm_btc-0.1.3 → mm_btc-0.2.1}/src/mm_btc/cli/cmd/decode_tx_cmd.py +0 -0
- {mm_btc-0.1.3 → mm_btc-0.2.1}/src/mm_btc/cli/cmd/mnemonic_cmd.py +0 -0
- {mm_btc-0.1.3 → mm_btc-0.2.1}/src/mm_btc/cli/cmd/utxo_cmd.py +0 -0
- {mm_btc-0.1.3 → mm_btc-0.2.1}/src/mm_btc/py.typed +0 -0
- {mm_btc-0.1.3 → mm_btc-0.2.1}/src/mm_btc/tx.py +0 -0
- {mm_btc-0.1.3 → mm_btc-0.2.1}/tests/__init__.py +0 -0
- {mm_btc-0.1.3 → mm_btc-0.2.1}/tests/test_blockstream.py +0 -0
- {mm_btc-0.1.3 → mm_btc-0.2.1}/tests/test_wallet.py +0 -0
mm_btc-0.2.1/PKG-INFO
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: mm-btc
|
|
3
|
+
Version: 0.2.1
|
|
4
|
+
Requires-Python: >=3.12
|
|
5
|
+
Requires-Dist: bitcoinlib~=0.7.1
|
|
6
|
+
Requires-Dist: bit~=0.8.0
|
|
7
|
+
Requires-Dist: hdwallet~=3.2.3
|
|
8
|
+
Requires-Dist: mm-std~=0.1.11
|
|
9
|
+
Requires-Dist: mnemonic~=0.21
|
|
10
|
+
Requires-Dist: typer~=0.15.1
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
[project]
|
|
2
|
+
name = "mm-btc"
|
|
3
|
+
version = "0.2.1"
|
|
4
|
+
description = ""
|
|
5
|
+
requires-python = ">=3.12"
|
|
6
|
+
dependencies = [
|
|
7
|
+
"mm-std~=0.1.11",
|
|
8
|
+
"hdwallet~=3.2.3",
|
|
9
|
+
"bit~=0.8.0",
|
|
10
|
+
"bitcoinlib~=0.7.1",
|
|
11
|
+
"mnemonic~=0.21",
|
|
12
|
+
"typer~=0.15.1",
|
|
13
|
+
]
|
|
14
|
+
[project.scripts]
|
|
15
|
+
mm-btc = "mm_btc.cli.cli:app"
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
[build-system]
|
|
19
|
+
requires = ["hatchling"]
|
|
20
|
+
build-backend = "hatchling.build"
|
|
21
|
+
|
|
22
|
+
[tool.uv]
|
|
23
|
+
dev-dependencies = [
|
|
24
|
+
"pytest~=8.3.4",
|
|
25
|
+
"pytest-xdist~=3.6.1",
|
|
26
|
+
"pytest-httpserver~=1.1.0",
|
|
27
|
+
"ruff~=0.9.2",
|
|
28
|
+
"pip-audit~=2.7.3",
|
|
29
|
+
"bandit~=1.8.2",
|
|
30
|
+
"mypy~=1.14.1",
|
|
31
|
+
"types-PyYAML~=6.0.12.20241230",
|
|
32
|
+
]
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
[tool.mypy]
|
|
36
|
+
python_version = "3.13"
|
|
37
|
+
warn_no_return = false
|
|
38
|
+
strict = true
|
|
39
|
+
exclude = ["^tests/", "^tmp/"]
|
|
40
|
+
[[tool.mypy.overrides]]
|
|
41
|
+
module = ["hdwallet.*", "hdwallet.symbols.*", "bit.*", "bitcoinlib.transactions.*"]
|
|
42
|
+
ignore_missing_imports = true
|
|
43
|
+
|
|
44
|
+
[tool.ruff]
|
|
45
|
+
line-length = 130
|
|
46
|
+
target-version = "py313"
|
|
47
|
+
[tool.ruff.lint]
|
|
48
|
+
select = ["ALL"]
|
|
49
|
+
ignore = [
|
|
50
|
+
"A005", # flake8-builtins: stdlib-module-shadowing
|
|
51
|
+
"ERA001", # eradicate: commented-out-code
|
|
52
|
+
"PT", # flake8-pytest-style
|
|
53
|
+
"D", # pydocstyle
|
|
54
|
+
"FIX", # flake8-fixme
|
|
55
|
+
"PLR0911", # pylint: too-many-return-statements
|
|
56
|
+
"PLR0912", # pylint: too-many-branches
|
|
57
|
+
"PLR0913", # pylint: too-many-arguments
|
|
58
|
+
"PLR2004", # pylint: magic-value-comparison
|
|
59
|
+
"PLC0414", # pylint: useless-import-alias
|
|
60
|
+
"FBT", # flake8-boolean-trap
|
|
61
|
+
"EM", # flake8-errmsg
|
|
62
|
+
"TRY003", # tryceratops: raise-vanilla-args
|
|
63
|
+
"C901", # mccabe: complex-structure,
|
|
64
|
+
"BLE001", # flake8-blind-except
|
|
65
|
+
"S311", # bandit: suspicious-non-cryptographic-random-usage
|
|
66
|
+
"TD002", # flake8-todos: missing-todo-author
|
|
67
|
+
"TD003", # flake8-todos: missing-todo-link
|
|
68
|
+
"RET503", # flake8-return: implicit-return
|
|
69
|
+
"COM812", # it's used in ruff formatter
|
|
70
|
+
]
|
|
71
|
+
[tool.ruff.lint.per-file-ignores]
|
|
72
|
+
"tests/*.py" = ["ANN", "S"]
|
|
73
|
+
[tool.ruff.format]
|
|
74
|
+
quote-style = "double"
|
|
75
|
+
indent-style = "space"
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
[tool.bandit]
|
|
79
|
+
exclude_dirs = ["tests"]
|
|
80
|
+
skips = ["B311"]
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
from collections.abc import Sequence
|
|
2
|
-
from typing import TypeAlias
|
|
3
2
|
|
|
4
3
|
from mm_std import Err, HResponse, Ok, Result, hr
|
|
5
4
|
from mm_std.random_ import random_str_choice
|
|
@@ -11,7 +10,7 @@ TESTNET_BASE_URL = "https://blockstream.info/testnet/api"
|
|
|
11
10
|
ERROR_INVALID_ADDRESS = "INVALID_ADDRESS"
|
|
12
11
|
ERROR_INVALID_NETWORK = "INVALID_NETWORK"
|
|
13
12
|
|
|
14
|
-
Proxy
|
|
13
|
+
type Proxy = str | Sequence[str] | None
|
|
15
14
|
|
|
16
15
|
|
|
17
16
|
class Mempool(BaseModel):
|
|
@@ -54,7 +53,7 @@ class Utxo(BaseModel):
|
|
|
54
53
|
|
|
55
54
|
|
|
56
55
|
class BlockstreamClient:
|
|
57
|
-
def __init__(self, testnet: bool = False, timeout: int = 10, proxies: Proxy = None, attempts: int = 1):
|
|
56
|
+
def __init__(self, testnet: bool = False, timeout: int = 10, proxies: Proxy = None, attempts: int = 1) -> None:
|
|
58
57
|
self.testnet = testnet
|
|
59
58
|
self.timeout = timeout
|
|
60
59
|
self.proxies = proxies
|
|
@@ -72,7 +71,7 @@ class BlockstreamClient:
|
|
|
72
71
|
"invalid bitcoin address" in res.body.lower() or "bech32 segwit decoding error" in res.body.lower()
|
|
73
72
|
):
|
|
74
73
|
return Err(ERROR_INVALID_ADDRESS, data=data)
|
|
75
|
-
|
|
74
|
+
if res.code == 400 and "invalid network" in res.body.lower():
|
|
76
75
|
return Err(ERROR_INVALID_NETWORK, data=data)
|
|
77
76
|
return Ok(Address(**res.json), data=data)
|
|
78
77
|
except Exception as err:
|
|
@@ -5,10 +5,11 @@ import typer
|
|
|
5
5
|
import typer.core
|
|
6
6
|
from mm_std import print_plain
|
|
7
7
|
|
|
8
|
-
from mm_btc.cli import cli_utils
|
|
9
|
-
from mm_btc.cli.cmd import address_cmd, create_tx_cmd, decode_tx_cmd, mnemonic_cmd, utxo_cmd
|
|
10
8
|
from mm_btc.wallet import AddressType
|
|
11
9
|
|
|
10
|
+
from . import cli_utils
|
|
11
|
+
from .cmd import address_cmd, create_tx_cmd, decode_tx_cmd, mnemonic_cmd, utxo_cmd
|
|
12
|
+
|
|
12
13
|
app = typer.Typer(no_args_is_help=True, pretty_exceptions_enable=False, add_completion=False)
|
|
13
14
|
|
|
14
15
|
|
|
@@ -67,7 +68,7 @@ def utxo_command(address: str) -> None:
|
|
|
67
68
|
def version_callback(value: bool) -> None:
|
|
68
69
|
if value:
|
|
69
70
|
print_plain(f"mm-btc: v{cli_utils.get_version()}")
|
|
70
|
-
raise typer.Exit
|
|
71
|
+
raise typer.Exit
|
|
71
72
|
|
|
72
73
|
|
|
73
74
|
@app.callback()
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import importlib.metadata
|
|
2
|
+
import sys
|
|
3
|
+
from pathlib import Path
|
|
4
|
+
|
|
5
|
+
from mm_std import BaseConfig
|
|
6
|
+
from rich import print_json
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
def get_version() -> str:
|
|
10
|
+
return importlib.metadata.version("mm-btc")
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
def read_config[T: BaseConfig](config_type: type[T], config_path: Path) -> T:
|
|
14
|
+
res = config_type.read_config(config_path)
|
|
15
|
+
if res.is_ok():
|
|
16
|
+
return res.unwrap()
|
|
17
|
+
|
|
18
|
+
print_json(res.err)
|
|
19
|
+
sys.exit(1)
|
|
@@ -3,6 +3,7 @@ from pathlib import Path
|
|
|
3
3
|
from bit import PrivateKey, PrivateKeyTestnet
|
|
4
4
|
from mm_std import BaseConfig, print_console
|
|
5
5
|
|
|
6
|
+
from mm_btc.cli.cli_utils import read_config
|
|
6
7
|
from mm_btc.wallet import is_testnet_address
|
|
7
8
|
|
|
8
9
|
|
|
@@ -17,7 +18,7 @@ class Config(BaseConfig):
|
|
|
17
18
|
|
|
18
19
|
|
|
19
20
|
def run(config_path: Path) -> None:
|
|
20
|
-
config =
|
|
21
|
+
config = read_config(Config, config_path)
|
|
21
22
|
testnet = is_testnet_address(config.from_address)
|
|
22
23
|
key = PrivateKeyTestnet(config.private) if testnet else PrivateKey(config.private)
|
|
23
24
|
|
|
@@ -39,13 +39,9 @@ def generate_mnemonic(language: str = "english", words: int = 12) -> str:
|
|
|
39
39
|
|
|
40
40
|
def derive_accounts(mnemonic: str, passphrase: str, path_prefix: str, address_type: AddressType, limit: int) -> list[Account]:
|
|
41
41
|
coin = Bitcoin
|
|
42
|
-
if path_prefix.startswith("m/84'/1'"):
|
|
42
|
+
if path_prefix.startswith(("m/84'/1'", "m/44'/1'")):
|
|
43
43
|
network = coin.NETWORKS.TESTNET
|
|
44
|
-
elif path_prefix.startswith("m/44'/
|
|
45
|
-
network = coin.NETWORKS.TESTNET
|
|
46
|
-
elif path_prefix.startswith("m/84'/0'"):
|
|
47
|
-
network = coin.NETWORKS.MAINNET
|
|
48
|
-
elif path_prefix.startswith("m/44'/0'"):
|
|
44
|
+
elif path_prefix.startswith(("m/84'/0'", "m/44'/0'")):
|
|
49
45
|
network = coin.NETWORKS.MAINNET
|
|
50
46
|
else:
|
|
51
47
|
raise ValueError("Invalid path")
|
|
File without changes
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import pytest
|
|
2
|
-
from mm_std import run_command
|
|
3
2
|
|
|
3
|
+
from mm_btc.cli.cli import app
|
|
4
4
|
from mm_btc.cli.cmd.mnemonic_cmd import get_derivation_path_prefix
|
|
5
5
|
|
|
6
6
|
|
|
@@ -15,8 +15,9 @@ def test_get_derivation_path_prefix():
|
|
|
15
15
|
get_derivation_path_prefix("bip", True)
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
def test_mnemonic_cmd(mnemonic, passphrase):
|
|
19
|
-
cmd = f"
|
|
20
|
-
res =
|
|
21
|
-
assert res.
|
|
22
|
-
|
|
18
|
+
def test_mnemonic_cmd(cli_runner, mnemonic, passphrase):
|
|
19
|
+
cmd = f"mnemonic -m '{mnemonic}' --passphrase '{passphrase}' -a P2WPKH"
|
|
20
|
+
res = cli_runner.invoke(app, cmd)
|
|
21
|
+
assert res.exit_code == 0
|
|
22
|
+
acc_line = "m/44'/0'/0'/0/7 bc1qvcq77599py2x46weksqf9zvf7a53aw9wefrrhs L3QF5FHUtX2a1ucGgVfrdhdvLHBSxsRQoGsv7tyY8P5Jt7UV9LZv"
|
|
23
|
+
assert acc_line in res.stdout
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import pytest
|
|
2
2
|
from mm_std import get_dotenv, hr
|
|
3
|
+
from typer.testing import CliRunner
|
|
3
4
|
|
|
4
5
|
|
|
5
6
|
@pytest.fixture()
|
|
@@ -32,3 +33,8 @@ def proxies() -> list[str]:
|
|
|
32
33
|
except KeyError:
|
|
33
34
|
pass
|
|
34
35
|
return []
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
@pytest.fixture
|
|
39
|
+
def cli_runner() -> CliRunner:
|
|
40
|
+
return CliRunner()
|
|
@@ -38,7 +38,7 @@ wheels = [
|
|
|
38
38
|
|
|
39
39
|
[[package]]
|
|
40
40
|
name = "bandit"
|
|
41
|
-
version = "1.8.
|
|
41
|
+
version = "1.8.2"
|
|
42
42
|
source = { registry = "https://pypi.org/simple" }
|
|
43
43
|
dependencies = [
|
|
44
44
|
{ name = "colorama", marker = "sys_platform == 'win32'" },
|
|
@@ -46,9 +46,9 @@ dependencies = [
|
|
|
46
46
|
{ name = "rich" },
|
|
47
47
|
{ name = "stevedore" },
|
|
48
48
|
]
|
|
49
|
-
sdist = { url = "https://files.pythonhosted.org/packages/
|
|
49
|
+
sdist = { url = "https://files.pythonhosted.org/packages/9b/e2/c229cdb4eefc124e5b77ac2557eb0a3cb5b9fc89bc465dd2b8dc1033dbb8/bandit-1.8.2.tar.gz", hash = "sha256:e00ad5a6bc676c0954669fe13818024d66b70e42cf5adb971480cf3b671e835f", size = 4228832 }
|
|
50
50
|
wheels = [
|
|
51
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
51
|
+
{ url = "https://files.pythonhosted.org/packages/1c/c1/991a7a1404626558cc7db0cc34243e13e5e336eba053bf6979e9fd6006f7/bandit-1.8.2-py3-none-any.whl", hash = "sha256:df6146ad73dd30e8cbda4e29689ddda48364e36ff655dbfc86998401fcf1721f", size = 127049 },
|
|
52
52
|
]
|
|
53
53
|
|
|
54
54
|
[[package]]
|
|
@@ -223,14 +223,14 @@ wheels = [
|
|
|
223
223
|
|
|
224
224
|
[[package]]
|
|
225
225
|
name = "click"
|
|
226
|
-
version = "8.1.
|
|
226
|
+
version = "8.1.8"
|
|
227
227
|
source = { registry = "https://pypi.org/simple" }
|
|
228
228
|
dependencies = [
|
|
229
229
|
{ name = "colorama", marker = "sys_platform == 'win32'" },
|
|
230
230
|
]
|
|
231
|
-
sdist = { url = "https://files.pythonhosted.org/packages/
|
|
231
|
+
sdist = { url = "https://files.pythonhosted.org/packages/b9/2e/0090cbf739cee7d23781ad4b89a9894a41538e4fcf4c31dcdd705b78eb8b/click-8.1.8.tar.gz", hash = "sha256:ed53c9d8990d83c2a27deae68e4ee337473f6330c040a31d4225c9574d16096a", size = 226593 }
|
|
232
232
|
wheels = [
|
|
233
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
233
|
+
{ url = "https://files.pythonhosted.org/packages/7e/d4/7ebdbd03970677812aac39c869717059dbb71a4cfc033ca6e5221787892c/click-8.1.8-py3-none-any.whl", hash = "sha256:63c132bbbed01578a06712a2d1f497bb62d9c1c0d329b7903a866228027263b2", size = 98188 },
|
|
234
234
|
]
|
|
235
235
|
|
|
236
236
|
[[package]]
|
|
@@ -427,7 +427,7 @@ wheels = [
|
|
|
427
427
|
|
|
428
428
|
[[package]]
|
|
429
429
|
name = "hdwallet"
|
|
430
|
-
version = "3.2.
|
|
430
|
+
version = "3.2.3"
|
|
431
431
|
source = { registry = "https://pypi.org/simple" }
|
|
432
432
|
dependencies = [
|
|
433
433
|
{ name = "base58" },
|
|
@@ -439,9 +439,9 @@ dependencies = [
|
|
|
439
439
|
{ name = "pycryptodome" },
|
|
440
440
|
{ name = "pynacl" },
|
|
441
441
|
]
|
|
442
|
-
sdist = { url = "https://files.pythonhosted.org/packages/
|
|
442
|
+
sdist = { url = "https://files.pythonhosted.org/packages/65/f7/980bee740a9bbf2adbf81e0a20f2fd1ef731d7b5a259eabaebb23e37572f/hdwallet-3.2.3.tar.gz", hash = "sha256:7e2f0e44794207eaacf18bc80420f9734d51b55d11de1a8b3d66ea68ef508c14", size = 400441 }
|
|
443
443
|
wheels = [
|
|
444
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
444
|
+
{ url = "https://files.pythonhosted.org/packages/f0/00/1dbc04400d5dad78c651a84e43cb77797ab31fdb879aa5570e8eec35d22e/hdwallet-3.2.3-py3-none-any.whl", hash = "sha256:dc49ae25466433dd5a804bd6a5abfe639aed67b57a60f392898ebc3e76174e05", size = 636195 },
|
|
445
445
|
]
|
|
446
446
|
|
|
447
447
|
[[package]]
|
|
@@ -553,6 +553,44 @@ wheels = [
|
|
|
553
553
|
{ url = "https://files.pythonhosted.org/packages/42/d7/1ec15b46af6af88f19b8e5ffea08fa375d433c998b8a7639e76935c14f1f/markdown_it_py-3.0.0-py3-none-any.whl", hash = "sha256:355216845c60bd96232cd8d8c40e8f9765cc86f46880e43a8fd22dc1a1a8cab1", size = 87528 },
|
|
554
554
|
]
|
|
555
555
|
|
|
556
|
+
[[package]]
|
|
557
|
+
name = "markupsafe"
|
|
558
|
+
version = "3.0.2"
|
|
559
|
+
source = { registry = "https://pypi.org/simple" }
|
|
560
|
+
sdist = { url = "https://files.pythonhosted.org/packages/b2/97/5d42485e71dfc078108a86d6de8fa46db44a1a9295e89c5d6d4a06e23a62/markupsafe-3.0.2.tar.gz", hash = "sha256:ee55d3edf80167e48ea11a923c7386f4669df67d7994554387f84e7d8b0a2bf0", size = 20537 }
|
|
561
|
+
wheels = [
|
|
562
|
+
{ url = "https://files.pythonhosted.org/packages/22/09/d1f21434c97fc42f09d290cbb6350d44eb12f09cc62c9476effdb33a18aa/MarkupSafe-3.0.2-cp312-cp312-macosx_10_13_universal2.whl", hash = "sha256:9778bd8ab0a994ebf6f84c2b949e65736d5575320a17ae8984a77fab08db94cf", size = 14274 },
|
|
563
|
+
{ url = "https://files.pythonhosted.org/packages/6b/b0/18f76bba336fa5aecf79d45dcd6c806c280ec44538b3c13671d49099fdd0/MarkupSafe-3.0.2-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:846ade7b71e3536c4e56b386c2a47adf5741d2d8b94ec9dc3e92e5e1ee1e2225", size = 12348 },
|
|
564
|
+
{ url = "https://files.pythonhosted.org/packages/e0/25/dd5c0f6ac1311e9b40f4af06c78efde0f3b5cbf02502f8ef9501294c425b/MarkupSafe-3.0.2-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:1c99d261bd2d5f6b59325c92c73df481e05e57f19837bdca8413b9eac4bd8028", size = 24149 },
|
|
565
|
+
{ url = "https://files.pythonhosted.org/packages/f3/f0/89e7aadfb3749d0f52234a0c8c7867877876e0a20b60e2188e9850794c17/MarkupSafe-3.0.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:e17c96c14e19278594aa4841ec148115f9c7615a47382ecb6b82bd8fea3ab0c8", size = 23118 },
|
|
566
|
+
{ url = "https://files.pythonhosted.org/packages/d5/da/f2eeb64c723f5e3777bc081da884b414671982008c47dcc1873d81f625b6/MarkupSafe-3.0.2-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:88416bd1e65dcea10bc7569faacb2c20ce071dd1f87539ca2ab364bf6231393c", size = 22993 },
|
|
567
|
+
{ url = "https://files.pythonhosted.org/packages/da/0e/1f32af846df486dce7c227fe0f2398dc7e2e51d4a370508281f3c1c5cddc/MarkupSafe-3.0.2-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:2181e67807fc2fa785d0592dc2d6206c019b9502410671cc905d132a92866557", size = 24178 },
|
|
568
|
+
{ url = "https://files.pythonhosted.org/packages/c4/f6/bb3ca0532de8086cbff5f06d137064c8410d10779c4c127e0e47d17c0b71/MarkupSafe-3.0.2-cp312-cp312-musllinux_1_2_i686.whl", hash = "sha256:52305740fe773d09cffb16f8ed0427942901f00adedac82ec8b67752f58a1b22", size = 23319 },
|
|
569
|
+
{ url = "https://files.pythonhosted.org/packages/a2/82/8be4c96ffee03c5b4a034e60a31294daf481e12c7c43ab8e34a1453ee48b/MarkupSafe-3.0.2-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:ad10d3ded218f1039f11a75f8091880239651b52e9bb592ca27de44eed242a48", size = 23352 },
|
|
570
|
+
{ url = "https://files.pythonhosted.org/packages/51/ae/97827349d3fcffee7e184bdf7f41cd6b88d9919c80f0263ba7acd1bbcb18/MarkupSafe-3.0.2-cp312-cp312-win32.whl", hash = "sha256:0f4ca02bea9a23221c0182836703cbf8930c5e9454bacce27e767509fa286a30", size = 15097 },
|
|
571
|
+
{ url = "https://files.pythonhosted.org/packages/c1/80/a61f99dc3a936413c3ee4e1eecac96c0da5ed07ad56fd975f1a9da5bc630/MarkupSafe-3.0.2-cp312-cp312-win_amd64.whl", hash = "sha256:8e06879fc22a25ca47312fbe7c8264eb0b662f6db27cb2d3bbbc74b1df4b9b87", size = 15601 },
|
|
572
|
+
{ url = "https://files.pythonhosted.org/packages/83/0e/67eb10a7ecc77a0c2bbe2b0235765b98d164d81600746914bebada795e97/MarkupSafe-3.0.2-cp313-cp313-macosx_10_13_universal2.whl", hash = "sha256:ba9527cdd4c926ed0760bc301f6728ef34d841f405abf9d4f959c478421e4efd", size = 14274 },
|
|
573
|
+
{ url = "https://files.pythonhosted.org/packages/2b/6d/9409f3684d3335375d04e5f05744dfe7e9f120062c9857df4ab490a1031a/MarkupSafe-3.0.2-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:f8b3d067f2e40fe93e1ccdd6b2e1d16c43140e76f02fb1319a05cf2b79d99430", size = 12352 },
|
|
574
|
+
{ url = "https://files.pythonhosted.org/packages/d2/f5/6eadfcd3885ea85fe2a7c128315cc1bb7241e1987443d78c8fe712d03091/MarkupSafe-3.0.2-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:569511d3b58c8791ab4c2e1285575265991e6d8f8700c7be0e88f86cb0672094", size = 24122 },
|
|
575
|
+
{ url = "https://files.pythonhosted.org/packages/0c/91/96cf928db8236f1bfab6ce15ad070dfdd02ed88261c2afafd4b43575e9e9/MarkupSafe-3.0.2-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:15ab75ef81add55874e7ab7055e9c397312385bd9ced94920f2802310c930396", size = 23085 },
|
|
576
|
+
{ url = "https://files.pythonhosted.org/packages/c2/cf/c9d56af24d56ea04daae7ac0940232d31d5a8354f2b457c6d856b2057d69/MarkupSafe-3.0.2-cp313-cp313-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:f3818cb119498c0678015754eba762e0d61e5b52d34c8b13d770f0719f7b1d79", size = 22978 },
|
|
577
|
+
{ url = "https://files.pythonhosted.org/packages/2a/9f/8619835cd6a711d6272d62abb78c033bda638fdc54c4e7f4272cf1c0962b/MarkupSafe-3.0.2-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:cdb82a876c47801bb54a690c5ae105a46b392ac6099881cdfb9f6e95e4014c6a", size = 24208 },
|
|
578
|
+
{ url = "https://files.pythonhosted.org/packages/f9/bf/176950a1792b2cd2102b8ffeb5133e1ed984547b75db47c25a67d3359f77/MarkupSafe-3.0.2-cp313-cp313-musllinux_1_2_i686.whl", hash = "sha256:cabc348d87e913db6ab4aa100f01b08f481097838bdddf7c7a84b7575b7309ca", size = 23357 },
|
|
579
|
+
{ url = "https://files.pythonhosted.org/packages/ce/4f/9a02c1d335caabe5c4efb90e1b6e8ee944aa245c1aaaab8e8a618987d816/MarkupSafe-3.0.2-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:444dcda765c8a838eaae23112db52f1efaf750daddb2d9ca300bcae1039adc5c", size = 23344 },
|
|
580
|
+
{ url = "https://files.pythonhosted.org/packages/ee/55/c271b57db36f748f0e04a759ace9f8f759ccf22b4960c270c78a394f58be/MarkupSafe-3.0.2-cp313-cp313-win32.whl", hash = "sha256:bcf3e58998965654fdaff38e58584d8937aa3096ab5354d493c77d1fdd66d7a1", size = 15101 },
|
|
581
|
+
{ url = "https://files.pythonhosted.org/packages/29/88/07df22d2dd4df40aba9f3e402e6dc1b8ee86297dddbad4872bd5e7b0094f/MarkupSafe-3.0.2-cp313-cp313-win_amd64.whl", hash = "sha256:e6a2a455bd412959b57a172ce6328d2dd1f01cb2135efda2e4576e8a23fa3b0f", size = 15603 },
|
|
582
|
+
{ url = "https://files.pythonhosted.org/packages/62/6a/8b89d24db2d32d433dffcd6a8779159da109842434f1dd2f6e71f32f738c/MarkupSafe-3.0.2-cp313-cp313t-macosx_10_13_universal2.whl", hash = "sha256:b5a6b3ada725cea8a5e634536b1b01c30bcdcd7f9c6fff4151548d5bf6b3a36c", size = 14510 },
|
|
583
|
+
{ url = "https://files.pythonhosted.org/packages/7a/06/a10f955f70a2e5a9bf78d11a161029d278eeacbd35ef806c3fd17b13060d/MarkupSafe-3.0.2-cp313-cp313t-macosx_11_0_arm64.whl", hash = "sha256:a904af0a6162c73e3edcb969eeeb53a63ceeb5d8cf642fade7d39e7963a22ddb", size = 12486 },
|
|
584
|
+
{ url = "https://files.pythonhosted.org/packages/34/cf/65d4a571869a1a9078198ca28f39fba5fbb910f952f9dbc5220afff9f5e6/MarkupSafe-3.0.2-cp313-cp313t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:4aa4e5faecf353ed117801a068ebab7b7e09ffb6e1d5e412dc852e0da018126c", size = 25480 },
|
|
585
|
+
{ url = "https://files.pythonhosted.org/packages/0c/e3/90e9651924c430b885468b56b3d597cabf6d72be4b24a0acd1fa0e12af67/MarkupSafe-3.0.2-cp313-cp313t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:c0ef13eaeee5b615fb07c9a7dadb38eac06a0608b41570d8ade51c56539e509d", size = 23914 },
|
|
586
|
+
{ url = "https://files.pythonhosted.org/packages/66/8c/6c7cf61f95d63bb866db39085150df1f2a5bd3335298f14a66b48e92659c/MarkupSafe-3.0.2-cp313-cp313t-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:d16a81a06776313e817c951135cf7340a3e91e8c1ff2fac444cfd75fffa04afe", size = 23796 },
|
|
587
|
+
{ url = "https://files.pythonhosted.org/packages/bb/35/cbe9238ec3f47ac9a7c8b3df7a808e7cb50fe149dc7039f5f454b3fba218/MarkupSafe-3.0.2-cp313-cp313t-musllinux_1_2_aarch64.whl", hash = "sha256:6381026f158fdb7c72a168278597a5e3a5222e83ea18f543112b2662a9b699c5", size = 25473 },
|
|
588
|
+
{ url = "https://files.pythonhosted.org/packages/e6/32/7621a4382488aa283cc05e8984a9c219abad3bca087be9ec77e89939ded9/MarkupSafe-3.0.2-cp313-cp313t-musllinux_1_2_i686.whl", hash = "sha256:3d79d162e7be8f996986c064d1c7c817f6df3a77fe3d6859f6f9e7be4b8c213a", size = 24114 },
|
|
589
|
+
{ url = "https://files.pythonhosted.org/packages/0d/80/0985960e4b89922cb5a0bac0ed39c5b96cbc1a536a99f30e8c220a996ed9/MarkupSafe-3.0.2-cp313-cp313t-musllinux_1_2_x86_64.whl", hash = "sha256:131a3c7689c85f5ad20f9f6fb1b866f402c445b220c19fe4308c0b147ccd2ad9", size = 24098 },
|
|
590
|
+
{ url = "https://files.pythonhosted.org/packages/82/78/fedb03c7d5380df2427038ec8d973587e90561b2d90cd472ce9254cf348b/MarkupSafe-3.0.2-cp313-cp313t-win32.whl", hash = "sha256:ba8062ed2cf21c07a9e295d5b8a2a5ce678b913b45fdf68c32d95d6c1291e0b6", size = 15208 },
|
|
591
|
+
{ url = "https://files.pythonhosted.org/packages/4f/65/6079a46068dfceaeabb5dcad6d674f5f5c61a6fa5673746f42a9f4c233b3/MarkupSafe-3.0.2-cp313-cp313t-win_amd64.whl", hash = "sha256:e444a31f8db13eb18ada366ab3cf45fd4b31e4db1236a4448f68778c1d1a5a2f", size = 15739 },
|
|
592
|
+
]
|
|
593
|
+
|
|
556
594
|
[[package]]
|
|
557
595
|
name = "mdurl"
|
|
558
596
|
version = "0.1.2"
|
|
@@ -564,7 +602,7 @@ wheels = [
|
|
|
564
602
|
|
|
565
603
|
[[package]]
|
|
566
604
|
name = "mm-btc"
|
|
567
|
-
version = "0.
|
|
605
|
+
version = "0.2.0"
|
|
568
606
|
source = { editable = "." }
|
|
569
607
|
dependencies = [
|
|
570
608
|
{ name = "bit" },
|
|
@@ -581,6 +619,7 @@ dev = [
|
|
|
581
619
|
{ name = "mypy" },
|
|
582
620
|
{ name = "pip-audit" },
|
|
583
621
|
{ name = "pytest" },
|
|
622
|
+
{ name = "pytest-httpserver" },
|
|
584
623
|
{ name = "pytest-xdist" },
|
|
585
624
|
{ name = "ruff" },
|
|
586
625
|
{ name = "types-pyyaml" },
|
|
@@ -590,26 +629,27 @@ dev = [
|
|
|
590
629
|
requires-dist = [
|
|
591
630
|
{ name = "bit", specifier = "~=0.8.0" },
|
|
592
631
|
{ name = "bitcoinlib", specifier = "~=0.7.1" },
|
|
593
|
-
{ name = "hdwallet", specifier = "~=3.2.
|
|
594
|
-
{ name = "mm-std", specifier = "~=0.1.
|
|
595
|
-
{ name = "mnemonic", specifier = "
|
|
596
|
-
{ name = "typer", specifier = "
|
|
632
|
+
{ name = "hdwallet", specifier = "~=3.2.3" },
|
|
633
|
+
{ name = "mm-std", specifier = "~=0.1.11" },
|
|
634
|
+
{ name = "mnemonic", specifier = "~=0.21" },
|
|
635
|
+
{ name = "typer", specifier = "~=0.15.1" },
|
|
597
636
|
]
|
|
598
637
|
|
|
599
638
|
[package.metadata.requires-dev]
|
|
600
639
|
dev = [
|
|
601
|
-
{ name = "bandit", specifier = "~=1.8.
|
|
602
|
-
{ name = "mypy", specifier = "~=1.14.
|
|
640
|
+
{ name = "bandit", specifier = "~=1.8.2" },
|
|
641
|
+
{ name = "mypy", specifier = "~=1.14.1" },
|
|
603
642
|
{ name = "pip-audit", specifier = "~=2.7.3" },
|
|
604
643
|
{ name = "pytest", specifier = "~=8.3.4" },
|
|
644
|
+
{ name = "pytest-httpserver", specifier = "~=1.1.0" },
|
|
605
645
|
{ name = "pytest-xdist", specifier = "~=3.6.1" },
|
|
606
|
-
{ name = "ruff", specifier = "~=0.
|
|
607
|
-
{ name = "types-pyyaml", specifier = "~=6.0.12.
|
|
646
|
+
{ name = "ruff", specifier = "~=0.9.2" },
|
|
647
|
+
{ name = "types-pyyaml", specifier = "~=6.0.12.20241230" },
|
|
608
648
|
]
|
|
609
649
|
|
|
610
650
|
[[package]]
|
|
611
651
|
name = "mm-std"
|
|
612
|
-
version = "0.1.
|
|
652
|
+
version = "0.1.11"
|
|
613
653
|
source = { registry = "https://pypi.org/simple" }
|
|
614
654
|
dependencies = [
|
|
615
655
|
{ name = "cryptography" },
|
|
@@ -621,7 +661,7 @@ dependencies = [
|
|
|
621
661
|
{ name = "rich" },
|
|
622
662
|
]
|
|
623
663
|
wheels = [
|
|
624
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
664
|
+
{ url = "https://files.pythonhosted.org/packages/45/44/9b5b90015a3aa2906f1eb15a4d4404635f6b05e43c5023b770bd4c7d7774/mm_std-0.1.11-py3-none-any.whl", hash = "sha256:3ea736ccb313bf6d0c37272104ba1f79deb0874c07bd6091d504fcf9e703cdfe", size = 14444 },
|
|
625
665
|
]
|
|
626
666
|
|
|
627
667
|
[[package]]
|
|
@@ -665,25 +705,27 @@ wheels = [
|
|
|
665
705
|
|
|
666
706
|
[[package]]
|
|
667
707
|
name = "mypy"
|
|
668
|
-
version = "1.14.
|
|
708
|
+
version = "1.14.1"
|
|
669
709
|
source = { registry = "https://pypi.org/simple" }
|
|
670
710
|
dependencies = [
|
|
671
711
|
{ name = "mypy-extensions" },
|
|
672
712
|
{ name = "typing-extensions" },
|
|
673
713
|
]
|
|
674
|
-
sdist = { url = "https://files.pythonhosted.org/packages/
|
|
714
|
+
sdist = { url = "https://files.pythonhosted.org/packages/b9/eb/2c92d8ea1e684440f54fa49ac5d9a5f19967b7b472a281f419e69a8d228e/mypy-1.14.1.tar.gz", hash = "sha256:7ec88144fe9b510e8475ec2f5f251992690fcf89ccb4500b214b4226abcd32d6", size = 3216051 }
|
|
675
715
|
wheels = [
|
|
676
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
677
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
678
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
679
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
680
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
681
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
682
|
-
{ url = "https://files.pythonhosted.org/packages/15/
|
|
683
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
684
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
685
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
686
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
716
|
+
{ url = "https://files.pythonhosted.org/packages/43/1b/b38c079609bb4627905b74fc6a49849835acf68547ac33d8ceb707de5f52/mypy-1.14.1-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:30ff5ef8519bbc2e18b3b54521ec319513a26f1bba19a7582e7b1f58a6e69f14", size = 11266668 },
|
|
717
|
+
{ url = "https://files.pythonhosted.org/packages/6b/75/2ed0d2964c1ffc9971c729f7a544e9cd34b2cdabbe2d11afd148d7838aa2/mypy-1.14.1-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:cb9f255c18052343c70234907e2e532bc7e55a62565d64536dbc7706a20b78b9", size = 10254060 },
|
|
718
|
+
{ url = "https://files.pythonhosted.org/packages/a1/5f/7b8051552d4da3c51bbe8fcafffd76a6823779101a2b198d80886cd8f08e/mypy-1.14.1-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:8b4e3413e0bddea671012b063e27591b953d653209e7a4fa5e48759cda77ca11", size = 11933167 },
|
|
719
|
+
{ url = "https://files.pythonhosted.org/packages/04/90/f53971d3ac39d8b68bbaab9a4c6c58c8caa4d5fd3d587d16f5927eeeabe1/mypy-1.14.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:553c293b1fbdebb6c3c4030589dab9fafb6dfa768995a453d8a5d3b23784af2e", size = 12864341 },
|
|
720
|
+
{ url = "https://files.pythonhosted.org/packages/03/d2/8bc0aeaaf2e88c977db41583559319f1821c069e943ada2701e86d0430b7/mypy-1.14.1-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:fad79bfe3b65fe6a1efaed97b445c3d37f7be9fdc348bdb2d7cac75579607c89", size = 12972991 },
|
|
721
|
+
{ url = "https://files.pythonhosted.org/packages/6f/17/07815114b903b49b0f2cf7499f1c130e5aa459411596668267535fe9243c/mypy-1.14.1-cp312-cp312-win_amd64.whl", hash = "sha256:8fa2220e54d2946e94ab6dbb3ba0a992795bd68b16dc852db33028df2b00191b", size = 9879016 },
|
|
722
|
+
{ url = "https://files.pythonhosted.org/packages/9e/15/bb6a686901f59222275ab228453de741185f9d54fecbaacec041679496c6/mypy-1.14.1-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:92c3ed5afb06c3a8e188cb5da4984cab9ec9a77ba956ee419c68a388b4595255", size = 11252097 },
|
|
723
|
+
{ url = "https://files.pythonhosted.org/packages/f8/b3/8b0f74dfd072c802b7fa368829defdf3ee1566ba74c32a2cb2403f68024c/mypy-1.14.1-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:dbec574648b3e25f43d23577309b16534431db4ddc09fda50841f1e34e64ed34", size = 10239728 },
|
|
724
|
+
{ url = "https://files.pythonhosted.org/packages/c5/9b/4fd95ab20c52bb5b8c03cc49169be5905d931de17edfe4d9d2986800b52e/mypy-1.14.1-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:8c6d94b16d62eb3e947281aa7347d78236688e21081f11de976376cf010eb31a", size = 11924965 },
|
|
725
|
+
{ url = "https://files.pythonhosted.org/packages/56/9d/4a236b9c57f5d8f08ed346914b3f091a62dd7e19336b2b2a0d85485f82ff/mypy-1.14.1-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:d4b19b03fdf54f3c5b2fa474c56b4c13c9dbfb9a2db4370ede7ec11a2c5927d9", size = 12867660 },
|
|
726
|
+
{ url = "https://files.pythonhosted.org/packages/40/88/a61a5497e2f68d9027de2bb139c7bb9abaeb1be1584649fa9d807f80a338/mypy-1.14.1-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:0c911fde686394753fff899c409fd4e16e9b294c24bfd5e1ea4675deae1ac6fd", size = 12969198 },
|
|
727
|
+
{ url = "https://files.pythonhosted.org/packages/54/da/3d6fc5d92d324701b0c23fb413c853892bfe0e1dbe06c9138037d459756b/mypy-1.14.1-cp313-cp313-win_amd64.whl", hash = "sha256:8b21525cb51671219f5307be85f7e646a153e5acc656e5cebf64bfa076c50107", size = 9885276 },
|
|
728
|
+
{ url = "https://files.pythonhosted.org/packages/a0/b5/32dd67b69a16d088e533962e5044e51004176a9952419de0370cdaead0f8/mypy-1.14.1-py3-none-any.whl", hash = "sha256:b66a60cc4073aeb8ae00057f9c1f64d49e90f918fbcef9a977eb121da8b8f1d1", size = 2752905 },
|
|
687
729
|
]
|
|
688
730
|
|
|
689
731
|
[[package]]
|
|
@@ -860,22 +902,20 @@ wheels = [
|
|
|
860
902
|
{ url = "https://files.pythonhosted.org/packages/39/1b/d0b013bf7d1af7cf0a6a4fce13f5fe5813ab225313755367b36e714a63f8/pycryptodome-3.21.0-cp36-abi3-musllinux_1_2_x86_64.whl", hash = "sha256:18caa8cfbc676eaaf28613637a89980ad2fd96e00c564135bf90bc3f0b34dd93", size = 2254397 },
|
|
861
903
|
{ url = "https://files.pythonhosted.org/packages/14/71/4cbd3870d3e926c34706f705d6793159ac49d9a213e3ababcdade5864663/pycryptodome-3.21.0-cp36-abi3-win32.whl", hash = "sha256:280b67d20e33bb63171d55b1067f61fbd932e0b1ad976b3a184303a3dad22764", size = 1775641 },
|
|
862
904
|
{ url = "https://files.pythonhosted.org/packages/43/1d/81d59d228381576b92ecede5cd7239762c14001a828bdba30d64896e9778/pycryptodome-3.21.0-cp36-abi3-win_amd64.whl", hash = "sha256:b7aa25fc0baa5b1d95b7633af4f5f1838467f1815442b22487426f94e0d66c53", size = 1812863 },
|
|
863
|
-
{ url = "https://files.pythonhosted.org/packages/25/b3/09ff7072e6d96c9939c24cf51d3c389d7c345bf675420355c22402f71b68/pycryptodome-3.21.0-pp27-pypy_73-manylinux2010_x86_64.whl", hash = "sha256:2cb635b67011bc147c257e61ce864879ffe6d03342dc74b6045059dfbdedafca", size = 1691593 },
|
|
864
|
-
{ url = "https://files.pythonhosted.org/packages/a8/91/38e43628148f68ba9b68dedbc323cf409e537fd11264031961fd7c744034/pycryptodome-3.21.0-pp27-pypy_73-win32.whl", hash = "sha256:4c26a2f0dc15f81ea3afa3b0c87b87e501f235d332b7f27e2225ecb80c0b1cdd", size = 1765997 },
|
|
865
905
|
]
|
|
866
906
|
|
|
867
907
|
[[package]]
|
|
868
908
|
name = "pydantic"
|
|
869
|
-
version = "2.10.
|
|
909
|
+
version = "2.10.5"
|
|
870
910
|
source = { registry = "https://pypi.org/simple" }
|
|
871
911
|
dependencies = [
|
|
872
912
|
{ name = "annotated-types" },
|
|
873
913
|
{ name = "pydantic-core" },
|
|
874
914
|
{ name = "typing-extensions" },
|
|
875
915
|
]
|
|
876
|
-
sdist = { url = "https://files.pythonhosted.org/packages/
|
|
916
|
+
sdist = { url = "https://files.pythonhosted.org/packages/6a/c7/ca334c2ef6f2e046b1144fe4bb2a5da8a4c574e7f2ebf7e16b34a6a2fa92/pydantic-2.10.5.tar.gz", hash = "sha256:278b38dbbaec562011d659ee05f63346951b3a248a6f3642e1bc68894ea2b4ff", size = 761287 }
|
|
877
917
|
wheels = [
|
|
878
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
918
|
+
{ url = "https://files.pythonhosted.org/packages/58/26/82663c79010b28eddf29dcdd0ea723439535fa917fce5905885c0e9ba562/pydantic-2.10.5-py3-none-any.whl", hash = "sha256:4dd4e322dbe55472cb7ca7e73f4b63574eecccf2835ffa2af9021ce113c83c53", size = 431426 },
|
|
879
919
|
]
|
|
880
920
|
|
|
881
921
|
[[package]]
|
|
@@ -919,14 +959,14 @@ wheels = [
|
|
|
919
959
|
|
|
920
960
|
[[package]]
|
|
921
961
|
name = "pydash"
|
|
922
|
-
version = "8.0.
|
|
962
|
+
version = "8.0.5"
|
|
923
963
|
source = { registry = "https://pypi.org/simple" }
|
|
924
964
|
dependencies = [
|
|
925
965
|
{ name = "typing-extensions" },
|
|
926
966
|
]
|
|
927
|
-
sdist = { url = "https://files.pythonhosted.org/packages/
|
|
967
|
+
sdist = { url = "https://files.pythonhosted.org/packages/2f/24/91c037f47e434172c2112d65c00c84d475a6715425e3315ba2cbb7a87e66/pydash-8.0.5.tar.gz", hash = "sha256:7cc44ebfe5d362f4f5f06c74c8684143c5ac481376b059ff02570705523f9e2e", size = 164861 }
|
|
928
968
|
wheels = [
|
|
929
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
969
|
+
{ url = "https://files.pythonhosted.org/packages/2c/86/e74c978800131c657fc5145f2c1c63e0cea01a49b6216f729cf77a2e1edf/pydash-8.0.5-py3-none-any.whl", hash = "sha256:b2625f8981862e19911daa07f80ed47b315ce20d9b5eb57aaf97aaf570c3892f", size = 102077 },
|
|
930
970
|
]
|
|
931
971
|
|
|
932
972
|
[[package]]
|
|
@@ -982,6 +1022,18 @@ wheels = [
|
|
|
982
1022
|
{ url = "https://files.pythonhosted.org/packages/11/92/76a1c94d3afee238333bc0a42b82935dd8f9cf8ce9e336ff87ee14d9e1cf/pytest-8.3.4-py3-none-any.whl", hash = "sha256:50e16d954148559c9a74109af1eaf0c945ba2d8f30f0a3d3335edde19788b6f6", size = 343083 },
|
|
983
1023
|
]
|
|
984
1024
|
|
|
1025
|
+
[[package]]
|
|
1026
|
+
name = "pytest-httpserver"
|
|
1027
|
+
version = "1.1.0"
|
|
1028
|
+
source = { registry = "https://pypi.org/simple" }
|
|
1029
|
+
dependencies = [
|
|
1030
|
+
{ name = "werkzeug" },
|
|
1031
|
+
]
|
|
1032
|
+
sdist = { url = "https://files.pythonhosted.org/packages/12/53/aa5aa8518246848251243a21440f167b812bd40896546061c1fda814c10c/pytest_httpserver-1.1.0.tar.gz", hash = "sha256:6b1cb0199e2ed551b1b94d43f096863bbf6ae5bcd7c75c2c06845e5ce2dc8701", size = 67210 }
|
|
1033
|
+
wheels = [
|
|
1034
|
+
{ url = "https://files.pythonhosted.org/packages/1d/29/c5dfce47d5f575e46e2d4a4257cd43cc199a8014f506d14d808e03d6f8cd/pytest_httpserver-1.1.0-py3-none-any.whl", hash = "sha256:7ef88be8ed3354b6784daa3daa75a422370327c634053cefb124903fa8d73a41", size = 20671 },
|
|
1035
|
+
]
|
|
1036
|
+
|
|
985
1037
|
[[package]]
|
|
986
1038
|
name = "pytest-xdist"
|
|
987
1039
|
version = "3.6.1"
|
|
@@ -1060,27 +1112,27 @@ wheels = [
|
|
|
1060
1112
|
|
|
1061
1113
|
[[package]]
|
|
1062
1114
|
name = "ruff"
|
|
1063
|
-
version = "0.
|
|
1064
|
-
source = { registry = "https://pypi.org/simple" }
|
|
1065
|
-
sdist = { url = "https://files.pythonhosted.org/packages/
|
|
1066
|
-
wheels = [
|
|
1067
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
1068
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
1069
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
1070
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
1071
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
1072
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
1073
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
1074
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
1075
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
1076
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
1077
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
1078
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
1079
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
1080
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
1081
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
1082
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
1083
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
1115
|
+
version = "0.9.2"
|
|
1116
|
+
source = { registry = "https://pypi.org/simple" }
|
|
1117
|
+
sdist = { url = "https://files.pythonhosted.org/packages/80/63/77ecca9d21177600f551d1c58ab0e5a0b260940ea7312195bd2a4798f8a8/ruff-0.9.2.tar.gz", hash = "sha256:b5eceb334d55fae5f316f783437392642ae18e16dcf4f1858d55d3c2a0f8f5d0", size = 3553799 }
|
|
1118
|
+
wheels = [
|
|
1119
|
+
{ url = "https://files.pythonhosted.org/packages/af/b9/0e168e4e7fb3af851f739e8f07889b91d1a33a30fca8c29fa3149d6b03ec/ruff-0.9.2-py3-none-linux_armv6l.whl", hash = "sha256:80605a039ba1454d002b32139e4970becf84b5fee3a3c3bf1c2af6f61a784347", size = 11652408 },
|
|
1120
|
+
{ url = "https://files.pythonhosted.org/packages/2c/22/08ede5db17cf701372a461d1cb8fdde037da1d4fa622b69ac21960e6237e/ruff-0.9.2-py3-none-macosx_10_12_x86_64.whl", hash = "sha256:b9aab82bb20afd5f596527045c01e6ae25a718ff1784cb92947bff1f83068b00", size = 11587553 },
|
|
1121
|
+
{ url = "https://files.pythonhosted.org/packages/42/05/dedfc70f0bf010230229e33dec6e7b2235b2a1b8cbb2a991c710743e343f/ruff-0.9.2-py3-none-macosx_11_0_arm64.whl", hash = "sha256:fbd337bac1cfa96be615f6efcd4bc4d077edbc127ef30e2b8ba2a27e18c054d4", size = 11020755 },
|
|
1122
|
+
{ url = "https://files.pythonhosted.org/packages/df/9b/65d87ad9b2e3def67342830bd1af98803af731243da1255537ddb8f22209/ruff-0.9.2-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:82b35259b0cbf8daa22a498018e300b9bb0174c2bbb7bcba593935158a78054d", size = 11826502 },
|
|
1123
|
+
{ url = "https://files.pythonhosted.org/packages/93/02/f2239f56786479e1a89c3da9bc9391120057fc6f4a8266a5b091314e72ce/ruff-0.9.2-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:8b6a9701d1e371bf41dca22015c3f89769da7576884d2add7317ec1ec8cb9c3c", size = 11390562 },
|
|
1124
|
+
{ url = "https://files.pythonhosted.org/packages/c9/37/d3a854dba9931f8cb1b2a19509bfe59e00875f48ade632e95aefcb7a0aee/ruff-0.9.2-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:9cc53e68b3c5ae41e8faf83a3b89f4a5d7b2cb666dff4b366bb86ed2a85b481f", size = 12548968 },
|
|
1125
|
+
{ url = "https://files.pythonhosted.org/packages/fa/c3/c7b812bb256c7a1d5553433e95980934ffa85396d332401f6b391d3c4569/ruff-0.9.2-py3-none-manylinux_2_17_ppc64.manylinux2014_ppc64.whl", hash = "sha256:8efd9da7a1ee314b910da155ca7e8953094a7c10d0c0a39bfde3fcfd2a015684", size = 13187155 },
|
|
1126
|
+
{ url = "https://files.pythonhosted.org/packages/bd/5a/3c7f9696a7875522b66aa9bba9e326e4e5894b4366bd1dc32aa6791cb1ff/ruff-0.9.2-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:3292c5a22ea9a5f9a185e2d131dc7f98f8534a32fb6d2ee7b9944569239c648d", size = 12704674 },
|
|
1127
|
+
{ url = "https://files.pythonhosted.org/packages/be/d6/d908762257a96ce5912187ae9ae86792e677ca4f3dc973b71e7508ff6282/ruff-0.9.2-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:1a605fdcf6e8b2d39f9436d343d1f0ff70c365a1e681546de0104bef81ce88df", size = 14529328 },
|
|
1128
|
+
{ url = "https://files.pythonhosted.org/packages/2d/c2/049f1e6755d12d9cd8823242fa105968f34ee4c669d04cac8cea51a50407/ruff-0.9.2-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:c547f7f256aa366834829a08375c297fa63386cbe5f1459efaf174086b564247", size = 12385955 },
|
|
1129
|
+
{ url = "https://files.pythonhosted.org/packages/91/5a/a9bdb50e39810bd9627074e42743b00e6dc4009d42ae9f9351bc3dbc28e7/ruff-0.9.2-py3-none-musllinux_1_2_aarch64.whl", hash = "sha256:d18bba3d3353ed916e882521bc3e0af403949dbada344c20c16ea78f47af965e", size = 11810149 },
|
|
1130
|
+
{ url = "https://files.pythonhosted.org/packages/e5/fd/57df1a0543182f79a1236e82a79c68ce210efb00e97c30657d5bdb12b478/ruff-0.9.2-py3-none-musllinux_1_2_armv7l.whl", hash = "sha256:b338edc4610142355ccf6b87bd356729b62bf1bc152a2fad5b0c7dc04af77bfe", size = 11479141 },
|
|
1131
|
+
{ url = "https://files.pythonhosted.org/packages/dc/16/bc3fd1d38974f6775fc152a0554f8c210ff80f2764b43777163c3c45d61b/ruff-0.9.2-py3-none-musllinux_1_2_i686.whl", hash = "sha256:492a5e44ad9b22a0ea98cf72e40305cbdaf27fac0d927f8bc9e1df316dcc96eb", size = 12014073 },
|
|
1132
|
+
{ url = "https://files.pythonhosted.org/packages/47/6b/e4ca048a8f2047eb652e1e8c755f384d1b7944f69ed69066a37acd4118b0/ruff-0.9.2-py3-none-musllinux_1_2_x86_64.whl", hash = "sha256:af1e9e9fe7b1f767264d26b1075ac4ad831c7db976911fa362d09b2d0356426a", size = 12435758 },
|
|
1133
|
+
{ url = "https://files.pythonhosted.org/packages/c2/40/4d3d6c979c67ba24cf183d29f706051a53c36d78358036a9cd21421582ab/ruff-0.9.2-py3-none-win32.whl", hash = "sha256:71cbe22e178c5da20e1514e1e01029c73dc09288a8028a5d3446e6bba87a5145", size = 9796916 },
|
|
1134
|
+
{ url = "https://files.pythonhosted.org/packages/c3/ef/7f548752bdb6867e6939489c87fe4da489ab36191525fadc5cede2a6e8e2/ruff-0.9.2-py3-none-win_amd64.whl", hash = "sha256:c5e1d6abc798419cf46eed03f54f2e0c3adb1ad4b801119dedf23fcaf69b55b5", size = 10773080 },
|
|
1135
|
+
{ url = "https://files.pythonhosted.org/packages/0e/4e/33df635528292bd2d18404e4daabcd74ca8a9853b2e1df85ed3d32d24362/ruff-0.9.2-py3-none-win_arm64.whl", hash = "sha256:a1b63fa24149918f8b37cef2ee6fff81f24f0d74b6f0bdc37bc3e1f2143e41c6", size = 10001738 },
|
|
1084
1136
|
]
|
|
1085
1137
|
|
|
1086
1138
|
[[package]]
|
|
@@ -1195,11 +1247,11 @@ wheels = [
|
|
|
1195
1247
|
|
|
1196
1248
|
[[package]]
|
|
1197
1249
|
name = "types-pyyaml"
|
|
1198
|
-
version = "6.0.12.
|
|
1250
|
+
version = "6.0.12.20241230"
|
|
1199
1251
|
source = { registry = "https://pypi.org/simple" }
|
|
1200
|
-
sdist = { url = "https://files.pythonhosted.org/packages/
|
|
1252
|
+
sdist = { url = "https://files.pythonhosted.org/packages/9a/f9/4d566925bcf9396136c0a2e5dc7e230ff08d86fa011a69888dd184469d80/types_pyyaml-6.0.12.20241230.tar.gz", hash = "sha256:7f07622dbd34bb9c8b264fe860a17e0efcad00d50b5f27e93984909d9363498c", size = 17078 }
|
|
1201
1253
|
wheels = [
|
|
1202
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
1254
|
+
{ url = "https://files.pythonhosted.org/packages/e8/c1/48474fbead512b70ccdb4f81ba5eb4a58f69d100ba19f17c92c0c4f50ae6/types_PyYAML-6.0.12.20241230-py3-none-any.whl", hash = "sha256:fa4d32565219b68e6dee5f67534c722e53c00d1cfc09c435ef04d7353e1e96e6", size = 20029 },
|
|
1203
1255
|
]
|
|
1204
1256
|
|
|
1205
1257
|
[[package]]
|
|
@@ -1228,3 +1280,15 @@ sdist = { url = "https://files.pythonhosted.org/packages/0b/02/ae6ceac1baeda5308
|
|
|
1228
1280
|
wheels = [
|
|
1229
1281
|
{ url = "https://files.pythonhosted.org/packages/f4/24/2a3e3df732393fed8b3ebf2ec078f05546de641fe1b667ee316ec1dcf3b7/webencodings-0.5.1-py2.py3-none-any.whl", hash = "sha256:a0af1213f3c2226497a97e2b3aa01a7e4bee4f403f95be16fc9acd2947514a78", size = 11774 },
|
|
1230
1282
|
]
|
|
1283
|
+
|
|
1284
|
+
[[package]]
|
|
1285
|
+
name = "werkzeug"
|
|
1286
|
+
version = "3.1.3"
|
|
1287
|
+
source = { registry = "https://pypi.org/simple" }
|
|
1288
|
+
dependencies = [
|
|
1289
|
+
{ name = "markupsafe" },
|
|
1290
|
+
]
|
|
1291
|
+
sdist = { url = "https://files.pythonhosted.org/packages/9f/69/83029f1f6300c5fb2471d621ab06f6ec6b3324685a2ce0f9777fd4a8b71e/werkzeug-3.1.3.tar.gz", hash = "sha256:60723ce945c19328679790e3282cc758aa4a6040e4bb330f53d30fa546d44746", size = 806925 }
|
|
1292
|
+
wheels = [
|
|
1293
|
+
{ url = "https://files.pythonhosted.org/packages/52/24/ab44c871b0f07f491e5d2ad12c9bd7358e527510618cb1b803a88e986db1/werkzeug-3.1.3-py3-none-any.whl", hash = "sha256:54b78bf3716d19a65be4fceccc0d1d7b89e608834989dfae50ea87564639213e", size = 224498 },
|
|
1294
|
+
]
|
mm_btc-0.1.3/PKG-INFO
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
Metadata-Version: 2.4
|
|
2
|
-
Name: mm-btc
|
|
3
|
-
Version: 0.1.3
|
|
4
|
-
Requires-Python: >=3.12
|
|
5
|
-
Requires-Dist: bitcoinlib~=0.7.1
|
|
6
|
-
Requires-Dist: bit~=0.8.0
|
|
7
|
-
Requires-Dist: hdwallet~=3.2.0
|
|
8
|
-
Requires-Dist: mm-std~=0.1.9
|
|
9
|
-
Requires-Dist: mnemonic>=0.21
|
|
10
|
-
Requires-Dist: typer>=0.15.1
|
mm_btc-0.1.3/pyproject.toml
DELETED
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
[project]
|
|
2
|
-
name = "mm-btc"
|
|
3
|
-
version = "0.1.3"
|
|
4
|
-
description = ""
|
|
5
|
-
requires-python = ">=3.12"
|
|
6
|
-
dependencies = [
|
|
7
|
-
"mm-std~=0.1.9",
|
|
8
|
-
"hdwallet~=3.2.0",
|
|
9
|
-
"bit~=0.8.0",
|
|
10
|
-
"bitcoinlib~=0.7.1",
|
|
11
|
-
"typer>=0.15.1",
|
|
12
|
-
"mnemonic>=0.21",
|
|
13
|
-
]
|
|
14
|
-
[project.scripts]
|
|
15
|
-
mm-btc = "mm_btc.cli.cli:app"
|
|
16
|
-
|
|
17
|
-
[build-system]
|
|
18
|
-
requires = ["hatchling"]
|
|
19
|
-
build-backend = "hatchling.build"
|
|
20
|
-
|
|
21
|
-
[tool.uv]
|
|
22
|
-
dev-dependencies = [
|
|
23
|
-
"pytest~=8.3.4",
|
|
24
|
-
"pytest-xdist~=3.6.1",
|
|
25
|
-
"ruff~=0.8.4",
|
|
26
|
-
"pip-audit~=2.7.3",
|
|
27
|
-
"bandit~=1.8.0",
|
|
28
|
-
"mypy~=1.14.0",
|
|
29
|
-
"types-PyYAML~=6.0.12.20241221",
|
|
30
|
-
]
|
|
31
|
-
|
|
32
|
-
[tool.mypy]
|
|
33
|
-
python_version = "3.13"
|
|
34
|
-
warn_no_return = false
|
|
35
|
-
strict = true
|
|
36
|
-
exclude = ["^tests/", "^tmp/"]
|
|
37
|
-
[[tool.mypy.overrides]]
|
|
38
|
-
module = ["hdwallet.*", "hdwallet.symbols.*", "bit.*", "bitcoinlib.transactions.*"]
|
|
39
|
-
ignore_missing_imports = true
|
|
40
|
-
|
|
41
|
-
[tool.ruff]
|
|
42
|
-
line-length = 130
|
|
43
|
-
target-version = "py313"
|
|
44
|
-
lint.select = [
|
|
45
|
-
"F", # Pyflakes
|
|
46
|
-
"E", "W", # pycodestyle
|
|
47
|
-
"UP", # pyupgrade
|
|
48
|
-
"B", # flake8-bugbear
|
|
49
|
-
"A", # flake8-builtins
|
|
50
|
-
"COM", # flake8-commas
|
|
51
|
-
"C40", # flake8-comprehensions
|
|
52
|
-
"G", # flake8-logging-format
|
|
53
|
-
"PIE", # flake8-pie
|
|
54
|
-
"T20", # flake8-print
|
|
55
|
-
"RUF", # Ruff-specific rules
|
|
56
|
-
]
|
|
57
|
-
lint.ignore = [
|
|
58
|
-
"A003", #builtin-attribute-shadowing
|
|
59
|
-
"UP040", # non-pep695-type-alias
|
|
60
|
-
"COM812",
|
|
61
|
-
]
|
|
62
|
-
[tool.ruff.format]
|
|
63
|
-
quote-style = "double"
|
|
64
|
-
indent-style = "space"
|
|
65
|
-
|
|
66
|
-
[tool.bandit]
|
|
67
|
-
exclude_dirs = ["tests"]
|
|
68
|
-
skips = ["B311"]
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|