mm-btc 0.2.0__tar.gz → 0.3.0__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.3.0/PKG-INFO +10 -0
- mm_btc-0.3.0/dict.dic +6 -0
- mm_btc-0.3.0/pyproject.toml +83 -0
- {mm_btc-0.2.0 → mm_btc-0.3.0}/src/mm_btc/blockstream.py +8 -11
- mm_btc-0.3.0/src/mm_btc/cli/cli.py +80 -0
- mm_btc-0.3.0/src/mm_btc/cli/cmd/address_cmd.py +10 -0
- mm_btc-0.3.0/src/mm_btc/cli/cmd/create_tx_cmd.py +27 -0
- mm_btc-0.3.0/src/mm_btc/cli/cmd/decode_tx_cmd.py +8 -0
- mm_btc-0.3.0/src/mm_btc/cli/cmd/mnemonic_cmd.py +49 -0
- mm_btc-0.3.0/src/mm_btc/cli/cmd/utxo_cmd.py +11 -0
- mm_btc-0.3.0/src/mm_btc/py.typed +0 -0
- {mm_btc-0.2.0 → mm_btc-0.3.0}/src/mm_btc/wallet.py +2 -6
- mm_btc-0.3.0/tests/__init__.py +0 -0
- mm_btc-0.3.0/tests/cmd/__init__.py +0 -0
- mm_btc-0.3.0/tests/cmd/test_mnemonic_cmd.py +23 -0
- {mm_btc-0.2.0 → mm_btc-0.3.0}/tests/conftest.py +6 -0
- {mm_btc-0.2.0 → mm_btc-0.3.0}/tests/test_blockstream.py +2 -2
- {mm_btc-0.2.0 → mm_btc-0.3.0}/uv.lock +198 -62
- mm_btc-0.2.0/PKG-INFO +0 -9
- mm_btc-0.2.0/pyproject.toml +0 -65
- {mm_btc-0.2.0 → mm_btc-0.3.0}/.env.example +0 -0
- {mm_btc-0.2.0 → mm_btc-0.3.0}/.gitignore +0 -0
- {mm_btc-0.2.0 → mm_btc-0.3.0}/README.txt +0 -0
- {mm_btc-0.2.0 → mm_btc-0.3.0}/justfile +0 -0
- {mm_btc-0.2.0 → mm_btc-0.3.0}/src/mm_btc/__init__.py +0 -0
- {mm_btc-0.2.0/tests → mm_btc-0.3.0/src/mm_btc/cli}/__init__.py +0 -0
- /mm_btc-0.2.0/src/mm_btc/py.typed → /mm_btc-0.3.0/src/mm_btc/cli/cmd/__init__.py +0 -0
- {mm_btc-0.2.0 → mm_btc-0.3.0}/src/mm_btc/tx.py +0 -0
- {mm_btc-0.2.0 → mm_btc-0.3.0}/tests/test_wallet.py +0 -0
mm_btc-0.3.0/PKG-INFO
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: mm-btc
|
|
3
|
+
Version: 0.3.0
|
|
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-crypto-utils>=0.1.3
|
|
9
|
+
Requires-Dist: mnemonic~=0.21
|
|
10
|
+
Requires-Dist: typer~=0.15.1
|
mm_btc-0.3.0/dict.dic
ADDED
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
[project]
|
|
2
|
+
name = "mm-btc"
|
|
3
|
+
version = "0.3.0"
|
|
4
|
+
description = ""
|
|
5
|
+
requires-python = ">=3.12"
|
|
6
|
+
dependencies = [
|
|
7
|
+
"mm-crypto-utils>=0.1.3",
|
|
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.4",
|
|
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
|
+
"TC", # flake8-type-checking, TYPE_CHECKING is dangerous, for example it doesn't work with pydantic
|
|
51
|
+
"A005", # flake8-builtins: stdlib-module-shadowing
|
|
52
|
+
"ERA001", # eradicate: commented-out-code
|
|
53
|
+
"PT", # flake8-pytest-style
|
|
54
|
+
"D", # pydocstyle
|
|
55
|
+
"FIX", # flake8-fixme
|
|
56
|
+
"PLR0911", # pylint: too-many-return-statements
|
|
57
|
+
"PLR0912", # pylint: too-many-branches
|
|
58
|
+
"PLR0913", # pylint: too-many-arguments
|
|
59
|
+
"PLR2004", # pylint: magic-value-comparison
|
|
60
|
+
"PLC0414", # pylint: useless-import-alias
|
|
61
|
+
"FBT", # flake8-boolean-trap
|
|
62
|
+
"EM", # flake8-errmsg
|
|
63
|
+
"TRY003", # tryceratops: raise-vanilla-args
|
|
64
|
+
"C901", # mccabe: complex-structure,
|
|
65
|
+
"BLE001", # flake8-blind-except
|
|
66
|
+
"S311", # bandit: suspicious-non-cryptographic-random-usage
|
|
67
|
+
"TD002", # flake8-todos: missing-todo-author
|
|
68
|
+
"TD003", # flake8-todos: missing-todo-link
|
|
69
|
+
"RET503", # flake8-return: implicit-return
|
|
70
|
+
"COM812", # it's used in ruff formatter
|
|
71
|
+
]
|
|
72
|
+
[tool.ruff.lint.pep8-naming]
|
|
73
|
+
classmethod-decorators = ["field_validator"]
|
|
74
|
+
[tool.ruff.lint.per-file-ignores]
|
|
75
|
+
"tests/*.py" = ["ANN", "S"]
|
|
76
|
+
[tool.ruff.format]
|
|
77
|
+
quote-style = "double"
|
|
78
|
+
indent-style = "space"
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+
[tool.bandit]
|
|
82
|
+
exclude_dirs = ["tests"]
|
|
83
|
+
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
|
|
@@ -8,10 +7,12 @@ from pydantic import BaseModel
|
|
|
8
7
|
MAINNET_BASE_URL = "https://blockstream.info/api"
|
|
9
8
|
TESTNET_BASE_URL = "https://blockstream.info/testnet/api"
|
|
10
9
|
|
|
11
|
-
ERROR_INVALID_ADDRESS = "INVALID_ADDRESS"
|
|
12
|
-
ERROR_INVALID_NETWORK = "INVALID_NETWORK"
|
|
10
|
+
# ERROR_INVALID_ADDRESS = "INVALID_ADDRESS"
|
|
11
|
+
# ERROR_INVALID_NETWORK = "INVALID_NETWORK"
|
|
13
12
|
|
|
14
|
-
|
|
13
|
+
ERROR_400_BAD_REQUEST = "400 Bad Request"
|
|
14
|
+
|
|
15
|
+
type Proxy = str | Sequence[str] | None
|
|
15
16
|
|
|
16
17
|
|
|
17
18
|
class Mempool(BaseModel):
|
|
@@ -54,7 +55,7 @@ class Utxo(BaseModel):
|
|
|
54
55
|
|
|
55
56
|
|
|
56
57
|
class BlockstreamClient:
|
|
57
|
-
def __init__(self, testnet: bool = False, timeout: int = 10, proxies: Proxy = None, attempts: int = 1):
|
|
58
|
+
def __init__(self, testnet: bool = False, timeout: int = 10, proxies: Proxy = None, attempts: int = 1) -> None:
|
|
58
59
|
self.testnet = testnet
|
|
59
60
|
self.timeout = timeout
|
|
60
61
|
self.proxies = proxies
|
|
@@ -68,12 +69,8 @@ class BlockstreamClient:
|
|
|
68
69
|
try:
|
|
69
70
|
res = self._request(f"/address/{address}")
|
|
70
71
|
data = res.to_dict()
|
|
71
|
-
if res.code == 400
|
|
72
|
-
|
|
73
|
-
):
|
|
74
|
-
return Err(ERROR_INVALID_ADDRESS, data=data)
|
|
75
|
-
elif res.code == 400 and "invalid network" in res.body.lower():
|
|
76
|
-
return Err(ERROR_INVALID_NETWORK, data=data)
|
|
72
|
+
if res.code == 400:
|
|
73
|
+
return Err("400 Bad Request", data=data)
|
|
77
74
|
return Ok(Address(**res.json), data=data)
|
|
78
75
|
except Exception as err:
|
|
79
76
|
result = Err(err, data=data)
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
import importlib.metadata
|
|
2
|
+
from pathlib import Path
|
|
3
|
+
from typing import Annotated
|
|
4
|
+
|
|
5
|
+
import typer
|
|
6
|
+
import typer.core
|
|
7
|
+
from mm_std import print_plain
|
|
8
|
+
|
|
9
|
+
from mm_btc.wallet import AddressType
|
|
10
|
+
|
|
11
|
+
from .cmd import address_cmd, create_tx_cmd, decode_tx_cmd, mnemonic_cmd, utxo_cmd
|
|
12
|
+
|
|
13
|
+
app = typer.Typer(no_args_is_help=True, pretty_exceptions_enable=False, add_completion=False)
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
@app.command("mnemonic")
|
|
17
|
+
@app.command(name="m", hidden=True)
|
|
18
|
+
def mnemonic_command( # nosec B107:hardcoded_password_default
|
|
19
|
+
mnemonic: Annotated[str, typer.Option("--mnemonic", "-m", help="")] = "",
|
|
20
|
+
passphrase: Annotated[str, typer.Option("--passphrase", "-p")] = "",
|
|
21
|
+
path: Annotated[str, typer.Option("--path", help="Derivation path. Examples: bip44, bip88, m/44'/0'/0'/0")] = "bip44",
|
|
22
|
+
address_type: Annotated[AddressType, typer.Option("--address-type", "-a", help="Bitcoin address type")] = AddressType.P2WPKH,
|
|
23
|
+
hex_: Annotated[bool, typer.Option("--hex", help="Print private key in hex format instead of WIF")] = False,
|
|
24
|
+
words: int = typer.Option(12, "--words", "-w", help="Number of mnemonic words"),
|
|
25
|
+
limit: int = typer.Option(10, "--limit", "-l"),
|
|
26
|
+
testnet: bool = typer.Option(False, "--testnet", "-t", help="Testnet network"),
|
|
27
|
+
) -> None:
|
|
28
|
+
"""Generate keys based on a mnemonic"""
|
|
29
|
+
mnemonic_cmd.run(
|
|
30
|
+
mnemonic_cmd.Args(
|
|
31
|
+
mnemonic=mnemonic,
|
|
32
|
+
passphrase=passphrase,
|
|
33
|
+
words=words,
|
|
34
|
+
limit=limit,
|
|
35
|
+
path=path,
|
|
36
|
+
address_type=address_type,
|
|
37
|
+
hex=hex_,
|
|
38
|
+
testnet=testnet,
|
|
39
|
+
)
|
|
40
|
+
)
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
@app.command(name="address")
|
|
44
|
+
@app.command(name="a", hidden=True)
|
|
45
|
+
def address_command(address: str) -> None:
|
|
46
|
+
"""Get address info from Blockstream API"""
|
|
47
|
+
address_cmd.run(address)
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
@app.command("create-tx")
|
|
51
|
+
def create_tx_command(config_path: Annotated[Path, typer.Argument(exists=True)]) -> None:
|
|
52
|
+
"""Create a transaction"""
|
|
53
|
+
create_tx_cmd.run(config_path)
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
@app.command("decode-tx")
|
|
57
|
+
def decode_tx_command(tx_hex: str, testnet: Annotated[bool, typer.Option("--testnet", "-t")] = False) -> None:
|
|
58
|
+
"""Decode a transaction"""
|
|
59
|
+
decode_tx_cmd.run(tx_hex, testnet)
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
@app.command("utxo")
|
|
63
|
+
def utxo_command(address: str) -> None:
|
|
64
|
+
"""Get UTXOs from Blockstream API"""
|
|
65
|
+
utxo_cmd.run(address)
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
def version_callback(value: bool) -> None:
|
|
69
|
+
if value:
|
|
70
|
+
print_plain(f"mm-btc: v{importlib.metadata.version('mm-btc')}")
|
|
71
|
+
raise typer.Exit
|
|
72
|
+
|
|
73
|
+
|
|
74
|
+
@app.callback()
|
|
75
|
+
def main(_version: bool = typer.Option(None, "--version", callback=version_callback, is_eager=True)) -> None:
|
|
76
|
+
pass
|
|
77
|
+
|
|
78
|
+
|
|
79
|
+
if __name__ == "__main_":
|
|
80
|
+
app()
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
from mm_std import print_json
|
|
2
|
+
|
|
3
|
+
from mm_btc.blockstream import BlockstreamClient
|
|
4
|
+
from mm_btc.wallet import is_testnet_address
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
def run(address: str) -> None:
|
|
8
|
+
client = BlockstreamClient(testnet=is_testnet_address(address))
|
|
9
|
+
res = client.get_address(address)
|
|
10
|
+
print_json(res)
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
from pathlib import Path
|
|
2
|
+
|
|
3
|
+
from bit import PrivateKey, PrivateKeyTestnet
|
|
4
|
+
from mm_std import BaseConfig, print_console
|
|
5
|
+
|
|
6
|
+
from mm_btc.wallet import is_testnet_address
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
class Config(BaseConfig):
|
|
10
|
+
class Output(BaseConfig):
|
|
11
|
+
address: str
|
|
12
|
+
amount: int
|
|
13
|
+
|
|
14
|
+
from_address: str
|
|
15
|
+
private: str
|
|
16
|
+
outputs: list[Output]
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
def run(config_path: Path) -> None:
|
|
20
|
+
config = Config.read_toml_config_or_exit(config_path)
|
|
21
|
+
testnet = is_testnet_address(config.from_address)
|
|
22
|
+
key = PrivateKeyTestnet(config.private) if testnet else PrivateKey(config.private)
|
|
23
|
+
|
|
24
|
+
outputs = [(o.address, o.amount, "satoshi") for o in config.outputs]
|
|
25
|
+
|
|
26
|
+
tx = key.create_transaction(outputs)
|
|
27
|
+
print_console(tx)
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
from dataclasses import dataclass
|
|
2
|
+
from enum import Enum
|
|
3
|
+
|
|
4
|
+
from mm_std import print_plain
|
|
5
|
+
|
|
6
|
+
from mm_btc.wallet import AddressType, derive_accounts, generate_mnemonic
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
class PrivateType(str, Enum):
|
|
10
|
+
hex = "hex"
|
|
11
|
+
wif = "wif"
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
@dataclass
|
|
15
|
+
class Args:
|
|
16
|
+
mnemonic: str
|
|
17
|
+
passphrase: str
|
|
18
|
+
words: int
|
|
19
|
+
limit: int
|
|
20
|
+
hex: bool # Print private key in hex format instead of WIF
|
|
21
|
+
address_type: AddressType
|
|
22
|
+
path: str
|
|
23
|
+
testnet: bool
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
def run(args: Args) -> None:
|
|
27
|
+
mnemonic = args.mnemonic or generate_mnemonic()
|
|
28
|
+
passphrase = args.passphrase
|
|
29
|
+
path = get_derivation_path_prefix(args.path, args.testnet)
|
|
30
|
+
accounts = derive_accounts(mnemonic, passphrase, path, args.address_type, args.limit)
|
|
31
|
+
|
|
32
|
+
print_plain(f"{mnemonic}")
|
|
33
|
+
if passphrase:
|
|
34
|
+
print_plain(f"{passphrase}")
|
|
35
|
+
for acc in accounts:
|
|
36
|
+
private = acc.private if args.hex else acc.wif
|
|
37
|
+
print_plain(f"{acc.path} {acc.address} {private}")
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
def get_derivation_path_prefix(path: str, testnet: bool) -> str:
|
|
41
|
+
if path.startswith("m/"):
|
|
42
|
+
return path
|
|
43
|
+
coin = "1" if testnet else "0"
|
|
44
|
+
if path == "bip44":
|
|
45
|
+
return f"m/44'/{coin}'/0'/0"
|
|
46
|
+
if path == "bip84":
|
|
47
|
+
return f"m/84'/{coin}'/0'/0"
|
|
48
|
+
|
|
49
|
+
raise ValueError("Invalid path")
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
from mm_std import print_json
|
|
2
|
+
|
|
3
|
+
from mm_btc.blockstream import BlockstreamClient
|
|
4
|
+
from mm_btc.wallet import is_testnet_address
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
def run(address: str) -> None:
|
|
8
|
+
client = BlockstreamClient(testnet=is_testnet_address(address))
|
|
9
|
+
res = client.get_utxo(address)
|
|
10
|
+
|
|
11
|
+
print_json(res.ok_or_err())
|
|
File without changes
|
|
@@ -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
|
|
File without changes
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import pytest
|
|
2
|
+
|
|
3
|
+
from mm_btc.cli.cli import app
|
|
4
|
+
from mm_btc.cli.cmd.mnemonic_cmd import get_derivation_path_prefix
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
def test_get_derivation_path_prefix():
|
|
8
|
+
assert get_derivation_path_prefix("m/11'/0'/0'/0", testnet=True) == "m/11'/0'/0'/0"
|
|
9
|
+
assert get_derivation_path_prefix("bip44", False) == "m/44'/0'/0'/0"
|
|
10
|
+
assert get_derivation_path_prefix("bip44", True) == "m/44'/1'/0'/0"
|
|
11
|
+
assert get_derivation_path_prefix("bip84", False) == "m/84'/0'/0'/0"
|
|
12
|
+
assert get_derivation_path_prefix("bip84", True) == "m/84'/1'/0'/0"
|
|
13
|
+
|
|
14
|
+
with pytest.raises(ValueError):
|
|
15
|
+
get_derivation_path_prefix("bip", True)
|
|
16
|
+
|
|
17
|
+
|
|
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()
|
|
@@ -15,11 +15,11 @@ def test_get_address(binance_address, proxies):
|
|
|
15
15
|
|
|
16
16
|
# invalid address
|
|
17
17
|
res = client.get_address("bc1pa48c294qk7yd7sc8y0wxydc3a2frv5j83e65rvm48v3ej098s5zs8kvh5d")
|
|
18
|
-
assert res.unwrap_err() == blockstream.
|
|
18
|
+
assert res.unwrap_err() == blockstream.ERROR_400_BAD_REQUEST
|
|
19
19
|
|
|
20
20
|
# invalid network
|
|
21
21
|
res = client.get_address("mqkwWDWdgXhYunfoKvQfYyydwB5vdma3cK")
|
|
22
|
-
assert res.unwrap_err() == blockstream.
|
|
22
|
+
assert res.unwrap_err() == blockstream.ERROR_400_BAD_REQUEST
|
|
23
23
|
|
|
24
24
|
|
|
25
25
|
def test_get_confirmed_balance(binance_address, proxies):
|
|
@@ -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]]
|
|
@@ -221,6 +221,18 @@ wheels = [
|
|
|
221
221
|
{ url = "https://files.pythonhosted.org/packages/bf/9b/08c0432272d77b04803958a4598a51e2a4b51c06640af8b8f0f908c18bf2/charset_normalizer-3.4.0-py3-none-any.whl", hash = "sha256:fe9f97feb71aa9896b81973a7bbada8c49501dc73e58a10fcef6663af95e5079", size = 49446 },
|
|
222
222
|
]
|
|
223
223
|
|
|
224
|
+
[[package]]
|
|
225
|
+
name = "click"
|
|
226
|
+
version = "8.1.8"
|
|
227
|
+
source = { registry = "https://pypi.org/simple" }
|
|
228
|
+
dependencies = [
|
|
229
|
+
{ name = "colorama", marker = "sys_platform == 'win32'" },
|
|
230
|
+
]
|
|
231
|
+
sdist = { url = "https://files.pythonhosted.org/packages/b9/2e/0090cbf739cee7d23781ad4b89a9894a41538e4fcf4c31dcdd705b78eb8b/click-8.1.8.tar.gz", hash = "sha256:ed53c9d8990d83c2a27deae68e4ee337473f6330c040a31d4225c9574d16096a", size = 226593 }
|
|
232
|
+
wheels = [
|
|
233
|
+
{ url = "https://files.pythonhosted.org/packages/7e/d4/7ebdbd03970677812aac39c869717059dbb71a4cfc033ca6e5221787892c/click-8.1.8-py3-none-any.whl", hash = "sha256:63c132bbbed01578a06712a2d1f497bb62d9c1c0d329b7903a866228027263b2", size = 98188 },
|
|
234
|
+
]
|
|
235
|
+
|
|
224
236
|
[[package]]
|
|
225
237
|
name = "coincurve"
|
|
226
238
|
version = "20.0.0"
|
|
@@ -415,7 +427,7 @@ wheels = [
|
|
|
415
427
|
|
|
416
428
|
[[package]]
|
|
417
429
|
name = "hdwallet"
|
|
418
|
-
version = "3.2.
|
|
430
|
+
version = "3.2.3"
|
|
419
431
|
source = { registry = "https://pypi.org/simple" }
|
|
420
432
|
dependencies = [
|
|
421
433
|
{ name = "base58" },
|
|
@@ -427,9 +439,9 @@ dependencies = [
|
|
|
427
439
|
{ name = "pycryptodome" },
|
|
428
440
|
{ name = "pynacl" },
|
|
429
441
|
]
|
|
430
|
-
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 }
|
|
431
443
|
wheels = [
|
|
432
|
-
{ 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 },
|
|
433
445
|
]
|
|
434
446
|
|
|
435
447
|
[[package]]
|
|
@@ -529,6 +541,19 @@ wheels = [
|
|
|
529
541
|
{ url = "https://files.pythonhosted.org/packages/fc/f8/5699e6d6ea5156d53059ff07464b5d64389b084f67cb08ec97c711e587fc/license_expression-30.4.0-py3-none-any.whl", hash = "sha256:7c8f240c6e20d759cb8455e49cb44a923d9e25c436bf48d7e5b8eea660782c04", size = 110571 },
|
|
530
542
|
]
|
|
531
543
|
|
|
544
|
+
[[package]]
|
|
545
|
+
name = "loguru"
|
|
546
|
+
version = "0.7.3"
|
|
547
|
+
source = { registry = "https://pypi.org/simple" }
|
|
548
|
+
dependencies = [
|
|
549
|
+
{ name = "colorama", marker = "sys_platform == 'win32'" },
|
|
550
|
+
{ name = "win32-setctime", marker = "sys_platform == 'win32'" },
|
|
551
|
+
]
|
|
552
|
+
sdist = { url = "https://files.pythonhosted.org/packages/3a/05/a1dae3dffd1116099471c643b8924f5aa6524411dc6c63fdae648c4f1aca/loguru-0.7.3.tar.gz", hash = "sha256:19480589e77d47b8d85b2c827ad95d49bf31b0dcde16593892eb51dd18706eb6", size = 63559 }
|
|
553
|
+
wheels = [
|
|
554
|
+
{ url = "https://files.pythonhosted.org/packages/0c/29/0348de65b8cc732daa3e33e67806420b2ae89bdce2b04af740289c5c6c8c/loguru-0.7.3-py3-none-any.whl", hash = "sha256:31a33c10c8e1e10422bfd431aeb5d351c7cf7fa671e3c4df004162264b28220c", size = 61595 },
|
|
555
|
+
]
|
|
556
|
+
|
|
532
557
|
[[package]]
|
|
533
558
|
name = "markdown-it-py"
|
|
534
559
|
version = "3.0.0"
|
|
@@ -541,6 +566,44 @@ wheels = [
|
|
|
541
566
|
{ url = "https://files.pythonhosted.org/packages/42/d7/1ec15b46af6af88f19b8e5ffea08fa375d433c998b8a7639e76935c14f1f/markdown_it_py-3.0.0-py3-none-any.whl", hash = "sha256:355216845c60bd96232cd8d8c40e8f9765cc86f46880e43a8fd22dc1a1a8cab1", size = 87528 },
|
|
542
567
|
]
|
|
543
568
|
|
|
569
|
+
[[package]]
|
|
570
|
+
name = "markupsafe"
|
|
571
|
+
version = "3.0.2"
|
|
572
|
+
source = { registry = "https://pypi.org/simple" }
|
|
573
|
+
sdist = { url = "https://files.pythonhosted.org/packages/b2/97/5d42485e71dfc078108a86d6de8fa46db44a1a9295e89c5d6d4a06e23a62/markupsafe-3.0.2.tar.gz", hash = "sha256:ee55d3edf80167e48ea11a923c7386f4669df67d7994554387f84e7d8b0a2bf0", size = 20537 }
|
|
574
|
+
wheels = [
|
|
575
|
+
{ 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 },
|
|
576
|
+
{ 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 },
|
|
577
|
+
{ 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 },
|
|
578
|
+
{ 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 },
|
|
579
|
+
{ 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 },
|
|
580
|
+
{ 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 },
|
|
581
|
+
{ 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 },
|
|
582
|
+
{ 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 },
|
|
583
|
+
{ url = "https://files.pythonhosted.org/packages/51/ae/97827349d3fcffee7e184bdf7f41cd6b88d9919c80f0263ba7acd1bbcb18/MarkupSafe-3.0.2-cp312-cp312-win32.whl", hash = "sha256:0f4ca02bea9a23221c0182836703cbf8930c5e9454bacce27e767509fa286a30", size = 15097 },
|
|
584
|
+
{ url = "https://files.pythonhosted.org/packages/c1/80/a61f99dc3a936413c3ee4e1eecac96c0da5ed07ad56fd975f1a9da5bc630/MarkupSafe-3.0.2-cp312-cp312-win_amd64.whl", hash = "sha256:8e06879fc22a25ca47312fbe7c8264eb0b662f6db27cb2d3bbbc74b1df4b9b87", size = 15601 },
|
|
585
|
+
{ 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 },
|
|
586
|
+
{ 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 },
|
|
587
|
+
{ 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 },
|
|
588
|
+
{ 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 },
|
|
589
|
+
{ 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 },
|
|
590
|
+
{ 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 },
|
|
591
|
+
{ 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 },
|
|
592
|
+
{ 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 },
|
|
593
|
+
{ url = "https://files.pythonhosted.org/packages/ee/55/c271b57db36f748f0e04a759ace9f8f759ccf22b4960c270c78a394f58be/MarkupSafe-3.0.2-cp313-cp313-win32.whl", hash = "sha256:bcf3e58998965654fdaff38e58584d8937aa3096ab5354d493c77d1fdd66d7a1", size = 15101 },
|
|
594
|
+
{ url = "https://files.pythonhosted.org/packages/29/88/07df22d2dd4df40aba9f3e402e6dc1b8ee86297dddbad4872bd5e7b0094f/MarkupSafe-3.0.2-cp313-cp313-win_amd64.whl", hash = "sha256:e6a2a455bd412959b57a172ce6328d2dd1f01cb2135efda2e4576e8a23fa3b0f", size = 15603 },
|
|
595
|
+
{ 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 },
|
|
596
|
+
{ 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 },
|
|
597
|
+
{ 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 },
|
|
598
|
+
{ 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 },
|
|
599
|
+
{ 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 },
|
|
600
|
+
{ 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 },
|
|
601
|
+
{ 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 },
|
|
602
|
+
{ 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 },
|
|
603
|
+
{ url = "https://files.pythonhosted.org/packages/82/78/fedb03c7d5380df2427038ec8d973587e90561b2d90cd472ce9254cf348b/MarkupSafe-3.0.2-cp313-cp313t-win32.whl", hash = "sha256:ba8062ed2cf21c07a9e295d5b8a2a5ce678b913b45fdf68c32d95d6c1291e0b6", size = 15208 },
|
|
604
|
+
{ url = "https://files.pythonhosted.org/packages/4f/65/6079a46068dfceaeabb5dcad6d674f5f5c61a6fa5673746f42a9f4c233b3/MarkupSafe-3.0.2-cp313-cp313t-win_amd64.whl", hash = "sha256:e444a31f8db13eb18ada366ab3cf45fd4b31e4db1236a4448f68778c1d1a5a2f", size = 15739 },
|
|
605
|
+
]
|
|
606
|
+
|
|
544
607
|
[[package]]
|
|
545
608
|
name = "mdurl"
|
|
546
609
|
version = "0.1.2"
|
|
@@ -552,14 +615,15 @@ wheels = [
|
|
|
552
615
|
|
|
553
616
|
[[package]]
|
|
554
617
|
name = "mm-btc"
|
|
555
|
-
version = "0.
|
|
618
|
+
version = "0.3.0"
|
|
556
619
|
source = { editable = "." }
|
|
557
620
|
dependencies = [
|
|
558
621
|
{ name = "bit" },
|
|
559
622
|
{ name = "bitcoinlib" },
|
|
560
623
|
{ name = "hdwallet" },
|
|
561
|
-
{ name = "mm-
|
|
624
|
+
{ name = "mm-crypto-utils" },
|
|
562
625
|
{ name = "mnemonic" },
|
|
626
|
+
{ name = "typer" },
|
|
563
627
|
]
|
|
564
628
|
|
|
565
629
|
[package.dev-dependencies]
|
|
@@ -568,6 +632,7 @@ dev = [
|
|
|
568
632
|
{ name = "mypy" },
|
|
569
633
|
{ name = "pip-audit" },
|
|
570
634
|
{ name = "pytest" },
|
|
635
|
+
{ name = "pytest-httpserver" },
|
|
571
636
|
{ name = "pytest-xdist" },
|
|
572
637
|
{ name = "ruff" },
|
|
573
638
|
{ name = "types-pyyaml" },
|
|
@@ -577,25 +642,39 @@ dev = [
|
|
|
577
642
|
requires-dist = [
|
|
578
643
|
{ name = "bit", specifier = "~=0.8.0" },
|
|
579
644
|
{ name = "bitcoinlib", specifier = "~=0.7.1" },
|
|
580
|
-
{ name = "hdwallet", specifier = "~=3.2.
|
|
581
|
-
{ name = "mm-
|
|
582
|
-
{ name = "mnemonic", specifier = "
|
|
645
|
+
{ name = "hdwallet", specifier = "~=3.2.3" },
|
|
646
|
+
{ name = "mm-crypto-utils", specifier = ">=0.1.3" },
|
|
647
|
+
{ name = "mnemonic", specifier = "~=0.21" },
|
|
648
|
+
{ name = "typer", specifier = "~=0.15.1" },
|
|
583
649
|
]
|
|
584
650
|
|
|
585
651
|
[package.metadata.requires-dev]
|
|
586
652
|
dev = [
|
|
587
|
-
{ name = "bandit", specifier = "~=1.8.
|
|
588
|
-
{ name = "mypy", specifier = "~=1.14.
|
|
653
|
+
{ name = "bandit", specifier = "~=1.8.2" },
|
|
654
|
+
{ name = "mypy", specifier = "~=1.14.1" },
|
|
589
655
|
{ name = "pip-audit", specifier = "~=2.7.3" },
|
|
590
656
|
{ name = "pytest", specifier = "~=8.3.4" },
|
|
657
|
+
{ name = "pytest-httpserver", specifier = "~=1.1.0" },
|
|
591
658
|
{ name = "pytest-xdist", specifier = "~=3.6.1" },
|
|
592
|
-
{ name = "ruff", specifier = "~=0.
|
|
593
|
-
{ name = "types-pyyaml", specifier = "~=6.0.12.
|
|
659
|
+
{ name = "ruff", specifier = "~=0.9.4" },
|
|
660
|
+
{ name = "types-pyyaml", specifier = "~=6.0.12.20241230" },
|
|
661
|
+
]
|
|
662
|
+
|
|
663
|
+
[[package]]
|
|
664
|
+
name = "mm-crypto-utils"
|
|
665
|
+
version = "0.1.3"
|
|
666
|
+
source = { registry = "https://pypi.org/simple" }
|
|
667
|
+
dependencies = [
|
|
668
|
+
{ name = "loguru" },
|
|
669
|
+
{ name = "mm-std" },
|
|
670
|
+
]
|
|
671
|
+
wheels = [
|
|
672
|
+
{ url = "https://files.pythonhosted.org/packages/67/a5/b6ff50a8b70b76c14c62b5cf7eebc8b9b9ba3422a4cb8cd895570ce4a1fc/mm_crypto_utils-0.1.3-py3-none-any.whl", hash = "sha256:ef6dd7639f4a298c29b5e5e7b11d0fc74cf66405f96c91daf1343695728bdeb7", size = 7847 },
|
|
594
673
|
]
|
|
595
674
|
|
|
596
675
|
[[package]]
|
|
597
676
|
name = "mm-std"
|
|
598
|
-
version = "0.1
|
|
677
|
+
version = "0.2.1"
|
|
599
678
|
source = { registry = "https://pypi.org/simple" }
|
|
600
679
|
dependencies = [
|
|
601
680
|
{ name = "cryptography" },
|
|
@@ -607,7 +686,7 @@ dependencies = [
|
|
|
607
686
|
{ name = "rich" },
|
|
608
687
|
]
|
|
609
688
|
wheels = [
|
|
610
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
689
|
+
{ url = "https://files.pythonhosted.org/packages/f3/ef/cb423cc357cc116313fcd97e9d0ff673234f5f1725f4a73929ced27b1d00/mm_std-0.2.1-py3-none-any.whl", hash = "sha256:71fa84f2fa897901c925614327123e8d0bc6ae61ff7873479dc9a53889442237", size = 14620 },
|
|
611
690
|
]
|
|
612
691
|
|
|
613
692
|
[[package]]
|
|
@@ -651,25 +730,27 @@ wheels = [
|
|
|
651
730
|
|
|
652
731
|
[[package]]
|
|
653
732
|
name = "mypy"
|
|
654
|
-
version = "1.14.
|
|
733
|
+
version = "1.14.1"
|
|
655
734
|
source = { registry = "https://pypi.org/simple" }
|
|
656
735
|
dependencies = [
|
|
657
736
|
{ name = "mypy-extensions" },
|
|
658
737
|
{ name = "typing-extensions" },
|
|
659
738
|
]
|
|
660
|
-
sdist = { url = "https://files.pythonhosted.org/packages/
|
|
739
|
+
sdist = { url = "https://files.pythonhosted.org/packages/b9/eb/2c92d8ea1e684440f54fa49ac5d9a5f19967b7b472a281f419e69a8d228e/mypy-1.14.1.tar.gz", hash = "sha256:7ec88144fe9b510e8475ec2f5f251992690fcf89ccb4500b214b4226abcd32d6", size = 3216051 }
|
|
661
740
|
wheels = [
|
|
662
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
663
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
664
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
665
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
666
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
667
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
668
|
-
{ url = "https://files.pythonhosted.org/packages/15/
|
|
669
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
670
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
671
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
672
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
741
|
+
{ 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 },
|
|
742
|
+
{ 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 },
|
|
743
|
+
{ 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 },
|
|
744
|
+
{ 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 },
|
|
745
|
+
{ 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 },
|
|
746
|
+
{ url = "https://files.pythonhosted.org/packages/6f/17/07815114b903b49b0f2cf7499f1c130e5aa459411596668267535fe9243c/mypy-1.14.1-cp312-cp312-win_amd64.whl", hash = "sha256:8fa2220e54d2946e94ab6dbb3ba0a992795bd68b16dc852db33028df2b00191b", size = 9879016 },
|
|
747
|
+
{ 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 },
|
|
748
|
+
{ 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 },
|
|
749
|
+
{ 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 },
|
|
750
|
+
{ 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 },
|
|
751
|
+
{ 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 },
|
|
752
|
+
{ url = "https://files.pythonhosted.org/packages/54/da/3d6fc5d92d324701b0c23fb413c853892bfe0e1dbe06c9138037d459756b/mypy-1.14.1-cp313-cp313-win_amd64.whl", hash = "sha256:8b21525cb51671219f5307be85f7e646a153e5acc656e5cebf64bfa076c50107", size = 9885276 },
|
|
753
|
+
{ url = "https://files.pythonhosted.org/packages/a0/b5/32dd67b69a16d088e533962e5044e51004176a9952419de0370cdaead0f8/mypy-1.14.1-py3-none-any.whl", hash = "sha256:b66a60cc4073aeb8ae00057f9c1f64d49e90f918fbcef9a977eb121da8b8f1d1", size = 2752905 },
|
|
673
754
|
]
|
|
674
755
|
|
|
675
756
|
[[package]]
|
|
@@ -846,22 +927,20 @@ wheels = [
|
|
|
846
927
|
{ 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 },
|
|
847
928
|
{ url = "https://files.pythonhosted.org/packages/14/71/4cbd3870d3e926c34706f705d6793159ac49d9a213e3ababcdade5864663/pycryptodome-3.21.0-cp36-abi3-win32.whl", hash = "sha256:280b67d20e33bb63171d55b1067f61fbd932e0b1ad976b3a184303a3dad22764", size = 1775641 },
|
|
848
929
|
{ url = "https://files.pythonhosted.org/packages/43/1d/81d59d228381576b92ecede5cd7239762c14001a828bdba30d64896e9778/pycryptodome-3.21.0-cp36-abi3-win_amd64.whl", hash = "sha256:b7aa25fc0baa5b1d95b7633af4f5f1838467f1815442b22487426f94e0d66c53", size = 1812863 },
|
|
849
|
-
{ 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 },
|
|
850
|
-
{ url = "https://files.pythonhosted.org/packages/a8/91/38e43628148f68ba9b68dedbc323cf409e537fd11264031961fd7c744034/pycryptodome-3.21.0-pp27-pypy_73-win32.whl", hash = "sha256:4c26a2f0dc15f81ea3afa3b0c87b87e501f235d332b7f27e2225ecb80c0b1cdd", size = 1765997 },
|
|
851
930
|
]
|
|
852
931
|
|
|
853
932
|
[[package]]
|
|
854
933
|
name = "pydantic"
|
|
855
|
-
version = "2.10.
|
|
934
|
+
version = "2.10.6"
|
|
856
935
|
source = { registry = "https://pypi.org/simple" }
|
|
857
936
|
dependencies = [
|
|
858
937
|
{ name = "annotated-types" },
|
|
859
938
|
{ name = "pydantic-core" },
|
|
860
939
|
{ name = "typing-extensions" },
|
|
861
940
|
]
|
|
862
|
-
sdist = { url = "https://files.pythonhosted.org/packages/
|
|
941
|
+
sdist = { url = "https://files.pythonhosted.org/packages/b7/ae/d5220c5c52b158b1de7ca89fc5edb72f304a70a4c540c84c8844bf4008de/pydantic-2.10.6.tar.gz", hash = "sha256:ca5daa827cce33de7a42be142548b0096bf05a7e7b365aebfa5f8eeec7128236", size = 761681 }
|
|
863
942
|
wheels = [
|
|
864
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
943
|
+
{ url = "https://files.pythonhosted.org/packages/f4/3c/8cc1cc84deffa6e25d2d0c688ebb80635dfdbf1dbea3e30c541c8cf4d860/pydantic-2.10.6-py3-none-any.whl", hash = "sha256:427d664bf0b8a2b34ff5dd0f5a18df00591adcee7198fbd71981054cef37b584", size = 431696 },
|
|
865
944
|
]
|
|
866
945
|
|
|
867
946
|
[[package]]
|
|
@@ -905,14 +984,14 @@ wheels = [
|
|
|
905
984
|
|
|
906
985
|
[[package]]
|
|
907
986
|
name = "pydash"
|
|
908
|
-
version = "8.0.
|
|
987
|
+
version = "8.0.5"
|
|
909
988
|
source = { registry = "https://pypi.org/simple" }
|
|
910
989
|
dependencies = [
|
|
911
990
|
{ name = "typing-extensions" },
|
|
912
991
|
]
|
|
913
|
-
sdist = { url = "https://files.pythonhosted.org/packages/
|
|
992
|
+
sdist = { url = "https://files.pythonhosted.org/packages/2f/24/91c037f47e434172c2112d65c00c84d475a6715425e3315ba2cbb7a87e66/pydash-8.0.5.tar.gz", hash = "sha256:7cc44ebfe5d362f4f5f06c74c8684143c5ac481376b059ff02570705523f9e2e", size = 164861 }
|
|
914
993
|
wheels = [
|
|
915
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
994
|
+
{ url = "https://files.pythonhosted.org/packages/2c/86/e74c978800131c657fc5145f2c1c63e0cea01a49b6216f729cf77a2e1edf/pydash-8.0.5-py3-none-any.whl", hash = "sha256:b2625f8981862e19911daa07f80ed47b315ce20d9b5eb57aaf97aaf570c3892f", size = 102077 },
|
|
916
995
|
]
|
|
917
996
|
|
|
918
997
|
[[package]]
|
|
@@ -968,6 +1047,18 @@ wheels = [
|
|
|
968
1047
|
{ url = "https://files.pythonhosted.org/packages/11/92/76a1c94d3afee238333bc0a42b82935dd8f9cf8ce9e336ff87ee14d9e1cf/pytest-8.3.4-py3-none-any.whl", hash = "sha256:50e16d954148559c9a74109af1eaf0c945ba2d8f30f0a3d3335edde19788b6f6", size = 343083 },
|
|
969
1048
|
]
|
|
970
1049
|
|
|
1050
|
+
[[package]]
|
|
1051
|
+
name = "pytest-httpserver"
|
|
1052
|
+
version = "1.1.0"
|
|
1053
|
+
source = { registry = "https://pypi.org/simple" }
|
|
1054
|
+
dependencies = [
|
|
1055
|
+
{ name = "werkzeug" },
|
|
1056
|
+
]
|
|
1057
|
+
sdist = { url = "https://files.pythonhosted.org/packages/12/53/aa5aa8518246848251243a21440f167b812bd40896546061c1fda814c10c/pytest_httpserver-1.1.0.tar.gz", hash = "sha256:6b1cb0199e2ed551b1b94d43f096863bbf6ae5bcd7c75c2c06845e5ce2dc8701", size = 67210 }
|
|
1058
|
+
wheels = [
|
|
1059
|
+
{ url = "https://files.pythonhosted.org/packages/1d/29/c5dfce47d5f575e46e2d4a4257cd43cc199a8014f506d14d808e03d6f8cd/pytest_httpserver-1.1.0-py3-none-any.whl", hash = "sha256:7ef88be8ed3354b6784daa3daa75a422370327c634053cefb124903fa8d73a41", size = 20671 },
|
|
1060
|
+
]
|
|
1061
|
+
|
|
971
1062
|
[[package]]
|
|
972
1063
|
name = "pytest-xdist"
|
|
973
1064
|
version = "3.6.1"
|
|
@@ -1046,27 +1137,36 @@ wheels = [
|
|
|
1046
1137
|
|
|
1047
1138
|
[[package]]
|
|
1048
1139
|
name = "ruff"
|
|
1049
|
-
version = "0.
|
|
1050
|
-
source = { registry = "https://pypi.org/simple" }
|
|
1051
|
-
sdist = { url = "https://files.pythonhosted.org/packages/
|
|
1052
|
-
wheels = [
|
|
1053
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
1054
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
1055
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
1056
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
1057
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
1058
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
1059
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
1060
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
1061
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
1062
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
1063
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
1064
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
1065
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
1066
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
1067
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
1068
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
1069
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
1140
|
+
version = "0.9.4"
|
|
1141
|
+
source = { registry = "https://pypi.org/simple" }
|
|
1142
|
+
sdist = { url = "https://files.pythonhosted.org/packages/c0/17/529e78f49fc6f8076f50d985edd9a2cf011d1dbadb1cdeacc1d12afc1d26/ruff-0.9.4.tar.gz", hash = "sha256:6907ee3529244bb0ed066683e075f09285b38dd5b4039370df6ff06041ca19e7", size = 3599458 }
|
|
1143
|
+
wheels = [
|
|
1144
|
+
{ url = "https://files.pythonhosted.org/packages/b6/f8/3fafb7804d82e0699a122101b5bee5f0d6e17c3a806dcbc527bb7d3f5b7a/ruff-0.9.4-py3-none-linux_armv6l.whl", hash = "sha256:64e73d25b954f71ff100bb70f39f1ee09e880728efb4250c632ceed4e4cdf706", size = 11668400 },
|
|
1145
|
+
{ url = "https://files.pythonhosted.org/packages/2e/a6/2efa772d335da48a70ab2c6bb41a096c8517ca43c086ea672d51079e3d1f/ruff-0.9.4-py3-none-macosx_10_12_x86_64.whl", hash = "sha256:6ce6743ed64d9afab4fafeaea70d3631b4d4b28b592db21a5c2d1f0ef52934bf", size = 11628395 },
|
|
1146
|
+
{ url = "https://files.pythonhosted.org/packages/dc/d7/cd822437561082f1c9d7225cc0d0fbb4bad117ad7ac3c41cd5d7f0fa948c/ruff-0.9.4-py3-none-macosx_11_0_arm64.whl", hash = "sha256:54499fb08408e32b57360f6f9de7157a5fec24ad79cb3f42ef2c3f3f728dfe2b", size = 11090052 },
|
|
1147
|
+
{ url = "https://files.pythonhosted.org/packages/9e/67/3660d58e893d470abb9a13f679223368ff1684a4ef40f254a0157f51b448/ruff-0.9.4-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:37c892540108314a6f01f105040b5106aeb829fa5fb0561d2dcaf71485021137", size = 11882221 },
|
|
1148
|
+
{ url = "https://files.pythonhosted.org/packages/79/d1/757559995c8ba5f14dfec4459ef2dd3fcea82ac43bc4e7c7bf47484180c0/ruff-0.9.4-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:de9edf2ce4b9ddf43fd93e20ef635a900e25f622f87ed6e3047a664d0e8f810e", size = 11424862 },
|
|
1149
|
+
{ url = "https://files.pythonhosted.org/packages/c0/96/7915a7c6877bb734caa6a2af424045baf6419f685632469643dbd8eb2958/ruff-0.9.4-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:87c90c32357c74f11deb7fbb065126d91771b207bf9bfaaee01277ca59b574ec", size = 12626735 },
|
|
1150
|
+
{ url = "https://files.pythonhosted.org/packages/0e/cc/dadb9b35473d7cb17c7ffe4737b4377aeec519a446ee8514123ff4a26091/ruff-0.9.4-py3-none-manylinux_2_17_ppc64.manylinux2014_ppc64.whl", hash = "sha256:56acd6c694da3695a7461cc55775f3a409c3815ac467279dfa126061d84b314b", size = 13255976 },
|
|
1151
|
+
{ url = "https://files.pythonhosted.org/packages/5f/c3/ad2dd59d3cabbc12df308cced780f9c14367f0321e7800ca0fe52849da4c/ruff-0.9.4-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:e0c93e7d47ed951b9394cf352d6695b31498e68fd5782d6cbc282425655f687a", size = 12752262 },
|
|
1152
|
+
{ url = "https://files.pythonhosted.org/packages/c7/17/5f1971e54bd71604da6788efd84d66d789362b1105e17e5ccc53bba0289b/ruff-0.9.4-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:1d4c8772670aecf037d1bf7a07c39106574d143b26cfe5ed1787d2f31e800214", size = 14401648 },
|
|
1153
|
+
{ url = "https://files.pythonhosted.org/packages/30/24/6200b13ea611b83260501b6955b764bb320e23b2b75884c60ee7d3f0b68e/ruff-0.9.4-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:bfc5f1d7afeda8d5d37660eeca6d389b142d7f2b5a1ab659d9214ebd0e025231", size = 12414702 },
|
|
1154
|
+
{ url = "https://files.pythonhosted.org/packages/34/cb/f5d50d0c4ecdcc7670e348bd0b11878154bc4617f3fdd1e8ad5297c0d0ba/ruff-0.9.4-py3-none-musllinux_1_2_aarch64.whl", hash = "sha256:faa935fc00ae854d8b638c16a5f1ce881bc3f67446957dd6f2af440a5fc8526b", size = 11859608 },
|
|
1155
|
+
{ url = "https://files.pythonhosted.org/packages/d6/f4/9c8499ae8426da48363bbb78d081b817b0f64a9305f9b7f87eab2a8fb2c1/ruff-0.9.4-py3-none-musllinux_1_2_armv7l.whl", hash = "sha256:a6c634fc6f5a0ceae1ab3e13c58183978185d131a29c425e4eaa9f40afe1e6d6", size = 11485702 },
|
|
1156
|
+
{ url = "https://files.pythonhosted.org/packages/18/59/30490e483e804ccaa8147dd78c52e44ff96e1c30b5a95d69a63163cdb15b/ruff-0.9.4-py3-none-musllinux_1_2_i686.whl", hash = "sha256:433dedf6ddfdec7f1ac7575ec1eb9844fa60c4c8c2f8887a070672b8d353d34c", size = 12067782 },
|
|
1157
|
+
{ url = "https://files.pythonhosted.org/packages/3d/8c/893fa9551760b2f8eb2a351b603e96f15af167ceaf27e27ad873570bc04c/ruff-0.9.4-py3-none-musllinux_1_2_x86_64.whl", hash = "sha256:d612dbd0f3a919a8cc1d12037168bfa536862066808960e0cc901404b77968f0", size = 12483087 },
|
|
1158
|
+
{ url = "https://files.pythonhosted.org/packages/23/15/f6751c07c21ca10e3f4a51ea495ca975ad936d780c347d9808bcedbd7182/ruff-0.9.4-py3-none-win32.whl", hash = "sha256:db1192ddda2200671f9ef61d9597fcef89d934f5d1705e571a93a67fb13a4402", size = 9852302 },
|
|
1159
|
+
{ url = "https://files.pythonhosted.org/packages/12/41/2d2d2c6a72e62566f730e49254f602dfed23019c33b5b21ea8f8917315a1/ruff-0.9.4-py3-none-win_amd64.whl", hash = "sha256:05bebf4cdbe3ef75430d26c375773978950bbf4ee3c95ccb5448940dc092408e", size = 10850051 },
|
|
1160
|
+
{ url = "https://files.pythonhosted.org/packages/c6/e6/3d6ec3bc3d254e7f005c543a661a41c3e788976d0e52a1ada195bd664344/ruff-0.9.4-py3-none-win_arm64.whl", hash = "sha256:585792f1e81509e38ac5123492f8875fbc36f3ede8185af0a26df348e5154f41", size = 10078251 },
|
|
1161
|
+
]
|
|
1162
|
+
|
|
1163
|
+
[[package]]
|
|
1164
|
+
name = "shellingham"
|
|
1165
|
+
version = "1.5.4"
|
|
1166
|
+
source = { registry = "https://pypi.org/simple" }
|
|
1167
|
+
sdist = { url = "https://files.pythonhosted.org/packages/58/15/8b3609fd3830ef7b27b655beb4b4e9c62313a4e8da8c676e142cc210d58e/shellingham-1.5.4.tar.gz", hash = "sha256:8dbca0739d487e5bd35ab3ca4b36e11c4078f3a234bfce294b0a0291363404de", size = 10310 }
|
|
1168
|
+
wheels = [
|
|
1169
|
+
{ url = "https://files.pythonhosted.org/packages/e0/f9/0595336914c5619e5f28a1fb793285925a8cd4b432c9da0a987836c7f822/shellingham-1.5.4-py2.py3-none-any.whl", hash = "sha256:7ecfff8f2fd72616f7481040475a65b2bf8af90a56c89140852d1120324e8686", size = 9755 },
|
|
1070
1170
|
]
|
|
1071
1171
|
|
|
1072
1172
|
[[package]]
|
|
@@ -1155,13 +1255,28 @@ wheels = [
|
|
|
1155
1255
|
{ url = "https://files.pythonhosted.org/packages/44/6f/7120676b6d73228c96e17f1f794d8ab046fc910d781c8d151120c3f1569e/toml-0.10.2-py2.py3-none-any.whl", hash = "sha256:806143ae5bfb6a3c6e736a764057db0e6a0e05e338b5630894a5f779cabb4f9b", size = 16588 },
|
|
1156
1256
|
]
|
|
1157
1257
|
|
|
1258
|
+
[[package]]
|
|
1259
|
+
name = "typer"
|
|
1260
|
+
version = "0.15.1"
|
|
1261
|
+
source = { registry = "https://pypi.org/simple" }
|
|
1262
|
+
dependencies = [
|
|
1263
|
+
{ name = "click" },
|
|
1264
|
+
{ name = "rich" },
|
|
1265
|
+
{ name = "shellingham" },
|
|
1266
|
+
{ name = "typing-extensions" },
|
|
1267
|
+
]
|
|
1268
|
+
sdist = { url = "https://files.pythonhosted.org/packages/cb/ce/dca7b219718afd37a0068f4f2530a727c2b74a8b6e8e0c0080a4c0de4fcd/typer-0.15.1.tar.gz", hash = "sha256:a0588c0a7fa68a1978a069818657778f86abe6ff5ea6abf472f940a08bfe4f0a", size = 99789 }
|
|
1269
|
+
wheels = [
|
|
1270
|
+
{ url = "https://files.pythonhosted.org/packages/d0/cc/0a838ba5ca64dc832aa43f727bd586309846b0ffb2ce52422543e6075e8a/typer-0.15.1-py3-none-any.whl", hash = "sha256:7994fb7b8155b64d3402518560648446072864beefd44aa2dc36972a5972e847", size = 44908 },
|
|
1271
|
+
]
|
|
1272
|
+
|
|
1158
1273
|
[[package]]
|
|
1159
1274
|
name = "types-pyyaml"
|
|
1160
|
-
version = "6.0.12.
|
|
1275
|
+
version = "6.0.12.20241230"
|
|
1161
1276
|
source = { registry = "https://pypi.org/simple" }
|
|
1162
|
-
sdist = { url = "https://files.pythonhosted.org/packages/
|
|
1277
|
+
sdist = { url = "https://files.pythonhosted.org/packages/9a/f9/4d566925bcf9396136c0a2e5dc7e230ff08d86fa011a69888dd184469d80/types_pyyaml-6.0.12.20241230.tar.gz", hash = "sha256:7f07622dbd34bb9c8b264fe860a17e0efcad00d50b5f27e93984909d9363498c", size = 17078 }
|
|
1163
1278
|
wheels = [
|
|
1164
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
1279
|
+
{ url = "https://files.pythonhosted.org/packages/e8/c1/48474fbead512b70ccdb4f81ba5eb4a58f69d100ba19f17c92c0c4f50ae6/types_PyYAML-6.0.12.20241230-py3-none-any.whl", hash = "sha256:fa4d32565219b68e6dee5f67534c722e53c00d1cfc09c435ef04d7353e1e96e6", size = 20029 },
|
|
1165
1280
|
]
|
|
1166
1281
|
|
|
1167
1282
|
[[package]]
|
|
@@ -1190,3 +1305,24 @@ sdist = { url = "https://files.pythonhosted.org/packages/0b/02/ae6ceac1baeda5308
|
|
|
1190
1305
|
wheels = [
|
|
1191
1306
|
{ url = "https://files.pythonhosted.org/packages/f4/24/2a3e3df732393fed8b3ebf2ec078f05546de641fe1b667ee316ec1dcf3b7/webencodings-0.5.1-py2.py3-none-any.whl", hash = "sha256:a0af1213f3c2226497a97e2b3aa01a7e4bee4f403f95be16fc9acd2947514a78", size = 11774 },
|
|
1192
1307
|
]
|
|
1308
|
+
|
|
1309
|
+
[[package]]
|
|
1310
|
+
name = "werkzeug"
|
|
1311
|
+
version = "3.1.3"
|
|
1312
|
+
source = { registry = "https://pypi.org/simple" }
|
|
1313
|
+
dependencies = [
|
|
1314
|
+
{ name = "markupsafe" },
|
|
1315
|
+
]
|
|
1316
|
+
sdist = { url = "https://files.pythonhosted.org/packages/9f/69/83029f1f6300c5fb2471d621ab06f6ec6b3324685a2ce0f9777fd4a8b71e/werkzeug-3.1.3.tar.gz", hash = "sha256:60723ce945c19328679790e3282cc758aa4a6040e4bb330f53d30fa546d44746", size = 806925 }
|
|
1317
|
+
wheels = [
|
|
1318
|
+
{ url = "https://files.pythonhosted.org/packages/52/24/ab44c871b0f07f491e5d2ad12c9bd7358e527510618cb1b803a88e986db1/werkzeug-3.1.3-py3-none-any.whl", hash = "sha256:54b78bf3716d19a65be4fceccc0d1d7b89e608834989dfae50ea87564639213e", size = 224498 },
|
|
1319
|
+
]
|
|
1320
|
+
|
|
1321
|
+
[[package]]
|
|
1322
|
+
name = "win32-setctime"
|
|
1323
|
+
version = "1.2.0"
|
|
1324
|
+
source = { registry = "https://pypi.org/simple" }
|
|
1325
|
+
sdist = { url = "https://files.pythonhosted.org/packages/b3/8f/705086c9d734d3b663af0e9bb3d4de6578d08f46b1b101c2442fd9aecaa2/win32_setctime-1.2.0.tar.gz", hash = "sha256:ae1fdf948f5640aae05c511ade119313fb6a30d7eabe25fef9764dca5873c4c0", size = 4867 }
|
|
1326
|
+
wheels = [
|
|
1327
|
+
{ url = "https://files.pythonhosted.org/packages/e1/07/c6fe3ad3e685340704d314d765b7912993bcb8dc198f0e7a89382d37974b/win32_setctime-1.2.0-py3-none-any.whl", hash = "sha256:95d644c4e708aba81dc3704a116d8cbc974d70b3bdb8be1d150e36be6e9d1390", size = 4083 },
|
|
1328
|
+
]
|
mm_btc-0.2.0/PKG-INFO
DELETED
mm_btc-0.2.0/pyproject.toml
DELETED
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
[project]
|
|
2
|
-
name = "mm-btc"
|
|
3
|
-
version = "0.2.0"
|
|
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
|
-
"mnemonic>=0.21",
|
|
12
|
-
]
|
|
13
|
-
|
|
14
|
-
[build-system]
|
|
15
|
-
requires = ["hatchling"]
|
|
16
|
-
build-backend = "hatchling.build"
|
|
17
|
-
|
|
18
|
-
[tool.uv]
|
|
19
|
-
dev-dependencies = [
|
|
20
|
-
"pytest~=8.3.4",
|
|
21
|
-
"pytest-xdist~=3.6.1",
|
|
22
|
-
"ruff~=0.8.4",
|
|
23
|
-
"pip-audit~=2.7.3",
|
|
24
|
-
"bandit~=1.8.0",
|
|
25
|
-
"mypy~=1.14.0",
|
|
26
|
-
"types-PyYAML~=6.0.12.20241221",
|
|
27
|
-
]
|
|
28
|
-
|
|
29
|
-
[tool.mypy]
|
|
30
|
-
python_version = "3.13"
|
|
31
|
-
warn_no_return = false
|
|
32
|
-
strict = true
|
|
33
|
-
exclude = ["^tests/", "^tmp/"]
|
|
34
|
-
[[tool.mypy.overrides]]
|
|
35
|
-
module = ["hdwallet.*", "hdwallet.symbols.*", "bit.*", "bitcoinlib.transactions.*"]
|
|
36
|
-
ignore_missing_imports = true
|
|
37
|
-
|
|
38
|
-
[tool.ruff]
|
|
39
|
-
line-length = 130
|
|
40
|
-
target-version = "py313"
|
|
41
|
-
lint.select = [
|
|
42
|
-
"F", # Pyflakes
|
|
43
|
-
"E", "W", # pycodestyle
|
|
44
|
-
"UP", # pyupgrade
|
|
45
|
-
"B", # flake8-bugbear
|
|
46
|
-
"A", # flake8-builtins
|
|
47
|
-
"COM", # flake8-commas
|
|
48
|
-
"C40", # flake8-comprehensions
|
|
49
|
-
"G", # flake8-logging-format
|
|
50
|
-
"PIE", # flake8-pie
|
|
51
|
-
"T20", # flake8-print
|
|
52
|
-
"RUF", # Ruff-specific rules
|
|
53
|
-
]
|
|
54
|
-
lint.ignore = [
|
|
55
|
-
"A003", #builtin-attribute-shadowing
|
|
56
|
-
"UP040", # non-pep695-type-alias
|
|
57
|
-
"COM812",
|
|
58
|
-
]
|
|
59
|
-
[tool.ruff.format]
|
|
60
|
-
quote-style = "double"
|
|
61
|
-
indent-style = "space"
|
|
62
|
-
|
|
63
|
-
[tool.bandit]
|
|
64
|
-
exclude_dirs = ["tests"]
|
|
65
|
-
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
|