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.0rc6.tar.gz (276.0 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.0rc6-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.0rc6-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.0rc6-cp310-abi3-macosx_11_0_arm64.whl (4.7 MB view details)

Uploaded CPython 3.10+macOS 11.0+ ARM64

bittensor_core-0.1.0rc6-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.0rc6.tar.gz.

File metadata

  • Download URL: bittensor_core-0.1.0rc6.tar.gz
  • Upload date:
  • Size: 276.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.5.6

File hashes

Hashes for bittensor_core-0.1.0rc6.tar.gz
Algorithm Hash digest
SHA256 7246435f5e074b4003c14c9d0bc49673ae474a61474ad8b1a6ea1d0ee5341956
MD5 542d75a008f9e558d6b6a6083b369234
BLAKE2b-256 a33d14036ce953977154b1fdb60afec1c1a04f527214c0786b5bf366058a21c7

See more details on using hashes here.

File details

Details for the file bittensor_core-0.1.0rc6-cp310-abi3-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for bittensor_core-0.1.0rc6-cp310-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 61398cb582abcaaed599d57f0005269a5cd82bb7ddd81d2032f15a4e94c84f1a
MD5 a700fc1492e7885f304ff4d8d8c5d72c
BLAKE2b-256 179d59def55611aeac96a069d00509aa008ecbb812d7d320b3cdacd00689d130

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for bittensor_core-0.1.0rc6-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 1ea32f34fcf7c96c09fb8ade41071a16280f19ca0a7dfecc8c9fe551371f1927
MD5 2759e53f25d610b07fbb8f8733f4571b
BLAKE2b-256 07911d16531c100948b20c123ac390acd741e4eb30828ca87dbf9bad2a3cb301

See more details on using hashes here.

File details

Details for the file bittensor_core-0.1.0rc6-cp310-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for bittensor_core-0.1.0rc6-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 42fbe5c9cd2049d3c45e472ec5396e5e5d68207bec2a42c89e652241d83977fe
MD5 f985caaf93465b98e4d17f260a73b837
BLAKE2b-256 43aa5bd3c677968aa1dc8483f96b87fb641103ead52fea24eefcb9ca0ef0867f

See more details on using hashes here.

File details

Details for the file bittensor_core-0.1.0rc6-cp310-abi3-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for bittensor_core-0.1.0rc6-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 1602e9d9d2961cce0817c4baaceb76cc3bc15632403065075de8d405f2f95839
MD5 710f875ad23ecefeb4901ca5a9b0bd2d
BLAKE2b-256 265ae45d3ccde10b5056f42b8e4bd0567f84cd08ca38c537f1eaabf271defb11

See more details on using hashes here.

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