Skip to main content

bittensor-core

The chain-defined compute core for Bittensor clients, as a single Python extension module (import bittensor_core). Built from the bittensor monorepo against the same crate revisions as the subtensor runtime itself.

What lives here (one rule): everything whose right answer is defined by the chain — sp-core key primitives (sr25519/ed25519, SS58), keyfile encryption/decryption, drand timelock encryption, ML-KEM-768, the SCALE codec and runtime-metadata engine, extrinsic assembly, and the RFC-0078 merkleized-metadata digest. Product decisions (intents, policy, CLI UX, transports) stay in the Python SDK.

This package replaces and supersedes py-sp-core and bittensor-drand.

Install

pip install bittensor-core

Wheels ship for manylinux (x86_64, aarch64) and macOS (arm64, x86_64); the sdist builds anywhere with a Rust toolchain.

Ledger support (LedgerDevice, HID) is compiled into every wheel. On Linux the HID transport talks to hidraw directly (no libudev, no C), so the manylinux wheels carry it too; you only need the usual udev rules so the device is accessible from userspace.

Development

The Rust logic lives in the sibling bittensor-core crate; this crate is bindings only. Build a development wheel from the repo root:

uvx maturin develop -m sdk/bittensor-core-py/Cargo.toml

Download files

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

Source Distribution

bittensor_core-0.1.3.tar.gz (280.3 kB view details)

Uploaded Source

Built Distributions

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

bittensor_core-0.1.3-cp310-abi3-manylinux_2_28_aarch64.whl (5.2 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.28+ ARM64

bittensor_core-0.1.3-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (5.2 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.17+ x86-64

bittensor_core-0.1.3-cp310-abi3-macosx_11_0_arm64.whl (4.7 MB view details)

Uploaded CPython 3.10+macOS 11.0+ ARM64

bittensor_core-0.1.3-cp310-abi3-macosx_10_12_x86_64.whl (4.6 MB view details)

Uploaded CPython 3.10+macOS 10.12+ x86-64

File details

Details for the file bittensor_core-0.1.3.tar.gz.

File metadata

  • Download URL: bittensor_core-0.1.3.tar.gz
  • Upload date:
  • Size: 280.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.28 {"installer":{"name":"uv","version":"0.11.28","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for bittensor_core-0.1.3.tar.gz
Algorithm Hash digest
SHA256 c8a4b3f3c560bb5d9c23c635a4e00122c3ef425b3aa0083200878eb3060d2a47
MD5 e1756f750ba9d1735d1c30e9f7c28113
BLAKE2b-256 871d6fdd630e46ae3a84e016415027900b0aa91d9d3265501b8d5fcb1491bb6d

See more details on using hashes here.

Provenance

The following attestation bundles were made for bittensor_core-0.1.3.tar.gz:

Publisher: watch-mainnet-release.yml on RaoFoundation/subtensor

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file bittensor_core-0.1.3-cp310-abi3-manylinux_2_28_aarch64.whl.

File metadata

  • Download URL: bittensor_core-0.1.3-cp310-abi3-manylinux_2_28_aarch64.whl
  • Upload date:
  • Size: 5.2 MB
  • Tags: CPython 3.10+, manylinux: glibc 2.28+ ARM64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.28 {"installer":{"name":"uv","version":"0.11.28","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for bittensor_core-0.1.3-cp310-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 f8f97b3cc55b16a4250432d6ee4c82772ac8ee11a91b01e310845a701ab0c540
MD5 cef5daf273f7086a3eb00064f7abcccf
BLAKE2b-256 938308b871ee350b90f7ae0e373b17d732791d00487d0df55db897fc1ab6c36e

See more details on using hashes here.

Provenance

The following attestation bundles were made for bittensor_core-0.1.3-cp310-abi3-manylinux_2_28_aarch64.whl:

Publisher: watch-mainnet-release.yml on RaoFoundation/subtensor

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file bittensor_core-0.1.3-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

  • Download URL: bittensor_core-0.1.3-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
  • Upload date:
  • Size: 5.2 MB
  • Tags: CPython 3.10+, manylinux: glibc 2.17+ x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.28 {"installer":{"name":"uv","version":"0.11.28","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for bittensor_core-0.1.3-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 48df1f23b0dad07f588bc8cf66dd107b25edf0e87c10c83771e66ad3285ec14d
MD5 6ab464e4db50fabfa6c7a32f3dc2c36f
BLAKE2b-256 8619be767d304b3c111fd4be2a00d57e668396e2bdba241e57a966cd1d9a99a5

See more details on using hashes here.

Provenance

The following attestation bundles were made for bittensor_core-0.1.3-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: watch-mainnet-release.yml on RaoFoundation/subtensor

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file bittensor_core-0.1.3-cp310-abi3-macosx_11_0_arm64.whl.

File metadata

  • Download URL: bittensor_core-0.1.3-cp310-abi3-macosx_11_0_arm64.whl
  • Upload date:
  • Size: 4.7 MB
  • Tags: CPython 3.10+, macOS 11.0+ ARM64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.28 {"installer":{"name":"uv","version":"0.11.28","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for bittensor_core-0.1.3-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 756f62eed2123d1a050634b769c728bfc0eab72527fef38598505703d3e277a4
MD5 8722a957114cca70dd9b04b023110cb1
BLAKE2b-256 46d41356a04060d10c12f0b9e5f8f743c49d29bb70de511b1a8092c8123471ee

See more details on using hashes here.

Provenance

The following attestation bundles were made for bittensor_core-0.1.3-cp310-abi3-macosx_11_0_arm64.whl:

Publisher: watch-mainnet-release.yml on RaoFoundation/subtensor

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file bittensor_core-0.1.3-cp310-abi3-macosx_10_12_x86_64.whl.

File metadata

  • Download URL: bittensor_core-0.1.3-cp310-abi3-macosx_10_12_x86_64.whl
  • Upload date:
  • Size: 4.6 MB
  • Tags: CPython 3.10+, macOS 10.12+ x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.28 {"installer":{"name":"uv","version":"0.11.28","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for bittensor_core-0.1.3-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 8e85f87844be5dc32fdec5ca2c4b6a5f13f9c70379d39ad43d5efef4ee5c4c63
MD5 678b08337ba685b3e7e0f3446796be1b
BLAKE2b-256 fb2b99b008e65d85113bbe91505b0b8a8590a82732683a3ad22706d7d8d4d012

See more details on using hashes here.

Provenance

The following attestation bundles were made for bittensor_core-0.1.3-cp310-abi3-macosx_10_12_x86_64.whl:

Publisher: watch-mainnet-release.yml on RaoFoundation/subtensor

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page