Installation

Install paths, the optional chain extra, and the distribution-name quirk.

Requirements

requirement
Python3.10 – 3.14
Runtime dependenciesnone
Optional extrabittensor ≥ 11, python-socks (for chain reads)
PlatformsLinux, macOS. Windows via WSL.

From PyPI

uv pip install assay-bittensor
# or
pip install assay-bittensor

The distribution is called assay-bittensor but the command and the import name are both assay. This is ordinary Python packaging practice — python-dateutil installs dateutil, beautifulsoup4 installs bs4.

With chain support

The chain extra is required for assay conformance (signature verification) and for anything that reads the network: live, scan, and fidelity.

uv pip install "assay-bittensor[chain]"
Note
python-socks is part of the extra for a reason. On a machine with a SOCKS proxy configured, the SDK fails with "connecting through a SOCKS proxy requires python-socks", which never names the package clearly.

From source

git clone https://github.com/yu7dan/assay
cd assay
uv venv && source .venv/bin/activate
uv pip install -e ".[chain,dev]"
​
make test # 132 tests
make probe # three reference mechanisms, side by side

Previous

Quickstart

Next

Writing an adapter