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.4rc36.tar.gz (281.9 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.4rc36-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.4rc36-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.4rc36-cp310-abi3-macosx_11_0_arm64.whl (4.7 MB view details)

Uploaded CPython 3.10+macOS 11.0+ ARM64

bittensor_core-0.1.4rc36-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.4rc36.tar.gz.

File metadata

  • Download URL: bittensor_core-0.1.4rc36.tar.gz
  • Upload date:
  • Size: 281.9 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.4rc36.tar.gz
Algorithm Hash digest
SHA256 2b4a15b1e20f4af4577407c45a79c8f0285bf93d4202d129db5f62a1cbffe70e
MD5 5a0519b05516d652d400b6c969544ec6
BLAKE2b-256 faef447dea08ce99897f7966509428b0cd2a01c0b8c35c73592ae26ec71369c9

See more details on using hashes here.

Provenance

The following attestation bundles were made for bittensor_core-0.1.4rc36.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.4rc36-cp310-abi3-manylinux_2_28_aarch64.whl.

File metadata

  • Download URL: bittensor_core-0.1.4rc36-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.4rc36-cp310-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 0426065a9359f7951460f9d056cc5b8efe3ba6f29746e5b794b806e8dc5ff160
MD5 6cc08da3df9cf1c163bca4c33ea56d64
BLAKE2b-256 93138716ef87f140a30e289394016a95f290e33d3dcdd9c200a06a0b42099e50

See more details on using hashes here.

Provenance

The following attestation bundles were made for bittensor_core-0.1.4rc36-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.4rc36-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

  • Download URL: bittensor_core-0.1.4rc36-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.4rc36-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 e008a2dca787b536cde6473566eaa22b51d217e51c39d7400559a0d6b5164681
MD5 a7aa236b6f766f2c2d203544d433cb12
BLAKE2b-256 4f23bac360812f78abc1d76567942c3200ed5a0a73f58499ac880c2096ff1800

See more details on using hashes here.

Provenance

The following attestation bundles were made for bittensor_core-0.1.4rc36-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.4rc36-cp310-abi3-macosx_11_0_arm64.whl.

File metadata

  • Download URL: bittensor_core-0.1.4rc36-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.4rc36-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 573bd5468668c1eb9edc15f2449749a86659493dd53fbb1f3b1d0a3160ec769b
MD5 1c3580c8fd31a22c31b98bc8777b8d74
BLAKE2b-256 5e322c08e8dac61503d499498aea8bff69ee594fb6a538412635fc63bbe225b3

See more details on using hashes here.

Provenance

The following attestation bundles were made for bittensor_core-0.1.4rc36-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.4rc36-cp310-abi3-macosx_10_12_x86_64.whl.

File metadata

  • Download URL: bittensor_core-0.1.4rc36-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.4rc36-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 ade5eede263f78c1826412a5f1574a53a139e0878648d7953cbc087182ab9b65
MD5 37053ae093f7ff8fad9c47f7b34b28a2
BLAKE2b-256 be0176d3942633cbc7f6e5b9976b45b610932983fd8cd08601d80a3af03f0126

See more details on using hashes here.

Provenance

The following attestation bundles were made for bittensor_core-0.1.4rc36-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