Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

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.3rc31.tar.gz (281.5 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.3rc31-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.3rc31-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.3rc31-cp310-abi3-macosx_11_0_arm64.whl (4.7 MB view details)

Uploaded CPython 3.10+macOS 11.0+ ARM64

bittensor_core-0.1.3rc31-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.3rc31.tar.gz.

File metadata

  • Download URL: bittensor_core-0.1.3rc31.tar.gz
  • Upload date:
  • Size: 281.5 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.3rc31.tar.gz
Algorithm Hash digest
SHA256 535af2742d8cccf4ad6ec0f59d2c08caf206aa600aba673ffa321c2283014174
MD5 8baba3b55f494006a6572d93ce5aef0e
BLAKE2b-256 362e6d4c920a681f30c28ef9ba61fb2546e3268e5d1fab9d97229a211c569b1d

See more details on using hashes here.

Provenance

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

Publisher: release-train.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.3rc31-cp310-abi3-manylinux_2_28_aarch64.whl.

File metadata

  • Download URL: bittensor_core-0.1.3rc31-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.3rc31-cp310-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 41897a86289174ad20b063c6f5e7f446aece9fe7057a86980bc36d99f47049ab
MD5 306351b2c9e75207d9d389f43bf2060a
BLAKE2b-256 bfd382af3a1cf4d8acfa25b1a7f2f347d60b8834e5ea262bd684d658b142a1ed

See more details on using hashes here.

Provenance

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

Publisher: release-train.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.3rc31-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

  • Download URL: bittensor_core-0.1.3rc31-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.3rc31-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 4626fc3d8d0c8efcada63df1964fe8fce82aafb1464b580cf9fe71d7074299f7
MD5 d6636b59b6aa47f32170adc62c71620c
BLAKE2b-256 8097c51f5cb050b6e5973c8dd231cc872a0b6b3dd3a4da4e0716d6c12aae33c9

See more details on using hashes here.

Provenance

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

Publisher: release-train.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.3rc31-cp310-abi3-macosx_11_0_arm64.whl.

File metadata

  • Download URL: bittensor_core-0.1.3rc31-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.3rc31-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 05ac123d5fddff1de2864f9ae12122caf5ab7552d75b36a049d9e75db043a105
MD5 a3d98f982b8ad9dd5047ebd90ece2514
BLAKE2b-256 c6019a5e5ce8e4562dcff9d49783e73e378ada2e2265c92f62e4236082257622

See more details on using hashes here.

Provenance

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

Publisher: release-train.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.3rc31-cp310-abi3-macosx_10_12_x86_64.whl.

File metadata

  • Download URL: bittensor_core-0.1.3rc31-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.3rc31-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 16b6cb062d5a1e56249daa3200d6f1775c170734b6d35c644c535cbcd423b520
MD5 1b3adc61355e4c95d69a55d953fcd053
BLAKE2b-256 c4a3a50e9bb1f4a569048e827a3244330d6ceb4f9fca985eb1c26897c7a31b4b

See more details on using hashes here.

Provenance

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

Publisher: release-train.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