bittensor-cli 9.10.1__tar.gz → 9.11.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.
- {bittensor_cli-9.10.1 → bittensor_cli-9.11.0}/PKG-INFO +31 -5
- {bittensor_cli-9.10.1 → bittensor_cli-9.11.0}/README.md +29 -3
- {bittensor_cli-9.10.1 → bittensor_cli-9.11.0}/bittensor_cli/cli.py +541 -104
- {bittensor_cli-9.10.1 → bittensor_cli-9.11.0}/bittensor_cli/src/__init__.py +3 -0
- {bittensor_cli-9.10.1 → bittensor_cli-9.11.0}/bittensor_cli/src/bittensor/extrinsics/registration.py +3 -2
- {bittensor_cli-9.10.1 → bittensor_cli-9.11.0}/bittensor_cli/src/bittensor/subtensor_interface.py +43 -15
- {bittensor_cli-9.10.1 → bittensor_cli-9.11.0}/bittensor_cli/src/bittensor/utils.py +18 -2
- {bittensor_cli-9.10.1 → bittensor_cli-9.11.0}/bittensor_cli/src/commands/stake/remove.py +1 -0
- {bittensor_cli-9.10.1 → bittensor_cli-9.11.0}/bittensor_cli/src/commands/subnets/price.py +11 -1
- {bittensor_cli-9.10.1 → bittensor_cli-9.11.0}/bittensor_cli/src/commands/subnets/subnets.py +68 -0
- {bittensor_cli-9.10.1 → bittensor_cli-9.11.0}/bittensor_cli/src/commands/sudo.py +5 -4
- {bittensor_cli-9.10.1 → bittensor_cli-9.11.0}/bittensor_cli/src/commands/wallets.py +12 -3
- {bittensor_cli-9.10.1 → bittensor_cli-9.11.0}/bittensor_cli.egg-info/PKG-INFO +31 -5
- {bittensor_cli-9.10.1 → bittensor_cli-9.11.0}/bittensor_cli.egg-info/requires.txt +1 -1
- {bittensor_cli-9.10.1 → bittensor_cli-9.11.0}/pyproject.toml +2 -2
- {bittensor_cli-9.10.1 → bittensor_cli-9.11.0}/MANIFEST.in +0 -0
- {bittensor_cli-9.10.1 → bittensor_cli-9.11.0}/bittensor_cli/__init__.py +0 -0
- {bittensor_cli-9.10.1 → bittensor_cli-9.11.0}/bittensor_cli/doc_generation_helper.py +0 -0
- {bittensor_cli-9.10.1 → bittensor_cli-9.11.0}/bittensor_cli/src/bittensor/__init__.py +0 -0
- {bittensor_cli-9.10.1 → bittensor_cli-9.11.0}/bittensor_cli/src/bittensor/balances.py +0 -0
- {bittensor_cli-9.10.1 → bittensor_cli-9.11.0}/bittensor_cli/src/bittensor/chain_data.py +0 -0
- {bittensor_cli-9.10.1 → bittensor_cli-9.11.0}/bittensor_cli/src/bittensor/extrinsics/__init__.py +0 -0
- {bittensor_cli-9.10.1 → bittensor_cli-9.11.0}/bittensor_cli/src/bittensor/extrinsics/root.py +0 -0
- {bittensor_cli-9.10.1 → bittensor_cli-9.11.0}/bittensor_cli/src/bittensor/extrinsics/transfer.py +0 -0
- {bittensor_cli-9.10.1 → bittensor_cli-9.11.0}/bittensor_cli/src/bittensor/minigraph.py +0 -0
- {bittensor_cli-9.10.1 → bittensor_cli-9.11.0}/bittensor_cli/src/bittensor/networking.py +0 -0
- {bittensor_cli-9.10.1 → bittensor_cli-9.11.0}/bittensor_cli/src/bittensor/templates/main-filters.j2 +0 -0
- {bittensor_cli-9.10.1 → bittensor_cli-9.11.0}/bittensor_cli/src/bittensor/templates/main-header.j2 +0 -0
- {bittensor_cli-9.10.1 → bittensor_cli-9.11.0}/bittensor_cli/src/bittensor/templates/neuron-details.j2 +0 -0
- {bittensor_cli-9.10.1 → bittensor_cli-9.11.0}/bittensor_cli/src/bittensor/templates/price-multi.j2 +0 -0
- {bittensor_cli-9.10.1 → bittensor_cli-9.11.0}/bittensor_cli/src/bittensor/templates/price-single.j2 +0 -0
- {bittensor_cli-9.10.1 → bittensor_cli-9.11.0}/bittensor_cli/src/bittensor/templates/subnet-details-header.j2 +0 -0
- {bittensor_cli-9.10.1 → bittensor_cli-9.11.0}/bittensor_cli/src/bittensor/templates/subnet-details.j2 +0 -0
- {bittensor_cli-9.10.1 → bittensor_cli-9.11.0}/bittensor_cli/src/bittensor/templates/subnet-metrics.j2 +0 -0
- {bittensor_cli-9.10.1 → bittensor_cli-9.11.0}/bittensor_cli/src/bittensor/templates/subnets-table.j2 +0 -0
- {bittensor_cli-9.10.1 → bittensor_cli-9.11.0}/bittensor_cli/src/bittensor/templates/table.j2 +0 -0
- {bittensor_cli-9.10.1 → bittensor_cli-9.11.0}/bittensor_cli/src/bittensor/templates/view.css +0 -0
- {bittensor_cli-9.10.1 → bittensor_cli-9.11.0}/bittensor_cli/src/bittensor/templates/view.j2 +0 -0
- {bittensor_cli-9.10.1 → bittensor_cli-9.11.0}/bittensor_cli/src/bittensor/templates/view.js +0 -0
- {bittensor_cli-9.10.1 → bittensor_cli-9.11.0}/bittensor_cli/src/commands/__init__.py +0 -0
- {bittensor_cli-9.10.1 → bittensor_cli-9.11.0}/bittensor_cli/src/commands/liquidity/__init__.py +0 -0
- {bittensor_cli-9.10.1 → bittensor_cli-9.11.0}/bittensor_cli/src/commands/liquidity/liquidity.py +0 -0
- {bittensor_cli-9.10.1 → bittensor_cli-9.11.0}/bittensor_cli/src/commands/liquidity/utils.py +0 -0
- {bittensor_cli-9.10.1 → bittensor_cli-9.11.0}/bittensor_cli/src/commands/stake/__init__.py +0 -0
- {bittensor_cli-9.10.1 → bittensor_cli-9.11.0}/bittensor_cli/src/commands/stake/add.py +0 -0
- {bittensor_cli-9.10.1 → bittensor_cli-9.11.0}/bittensor_cli/src/commands/stake/children_hotkeys.py +0 -0
- {bittensor_cli-9.10.1 → bittensor_cli-9.11.0}/bittensor_cli/src/commands/stake/list.py +0 -0
- {bittensor_cli-9.10.1 → bittensor_cli-9.11.0}/bittensor_cli/src/commands/stake/move.py +0 -0
- {bittensor_cli-9.10.1 → bittensor_cli-9.11.0}/bittensor_cli/src/commands/subnets/__init__.py +0 -0
- {bittensor_cli-9.10.1 → bittensor_cli-9.11.0}/bittensor_cli/src/commands/view.py +0 -0
- {bittensor_cli-9.10.1 → bittensor_cli-9.11.0}/bittensor_cli/src/commands/weights.py +0 -0
- {bittensor_cli-9.10.1 → bittensor_cli-9.11.0}/bittensor_cli/version.py +0 -0
- {bittensor_cli-9.10.1 → bittensor_cli-9.11.0}/bittensor_cli.egg-info/SOURCES.txt +0 -0
- {bittensor_cli-9.10.1 → bittensor_cli-9.11.0}/bittensor_cli.egg-info/dependency_links.txt +0 -0
- {bittensor_cli-9.10.1 → bittensor_cli-9.11.0}/bittensor_cli.egg-info/entry_points.txt +0 -0
- {bittensor_cli-9.10.1 → bittensor_cli-9.11.0}/bittensor_cli.egg-info/top_level.txt +0 -0
- {bittensor_cli-9.10.1 → bittensor_cli-9.11.0}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: bittensor-cli
|
3
|
-
Version: 9.
|
3
|
+
Version: 9.11.0
|
4
4
|
Summary: Bittensor CLI
|
5
5
|
Author: bittensor.com
|
6
6
|
Project-URL: homepage, https://github.com/opentensor/btcli
|
@@ -8,7 +8,7 @@ Project-URL: Repository, https://github.com/opentensor/btcli
|
|
8
8
|
Requires-Python: <3.14,>=3.9
|
9
9
|
Description-Content-Type: text/markdown
|
10
10
|
Requires-Dist: wheel
|
11
|
-
Requires-Dist: async-substrate-interface>=1.
|
11
|
+
Requires-Dist: async-substrate-interface>=1.5.2
|
12
12
|
Requires-Dist: aiohttp~=3.10.2
|
13
13
|
Requires-Dist: backoff~=2.2.1
|
14
14
|
Requires-Dist: GitPython>=3.0.0
|
@@ -168,10 +168,13 @@ You can set the commonly used values, such as your hotkey and coldkey names, the
|
|
168
168
|
The default location of the config file is: `~/.bittensor/config.yml`. An example of a `config.yml` is shown below:
|
169
169
|
|
170
170
|
```yaml
|
171
|
-
chain: ws://127.0.0.1:9945
|
172
171
|
network: local
|
173
|
-
|
174
|
-
|
172
|
+
use_cache: true
|
173
|
+
dashboard_path: null
|
174
|
+
disk_cache: false
|
175
|
+
rate_tolerance: null
|
176
|
+
safe_staking: true
|
177
|
+
wallet_hotkey: default
|
175
178
|
wallet_name: coldkey-user1
|
176
179
|
wallet_path: ~/.bittensor/wallets
|
177
180
|
metagraph_cols:
|
@@ -198,6 +201,29 @@ metagraph_cols:
|
|
198
201
|
btcli config --help
|
199
202
|
```
|
200
203
|
|
204
|
+
### ENV VARS
|
205
|
+
BTCLI accepts a few environment variables that can alter how it works:
|
206
|
+
- USE_TORCH (default 0): If set to 1, will use torch instead of numpy
|
207
|
+
- DISK_CACHE (default 0, also settable in config): If set to 1 (or set in config), will use disk caching for various safe-cachable substrate
|
208
|
+
calls (such as block number to block hash mapping), which can speed up subsequent calls.
|
209
|
+
- BTCLI_CONFIG_PATH (default `~/.bittensor/config.yml`): This will set the config file location, creating if it does not exist.
|
210
|
+
- BTCLI_DEBUG_FILE (default `~/.bittensor/debug.txt`): The file stores the most recent's command's debug log.
|
211
|
+
|
212
|
+
---
|
213
|
+
|
214
|
+
## Debugging
|
215
|
+
BTCLI will store a debug log for every command run. This file is overwritten for each new command run. The default location
|
216
|
+
of this file is `~/.bittensor/debug.txt` and can be set with the `BTCLI_DEBUG_FILE` env var (see above section).
|
217
|
+
|
218
|
+
The debug log will **NOT** contain any sensitive data (private keys), and is intended to be sent to the developers
|
219
|
+
for debugging. This file contains basic information about the command being run, the config, and the back and forth of requests and responses
|
220
|
+
to and from the chain.
|
221
|
+
|
222
|
+
If you encounter an issue, and would like to save the file somewhere it won't be overwritten, run `btcli --debug`,
|
223
|
+
and set the save file location. We recommend doing this first before anything, and then starting your debugging with
|
224
|
+
us on our [Discord](https://discord.gg/bittensor), or by opening an issue on [GitHub](https://github.com/opentensor/btcli/issues/new)
|
225
|
+
(where you can also upload your debug file).
|
226
|
+
|
201
227
|
---
|
202
228
|
|
203
229
|
## License
|
@@ -135,10 +135,13 @@ You can set the commonly used values, such as your hotkey and coldkey names, the
|
|
135
135
|
The default location of the config file is: `~/.bittensor/config.yml`. An example of a `config.yml` is shown below:
|
136
136
|
|
137
137
|
```yaml
|
138
|
-
chain: ws://127.0.0.1:9945
|
139
138
|
network: local
|
140
|
-
|
141
|
-
|
139
|
+
use_cache: true
|
140
|
+
dashboard_path: null
|
141
|
+
disk_cache: false
|
142
|
+
rate_tolerance: null
|
143
|
+
safe_staking: true
|
144
|
+
wallet_hotkey: default
|
142
145
|
wallet_name: coldkey-user1
|
143
146
|
wallet_path: ~/.bittensor/wallets
|
144
147
|
metagraph_cols:
|
@@ -165,6 +168,29 @@ metagraph_cols:
|
|
165
168
|
btcli config --help
|
166
169
|
```
|
167
170
|
|
171
|
+
### ENV VARS
|
172
|
+
BTCLI accepts a few environment variables that can alter how it works:
|
173
|
+
- USE_TORCH (default 0): If set to 1, will use torch instead of numpy
|
174
|
+
- DISK_CACHE (default 0, also settable in config): If set to 1 (or set in config), will use disk caching for various safe-cachable substrate
|
175
|
+
calls (such as block number to block hash mapping), which can speed up subsequent calls.
|
176
|
+
- BTCLI_CONFIG_PATH (default `~/.bittensor/config.yml`): This will set the config file location, creating if it does not exist.
|
177
|
+
- BTCLI_DEBUG_FILE (default `~/.bittensor/debug.txt`): The file stores the most recent's command's debug log.
|
178
|
+
|
179
|
+
---
|
180
|
+
|
181
|
+
## Debugging
|
182
|
+
BTCLI will store a debug log for every command run. This file is overwritten for each new command run. The default location
|
183
|
+
of this file is `~/.bittensor/debug.txt` and can be set with the `BTCLI_DEBUG_FILE` env var (see above section).
|
184
|
+
|
185
|
+
The debug log will **NOT** contain any sensitive data (private keys), and is intended to be sent to the developers
|
186
|
+
for debugging. This file contains basic information about the command being run, the config, and the back and forth of requests and responses
|
187
|
+
to and from the chain.
|
188
|
+
|
189
|
+
If you encounter an issue, and would like to save the file somewhere it won't be overwritten, run `btcli --debug`,
|
190
|
+
and set the save file location. We recommend doing this first before anything, and then starting your debugging with
|
191
|
+
us on our [Discord](https://discord.gg/bittensor), or by opening an issue on [GitHub](https://github.com/opentensor/btcli/issues/new)
|
192
|
+
(where you can also upload your debug file).
|
193
|
+
|
168
194
|
---
|
169
195
|
|
170
196
|
## License
|