bittensor-cli 8.4.4__py3-none-any.whl → 9.0.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- bittensor_cli/__init__.py +1 -1
- bittensor_cli/cli.py +1827 -1394
- bittensor_cli/src/__init__.py +623 -168
- bittensor_cli/src/bittensor/balances.py +41 -8
- bittensor_cli/src/bittensor/chain_data.py +557 -428
- bittensor_cli/src/bittensor/extrinsics/registration.py +129 -23
- bittensor_cli/src/bittensor/extrinsics/root.py +3 -3
- bittensor_cli/src/bittensor/extrinsics/transfer.py +6 -11
- bittensor_cli/src/bittensor/minigraph.py +46 -8
- bittensor_cli/src/bittensor/subtensor_interface.py +567 -250
- bittensor_cli/src/bittensor/utils.py +370 -25
- bittensor_cli/src/commands/stake/__init__.py +154 -0
- bittensor_cli/src/commands/stake/add.py +625 -0
- bittensor_cli/src/commands/stake/children_hotkeys.py +103 -75
- bittensor_cli/src/commands/stake/list.py +687 -0
- bittensor_cli/src/commands/stake/move.py +1000 -0
- bittensor_cli/src/commands/stake/remove.py +1146 -0
- bittensor_cli/src/commands/subnets/__init__.py +0 -0
- bittensor_cli/src/commands/subnets/price.py +867 -0
- bittensor_cli/src/commands/subnets/subnets.py +2028 -0
- bittensor_cli/src/commands/sudo.py +554 -12
- bittensor_cli/src/commands/wallets.py +225 -531
- bittensor_cli/src/commands/weights.py +2 -2
- {bittensor_cli-8.4.4.dist-info → bittensor_cli-9.0.0.dist-info}/METADATA +7 -4
- bittensor_cli-9.0.0.dist-info/RECORD +34 -0
- bittensor_cli/src/bittensor/async_substrate_interface.py +0 -2748
- bittensor_cli/src/commands/root.py +0 -1787
- bittensor_cli/src/commands/stake/stake.py +0 -1448
- bittensor_cli/src/commands/subnets.py +0 -897
- bittensor_cli-8.4.4.dist-info/RECORD +0 -31
- {bittensor_cli-8.4.4.dist-info → bittensor_cli-9.0.0.dist-info}/WHEEL +0 -0
- {bittensor_cli-8.4.4.dist-info → bittensor_cli-9.0.0.dist-info}/entry_points.txt +0 -0
- {bittensor_cli-8.4.4.dist-info → bittensor_cli-9.0.0.dist-info}/top_level.txt +0 -0
@@ -7,7 +7,7 @@ from bittensor_wallet import Wallet
|
|
7
7
|
import numpy as np
|
8
8
|
from numpy.typing import NDArray
|
9
9
|
from rich.prompt import Confirm
|
10
|
-
from
|
10
|
+
from async_substrate_interface.errors import SubstrateRequestException
|
11
11
|
|
12
12
|
from bittensor_cli.src.bittensor.utils import err_console, console, format_error_message
|
13
13
|
from bittensor_cli.src.bittensor.extrinsics.root import (
|
@@ -146,7 +146,7 @@ class SetWeightsExtrinsic:
|
|
146
146
|
) -> tuple[bool, str]:
|
147
147
|
interval = int(
|
148
148
|
await self.subtensor.get_hyperparameter(
|
149
|
-
param_name="
|
149
|
+
param_name="get_commit_reveal_period",
|
150
150
|
netuid=self.netuid,
|
151
151
|
reuse_block=False,
|
152
152
|
)
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: bittensor-cli
|
3
|
-
Version:
|
3
|
+
Version: 9.0.0
|
4
4
|
Summary: Bittensor CLI
|
5
5
|
Home-page: https://github.com/opentensor/btcli
|
6
6
|
Author: bittensor.com
|
@@ -25,6 +25,7 @@ Requires-Python: >=3.9
|
|
25
25
|
Description-Content-Type: text/markdown
|
26
26
|
Requires-Dist: wheel
|
27
27
|
Requires-Dist: async-property==0.2.2
|
28
|
+
Requires-Dist: async-substrate-interface>=1.0.0
|
28
29
|
Requires-Dist: aiohttp~=3.10.2
|
29
30
|
Requires-Dist: backoff~=2.2.1
|
30
31
|
Requires-Dist: GitPython>=3.0.0
|
@@ -38,11 +39,12 @@ Requires-Dist: pytest
|
|
38
39
|
Requires-Dist: python-Levenshtein
|
39
40
|
Requires-Dist: rich~=13.7
|
40
41
|
Requires-Dist: scalecodec==1.2.11
|
41
|
-
Requires-Dist: substrate-interface~=1.7.9
|
42
42
|
Requires-Dist: typer~=0.12
|
43
43
|
Requires-Dist: websockets>=14.1
|
44
|
-
Requires-Dist: bittensor-wallet>=3.0.
|
45
|
-
Requires-Dist:
|
44
|
+
Requires-Dist: bittensor-wallet>=3.0.3
|
45
|
+
Requires-Dist: plotille
|
46
|
+
Requires-Dist: pywry
|
47
|
+
Requires-Dist: plotly
|
46
48
|
Provides-Extra: cuda
|
47
49
|
Requires-Dist: cubit>=1.1.0; extra == "cuda"
|
48
50
|
Requires-Dist: torch; extra == "cuda"
|
@@ -50,6 +52,7 @@ Requires-Dist: torch; extra == "cuda"
|
|
50
52
|
<div align="center">
|
51
53
|
|
52
54
|
# Bittensor CLI <!-- omit in toc -->
|
55
|
+
### Rao Development Version
|
53
56
|
[](https://discord.gg/bittensor)
|
54
57
|
[](https://opensource.org/licenses/MIT)
|
55
58
|
[](https://badge.fury.io/py/bittensor_cli)
|
@@ -0,0 +1,34 @@
|
|
1
|
+
bittensor_cli/__init__.py,sha256=SRPir91EwRCEhILS7aKt7DEqFWmak-UxKZNJeKdL4y0,1217
|
2
|
+
bittensor_cli/cli.py,sha256=uv9hPOYBkIey3yt65PTyro-yyhZvi9vU0lZ589I5pxA,187665
|
3
|
+
bittensor_cli/doc_generation_helper.py,sha256=GexqjEIKulWg84hpNBEchJ840oOgOi7DWpt447nsdNI,91
|
4
|
+
bittensor_cli/src/__init__.py,sha256=sSFInh0WhdiqgGx1e6Qtp8C96tGV6UfhtGYPJYHNMgQ,26386
|
5
|
+
bittensor_cli/src/bittensor/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
6
|
+
bittensor_cli/src/bittensor/balances.py,sha256=E-niENvR7lAaoS5ZyCmwl_9M-nspnkcuIxf_dHiJIDg,11078
|
7
|
+
bittensor_cli/src/bittensor/chain_data.py,sha256=6VyuoDLaJz2QC9NJz9x2Ampi2fdqXumg6cCFfN-Vpq4,30642
|
8
|
+
bittensor_cli/src/bittensor/minigraph.py,sha256=BIzmSVLfBYiRAeGD_i1LAC8Cw7zxp38a91SIFEPMqYc,10479
|
9
|
+
bittensor_cli/src/bittensor/networking.py,sha256=pZLMs8YXpZzDMLXWMBb_Bj6TVkm_q9khyY-lnbwVMuE,462
|
10
|
+
bittensor_cli/src/bittensor/subtensor_interface.py,sha256=LqWrZBScOobW7CyEMNrtgvH1YOAvMOC8cns2BLEdPIg,52966
|
11
|
+
bittensor_cli/src/bittensor/utils.py,sha256=Ot-8rxYTZvX1FhigBjh--Dq1BLAzBOb2gMea_bDdPGg,46225
|
12
|
+
bittensor_cli/src/bittensor/extrinsics/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
13
|
+
bittensor_cli/src/bittensor/extrinsics/registration.py,sha256=3mJZ3hw_wZEa-8I0R8WVuKjMQi4Y9EV5FjTCvbY37Iw,63780
|
14
|
+
bittensor_cli/src/bittensor/extrinsics/root.py,sha256=N9Fg4VaveRRP1ZN4EZjIWCe04FpTNBKWFqx8USKp9uQ,19062
|
15
|
+
bittensor_cli/src/bittensor/extrinsics/transfer.py,sha256=FyrRo3yk-065toN4f-1Xes23CE5tqP5KU0dBJkKofUc,8476
|
16
|
+
bittensor_cli/src/bittensor/templates/table.j2,sha256=P2EFiksnO1cQsB8zjK6hVJwUryHTsLslzRE0YtobAV8,10601
|
17
|
+
bittensor_cli/src/commands/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
18
|
+
bittensor_cli/src/commands/sudo.py,sha256=6HQJQzdHEAJ2iMPtax5rS91a5BSGE2dxt-od-vn4bPg,28017
|
19
|
+
bittensor_cli/src/commands/wallets.py,sha256=MYj-kJRGuQ00aqwkVot69zdYrzvxhDS94qfM7K0mdAQ,49645
|
20
|
+
bittensor_cli/src/commands/weights.py,sha256=uI7aACKD90JOtYt61VdKL76z7Fe_wh4WtdwMXL6ydD4,16269
|
21
|
+
bittensor_cli/src/commands/stake/__init__.py,sha256=uxomMv_QrYt5Qn3_X5UWFFh45ISjB0JmDmCFxVyX8nQ,6495
|
22
|
+
bittensor_cli/src/commands/stake/add.py,sha256=hp4NBGDgVBoHKI8DgmYmUMYpYqSNbMlSWVEG-of1yHg,25184
|
23
|
+
bittensor_cli/src/commands/stake/children_hotkeys.py,sha256=L1a7T8VHvvrmT29JiRJwfzukmv_WSV3LTzuoQFyycZg,29582
|
24
|
+
bittensor_cli/src/commands/stake/list.py,sha256=Z5pB5YlSLfY0QWR4ZWd-IWXbQRWy09FBK6iHsodWntk,29797
|
25
|
+
bittensor_cli/src/commands/stake/move.py,sha256=YEXz5BfhAaQUJYyG11qnhXvFsSmz6ZJ6U4CWLHey4AE,37466
|
26
|
+
bittensor_cli/src/commands/stake/remove.py,sha256=5rSeltEyWHLXI1rJsDjfLoI5nBVf9stYrqdojL-r4cI,43372
|
27
|
+
bittensor_cli/src/commands/subnets/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
28
|
+
bittensor_cli/src/commands/subnets/price.py,sha256=TWcRXUFeS_Q-pfyv0YIluAL8SE7d2gzTODK-9M2J5pw,29878
|
29
|
+
bittensor_cli/src/commands/subnets/subnets.py,sha256=ygmAIT3pGcIpzIxxn-GFNAkDKDnXfDm7Sm1rUHiIwSA,79803
|
30
|
+
bittensor_cli-9.0.0.dist-info/METADATA,sha256=8OdPdLAQqEJBHbvwhxC_ZjCeqmWP84INe-5JYdEMZo0,6855
|
31
|
+
bittensor_cli-9.0.0.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
|
32
|
+
bittensor_cli-9.0.0.dist-info/entry_points.txt,sha256=hBTLGLbVxmAKy69XSKaUZvjTCmyEzDGZKq4S8UOto8I,49
|
33
|
+
bittensor_cli-9.0.0.dist-info/top_level.txt,sha256=DvgvXpmTtI_Q1BbDZMlK90LFcGFCreN1daViEPV2iFw,14
|
34
|
+
bittensor_cli-9.0.0.dist-info/RECORD,,
|