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.3.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.3.0-py3-none-any.whl (13.2 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for tao_cli-0.3.0.tar.gz
Algorithm Hash digest
SHA256 1446afbd7aad6fa2aa000cb739159a0812fa9be1de61311350aa86740b22e01e
MD5 eefedd5094a7d0e5239967d7119244b6
BLAKE2b-256 e113a3b3c9368863725c4b4d2237425affb8a95c304562c61e615942ca8be824

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tao_cli-0.3.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.10.20

File hashes

Hashes for tao_cli-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e6c7cbe868ad1353af66c1e731413878b433e61ae3f69a6a99303d58c76e53d0
MD5 c37a81c7281579bb5f931abaa1dd570c
BLAKE2b-256 08497cecd4905812e7f438bba682e135d2b5d822dfe1b557399b78a62b6f0bb7

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