Skip to main content

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

Project description

tao-cli

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

CI codecov PyPI

Install

uv pip install tao-cli

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.1.0.tar.gz (15.2 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.1.0-py3-none-any.whl (13.2 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for tao_cli-0.1.0.tar.gz
Algorithm Hash digest
SHA256 d693d88840c3c62c666e830422ffc9974cf9a7e4d52ba17e6a6c88b9ab5a71a2
MD5 3c9b5e8f6c903f7a19915e9772a7fd11
BLAKE2b-256 6a382550717bb65962f35a13c591db89c809dfb9f3d7d254d743ccec6853e5a4

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for tao_cli-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 294176749e1c55ac555b77a413638726ac19abb563035e0f93115ab54fe7daad
MD5 87df5cf6b8676643f56c73edfaa8d54e
BLAKE2b-256 af5d4dfdea48357332cae4b44a977e7504bd55d882cd9973b4d4e6c471eed656

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