bittensor-cli 9.4.3__py3-none-any.whl → 9.5.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.
@@ -9,7 +9,6 @@ import aiohttp
9
9
  from bittensor_wallet import Wallet, Keypair
10
10
  from bittensor_wallet.errors import KeyFileError
11
11
  from bittensor_wallet.keyfile import Keyfile
12
- from fuzzywuzzy import fuzz
13
12
  from rich import box
14
13
  from rich.align import Align
15
14
  from rich.table import Column, Table
@@ -1227,16 +1226,11 @@ async def overview(
1227
1226
 
1228
1227
  if sort_by:
1229
1228
  column_to_sort_by: int = 0
1230
- highest_matching_ratio: int = 0
1231
1229
  sort_descending: bool = False # Default sort_order to ascending
1232
1230
 
1233
1231
  for index, column in zip(range(len(table.columns)), table.columns):
1234
- # Fuzzy match the column name. Default to the first column.
1235
1232
  column_name = column.header.lower().replace("[white]", "")
1236
- match_ratio = fuzz.ratio(sort_by.lower(), column_name)
1237
- # Finds the best matching column
1238
- if match_ratio > highest_matching_ratio:
1239
- highest_matching_ratio = match_ratio
1233
+ if column_name == sort_by.lower().strip():
1240
1234
  column_to_sort_by = index
1241
1235
 
1242
1236
  if sort_order.lower() in {"desc", "descending", "reverse"}:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: bittensor-cli
3
- Version: 9.4.3
3
+ Version: 9.5.0
4
4
  Summary: Bittensor CLI
5
5
  Author: bittensor.com
6
6
  Project-URL: homepage, https://github.com/opentensor/btcli
@@ -13,28 +13,27 @@ Requires-Dist: aiohttp~=3.10.2
13
13
  Requires-Dist: backoff~=2.2.1
14
14
  Requires-Dist: click<8.2.0
15
15
  Requires-Dist: GitPython>=3.0.0
16
- Requires-Dist: fuzzywuzzy~=0.18.0
17
16
  Requires-Dist: netaddr~=1.3.0
18
17
  Requires-Dist: numpy<3.0.0,>=2.0.1
19
18
  Requires-Dist: Jinja2
20
19
  Requires-Dist: pycryptodome<4.0.0,>=3.0.0
21
20
  Requires-Dist: PyYAML~=6.0.1
22
- Requires-Dist: pytest
23
- Requires-Dist: python-Levenshtein
24
21
  Requires-Dist: rich<15.0,>=13.7
25
22
  Requires-Dist: scalecodec==1.2.11
26
23
  Requires-Dist: typer<0.16,>=0.12
27
24
  Requires-Dist: bittensor-wallet>=3.0.7
28
25
  Requires-Dist: plotille>=5.0.0
29
- Requires-Dist: pywry>=0.6.2
30
26
  Requires-Dist: plotly>=6.0.0
31
27
  Provides-Extra: cuda
32
28
  Requires-Dist: torch<3.0,>=1.13.1; extra == "cuda"
29
+ Provides-Extra: dev
30
+ Requires-Dist: pytest; extra == "dev"
31
+ Requires-Dist: pytest-asyncio; extra == "dev"
32
+ Requires-Dist: ruff==0.11.5; extra == "dev"
33
33
 
34
34
  <div align="center">
35
35
 
36
36
  # Bittensor CLI <!-- omit in toc -->
37
- ### Rao Development Version
38
37
  [![Discord Chat](https://img.shields.io/discord/308323056592486420.svg)](https://discord.gg/bittensor)
39
38
  [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
40
39
  [![PyPI version](https://badge.fury.io/py/bittensor_cli.svg)](https://badge.fury.io/py/bittensor_cli)
@@ -1,5 +1,5 @@
1
1
  bittensor_cli/__init__.py,sha256=Lpv4NkbAQgwrfqFOnTMuR_S-fqGdaWCSLhxnFnGTHM0,1232
2
- bittensor_cli/cli.py,sha256=U557QrHJQulSMdmNY_Wu-wc8ah3KtcqD0TxrHHFoN9w,217461
2
+ bittensor_cli/cli.py,sha256=GevazPYTMJSxzFcaXJREePe7Ah0O-86YOg7KtoZLwXI,217251
3
3
  bittensor_cli/doc_generation_helper.py,sha256=GexqjEIKulWg84hpNBEchJ840oOgOi7DWpt447nsdNI,91
4
4
  bittensor_cli/version.py,sha256=dU1xsa3mG5FPdhzvqlzDByNcCHmzcFQH3q1pQr4u76g,720
5
5
  bittensor_cli/src/__init__.py,sha256=dRBcdUWIqHTyusuvuhP4PrRc9MWmnmj76WDWLHxhjmA,33795
@@ -9,27 +9,27 @@ bittensor_cli/src/bittensor/chain_data.py,sha256=yOQyPZ472BlfhAfaemdi22qunEGHlVv
9
9
  bittensor_cli/src/bittensor/minigraph.py,sha256=BIzmSVLfBYiRAeGD_i1LAC8Cw7zxp38a91SIFEPMqYc,10479
10
10
  bittensor_cli/src/bittensor/networking.py,sha256=pZLMs8YXpZzDMLXWMBb_Bj6TVkm_q9khyY-lnbwVMuE,462
11
11
  bittensor_cli/src/bittensor/subtensor_interface.py,sha256=StNlKxk348cq-nEU-5qye0yMTG5snLU_whw1dALRX2I,58976
12
- bittensor_cli/src/bittensor/utils.py,sha256=vetZCwy-LSJjYj58f_5wIuTi2A2sHyCMjrHR1DqT6bY,47729
12
+ bittensor_cli/src/bittensor/utils.py,sha256=e-oNpVM0fBhSBXbu78lBiCJFZvDYZ8MhOAQrM1gJfrU,46467
13
13
  bittensor_cli/src/bittensor/extrinsics/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
14
14
  bittensor_cli/src/bittensor/extrinsics/registration.py,sha256=CQ6yQldaLWPdhTS4Ub3muSEhbmzj-PQa5JYR3ywrafs,64485
15
15
  bittensor_cli/src/bittensor/extrinsics/root.py,sha256=C9WPssL2HpNK8u_IFPPr8TrdFgbLPTfkbAYzalfmbRM,19188
16
- bittensor_cli/src/bittensor/extrinsics/transfer.py,sha256=vxLzKQkTSsV-ark7WAJjEN4QasEJI_9MXt2Dg8eR2j4,8569
16
+ bittensor_cli/src/bittensor/extrinsics/transfer.py,sha256=tKXC7DTvaR15Lh20FWtoRMkEWQdNFQcXstZCEw9sWHM,8567
17
17
  bittensor_cli/src/commands/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
18
- bittensor_cli/src/commands/sudo.py,sha256=or_wkOMf4RAE64pp2SiX2ybeN0V89hlsEf86cyLPsV4,33062
19
- bittensor_cli/src/commands/view.py,sha256=aogD_jLAmKgZ-pL93eTSVw0kubUJT2L2_43TXzAh8X8,109505
20
- bittensor_cli/src/commands/wallets.py,sha256=YknqfibuH-5dsSYITlEtgv9zsqlmhsoS2NhenZPcq0E,72977
18
+ bittensor_cli/src/commands/sudo.py,sha256=SdFei83euCLr645BgX370aIlxYPUE4rQ3dmQfT1dofs,32984
19
+ bittensor_cli/src/commands/view.py,sha256=9lx6vfOkel8KIefUhDNaBS_j5lNR2djcRFRbK4mbnDE,12535
20
+ bittensor_cli/src/commands/wallets.py,sha256=6WC7l72dM-AJaI_ymCrn0aLme5WJhQ14VqSWcHcPZgM,72654
21
21
  bittensor_cli/src/commands/weights.py,sha256=BCJm_mlw0pVK4YEZuEMqQBpvvOoB7B1rzdvMeN3uTfM,16503
22
22
  bittensor_cli/src/commands/stake/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
23
- bittensor_cli/src/commands/stake/add.py,sha256=Pe4N_I8DKlfN_Ks-X9yu2pMP5jBs__fa2TPLcb6oBKc,26935
23
+ bittensor_cli/src/commands/stake/add.py,sha256=p-qwDjigHTgYAqrvETvDNHzd5ntzk3zaaQPlj4-hNgE,26937
24
24
  bittensor_cli/src/commands/stake/children_hotkeys.py,sha256=lMiV-Z3SGZUEapdy0LRthFLx0RlFK0KVxytE47ybdEc,31746
25
25
  bittensor_cli/src/commands/stake/list.py,sha256=xLHqEflRLg3vmMop92JgAn88oAy4YdhaIGBcHOYgCak,30038
26
26
  bittensor_cli/src/commands/stake/move.py,sha256=AVeo0l4bvGAtjbdzx2Fn7_-jiI28B7LMlJGVZWT6mKg,35881
27
- bittensor_cli/src/commands/stake/remove.py,sha256=l7TtLK2Z6-TJ5-DEwUzm6HT2GQC-MhKZS9SONS9DKtA,49902
27
+ bittensor_cli/src/commands/stake/remove.py,sha256=AhqYKaQ5pEKTZxZ5R-ojZe-ZBMvaZsSXHlYuvzRGStk,49904
28
28
  bittensor_cli/src/commands/subnets/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
29
- bittensor_cli/src/commands/subnets/price.py,sha256=O8oK12hCtm1asQGx2MR1xtYA9ygkklhFtXvBON4DcGM,30069
29
+ bittensor_cli/src/commands/subnets/price.py,sha256=akXkbilWjQYqTYvtOhXngX_cVkU0Mv-Gl3kjce6dtl0,21490
30
30
  bittensor_cli/src/commands/subnets/subnets.py,sha256=z2E4CkrqUNctBzBvjPWV34TWIPriEFDa2oUw9HWKJSc,93747
31
- bittensor_cli-9.4.3.dist-info/METADATA,sha256=p0OCjKYSgLPmNRf-y1ncn5PBlH05VbukLzNW_Z7by68,6445
32
- bittensor_cli-9.4.3.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
33
- bittensor_cli-9.4.3.dist-info/entry_points.txt,sha256=hBTLGLbVxmAKy69XSKaUZvjTCmyEzDGZKq4S8UOto8I,49
34
- bittensor_cli-9.4.3.dist-info/top_level.txt,sha256=DvgvXpmTtI_Q1BbDZMlK90LFcGFCreN1daViEPV2iFw,14
35
- bittensor_cli-9.4.3.dist-info/RECORD,,
31
+ bittensor_cli-9.5.0.dist-info/METADATA,sha256=T43lL38ongF4QskgR574UXRvpTLxVLObB_8Q6x61EJY,6447
32
+ bittensor_cli-9.5.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
33
+ bittensor_cli-9.5.0.dist-info/entry_points.txt,sha256=hBTLGLbVxmAKy69XSKaUZvjTCmyEzDGZKq4S8UOto8I,49
34
+ bittensor_cli-9.5.0.dist-info/top_level.txt,sha256=DvgvXpmTtI_Q1BbDZMlK90LFcGFCreN1daViEPV2iFw,14
35
+ bittensor_cli-9.5.0.dist-info/RECORD,,