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

Uploaded CPython 3.10+macOS 11.0+ ARM64

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

File metadata

  • Download URL: bittensor_core-0.1.4rc39.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.4rc39.tar.gz
Algorithm Hash digest
SHA256 121df82475296d9f639d645593a1a4e7f000a31847ddac0ddf31720c1379811f
MD5 a83f001aa6eb65666db24204115f7990
BLAKE2b-256 b52ab57618d64f9b07c7f9c72e48fa1dee612d656a564277ebc02acbda015b3e

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: bittensor_core-0.1.4rc39-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.4rc39-cp310-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 8a9c82f5e459bdeda64e91b19354ed15e3d57d21839db69cc1fd28fd67a0c36e
MD5 37256f8d023a055499d57b315f1bcbf1
BLAKE2b-256 0663d5d98cc625392ecccfbc64af76c8926339818fa3864afc19461b2980f1c2

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: bittensor_core-0.1.4rc39-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.4rc39-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 05051fb6a4f3e85d726eff8642e54eec6c309263d5cc22b60d7426901b44952f
MD5 500f8c98cf34f45c10af15571d440a8f
BLAKE2b-256 51fd855bfbd7f1eab2e4c7b740e65b6907d2bc3e8b683c13c58d1d9a1cf7ffca

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: bittensor_core-0.1.4rc39-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.4rc39-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 9a11fc553e9455931cd16d81fd4bc24f93adec8d0a6331260806139841d0a649
MD5 60f87b575f99398ddd7c0d5603b8925c
BLAKE2b-256 5865871fae5dc780c0d1c23bb1611febb7eb085d538601bbfe1b1ff950e8bd91

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: bittensor_core-0.1.4rc39-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.4rc39-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 7f8713665abb2715ba7594f67df7a700f4b2c3ce88f6929107db4b7b161bf913
MD5 09741c1a743853081232360566007e1f
BLAKE2b-256 baf0be4a8dd87f402be4badfa25fd4292c39f8f57928dac87570bb5e70b8ae8f

See more details on using hashes here.

Provenance

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