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.4.0.tar.gz (17.8 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.4.0-py3-none-any.whl (16.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: tao_cli-0.4.0.tar.gz
  • Upload date:
  • Size: 17.8 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.4.0.tar.gz
Algorithm Hash digest
SHA256 967190b7ebaa23321457c5233f8ab9a7a04e227c8514f8bfddc9abbd28190814
MD5 33625d06ec9b21954fb4466e05acf9a0
BLAKE2b-256 bf0d6f5d4b62d90b7fd719cd2b15a42852a820803c9137e49aa2a1da6e590646

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tao_cli-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 16.8 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.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 336177bb6c2b274643791c02b6d5f3c90cab326bd31d88f948fa07d16733a27e
MD5 fa28c9b3805dca65a1a49e38c16779b4
BLAKE2b-256 f71dfb2cc4f9039f7f1cde7ba0bff32456ac2f6e938281e76f98030c77517ea1

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