Skip to main content

The chain-defined compute core for Bittensor clients: sp-core keys, keyfiles, drand timelock, ML-KEM, SCALE codec, and RFC-0078 metadata digest, built from the bittensor monorepo

Project description

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

Project details


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.2rc25.tar.gz (277.7 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.2rc25-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.2rc25-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.2rc25-cp310-abi3-macosx_11_0_arm64.whl (4.7 MB view details)

Uploaded CPython 3.10+macOS 11.0+ ARM64

bittensor_core-0.1.2rc25-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.2rc25.tar.gz.

File metadata

  • Download URL: bittensor_core-0.1.2rc25.tar.gz
  • Upload date:
  • Size: 277.7 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.2rc25.tar.gz
Algorithm Hash digest
SHA256 123bbc16693d5223200540443da35f4c6e658352b12ce8a7324cccd82e58009f
MD5 07f0a6a4de0f7619efd5754bc53d2b99
BLAKE2b-256 87cd115081fb757aff943a6c784a72170bb11550c062d3d1f0fa5678ceca222f

See more details on using hashes here.

Provenance

The following attestation bundles were made for bittensor_core-0.1.2rc25.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.2rc25-cp310-abi3-manylinux_2_28_aarch64.whl.

File metadata

  • Download URL: bittensor_core-0.1.2rc25-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.2rc25-cp310-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 9ca277857ae7da798b0f16de725a1b80e78600933faac7e57e348ad9cee6822c
MD5 1693b4993014d4aad4d2757b2be07394
BLAKE2b-256 62b3d8d7c506dafb04a7bbb503f50e03cc15af09ab29b9de18b3dd38df0bcc3f

See more details on using hashes here.

Provenance

The following attestation bundles were made for bittensor_core-0.1.2rc25-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.2rc25-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

  • Download URL: bittensor_core-0.1.2rc25-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.2rc25-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 ce2fcc1f2fa884bcc7762f6033c0f26d391ab171cfae0c3918c5b6c5584ee5bf
MD5 163d070d57a8514f86f0bba72e75fdb6
BLAKE2b-256 7a9184a0ac74f1c150e0b5472f45506bbf9f827309d59242960ce64396c0b864

See more details on using hashes here.

Provenance

The following attestation bundles were made for bittensor_core-0.1.2rc25-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.2rc25-cp310-abi3-macosx_11_0_arm64.whl.

File metadata

  • Download URL: bittensor_core-0.1.2rc25-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.2rc25-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 983c682caede94984afe0e6db207eb0c9b2700f5bfabc18d442dc03a5ceb4c30
MD5 692ff7352b94b8b43611d7687a393a36
BLAKE2b-256 37bd4d5b95d2a1e8f1d219a49fa4dff119c2d7e24a8daace557ea25a5d7af85f

See more details on using hashes here.

Provenance

The following attestation bundles were made for bittensor_core-0.1.2rc25-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.2rc25-cp310-abi3-macosx_10_12_x86_64.whl.

File metadata

  • Download URL: bittensor_core-0.1.2rc25-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.2rc25-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 3671b33915f65fd0a1b482f213ee34828194dc38625381972f543547939a9991
MD5 f0839d246318a1ea3fabf48e358edb72
BLAKE2b-256 19046e7d8501b6f43d703cd6529281f54b7d77e1cef6ac3359000fb9b8a34269

See more details on using hashes here.

Provenance

The following attestation bundles were made for bittensor_core-0.1.2rc25-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.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page