Skip to main content

Python CLI + SDK wrapper for agcli — Bittensor staking, transfers, wallets, weights, subnets, and more

Project description

taocli

Python CLI + SDK wrapper for agcli — Bittensor staking, transfers, wallets, weights, subnets, and more.

CI codecov PyPI

Install

uv pip install taocli

Requires the agcli binary on your PATH. See agcli releases.

CLI

taocli mirrors agcli 1:1 — same commands, same flags, same output:

taocli wallet list
taocli balance --address 5G...
taocli stake add --amount 10 --netuid 1
taocli subnet list
taocli view portfolio
taocli transfer --dest 5G... --amount 1.0

SDK

from taocli import Client

c = Client(network="finney")

# Balance
c.balance(address="5G...")

# Wallet
c.wallet.list()
c.wallet.create()

# Staking
c.stake.add(10.0, netuid=1)
c.stake.list()

# Transfer
c.transfer.transfer("5G...", 1.0)

# Subnet
c.subnet.list()
c.subnet.show(1)

# View
c.view.portfolio()
c.view.network()

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tao_cli-0.6.0.tar.gz (28.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tao_cli-0.6.0-py3-none-any.whl (28.7 kB view details)

Uploaded Python 3

File details

Details for the file tao_cli-0.6.0.tar.gz.

File metadata

  • Download URL: tao_cli-0.6.0.tar.gz
  • Upload date:
  • Size: 28.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.13

File hashes

Hashes for tao_cli-0.6.0.tar.gz
Algorithm Hash digest
SHA256 2c47a739f0c7afb0e6ad3cc9b2e0d26a46aed0c87d4cfb37f24a91dd4d0531ac
MD5 d5eb54bdee4093f3e21030cc0dae3f9b
BLAKE2b-256 d43c40701e8d97ee85d09af99a22e8a4b1d476f9ce6687e5190de57881594360

See more details on using hashes here.

File details

Details for the file tao_cli-0.6.0-py3-none-any.whl.

File metadata

  • Download URL: tao_cli-0.6.0-py3-none-any.whl
  • Upload date:
  • Size: 28.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.13

File hashes

Hashes for tao_cli-0.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a8a8fcc129fb0e73f0a8d7ceec13b3963c32d5c7b0b30f060656a0f8c282c179
MD5 f5fcf2964cf25719d3cf0f4016b9821c
BLAKE2b-256 2f7c732624b4f223c66f1b98ee7e6d2a74a6afe47b024d268fa6a734d481d967

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page