Skip to main content

bonsai

A histogram gradient-boosted tree library and CLI in modern C++23.

CI C++23 CMake Release License: MIT

Documentation  ·  Install  ·  Guide  ·  Decisions  ·  Releases


What is bonsai?

bonsai is a from-scratch, histogram-based gradient boosted trees (GBT) library and command-line tool written in C++23. It pairs a small, concept-checked component API (objectives, growers, split finders, samplers) with compile-time dispatch in the training hot path, and ships the benchmark harness that pits it against XGBoost, LightGBM, and CatBoost on real data. The aim is a readable, thoroughly documented GBT: a reference-grade implementation that competes with the production libraries instead of merely tolerating comparison with them.

  • Compile-time dispatch, concept-checked components. The runtime TOML config resolves once to a monomorphized Booster<Objective, Grower, Splitter, Sampler>; no virtual calls in the hot path, and contract violations fail at compile time. Adding a component is a short recipe.
  • Six growers, one engine. depthwise (XGBoost-style), leafwise (LightGBM-style), levelwise (CatBoost-style), and their CUDA twins cuda_depthwise / cuda_leafwise / cuda_levelwise; with 7 objectives and 3 samplers the dispatch space is 126 statically-typed combinations, selectable per run from config.
  • Deterministic parallelism. At a fixed thread count, models are bit-identical across runs and even across CPU architectures (arm64 == x86-64), a property no reference library offers, enforced per-commit in CI. With u16 bins (max_bin above 256) they are also bit-identical at any thread count (the contract).
  • A guide, not just docs. The guide explains gradient boosting chapter by chapter: concept, math, then the ~50 real lines that implement it here, then an experiment against the reference libraries.

Install

pip install bonsai-gbt

Wheels cover Linux x86_64/aarch64 and macOS arm64, Python 3.9 to 3.13, no toolchain needed. The linux x86_64 wheel is CUDA-enabled at about 5.4MB: GPU training works out of the box on any NVIDIA driver R525+, it behaves exactly like a CPU wheel on machines without a GPU, and every release's CUDA wheel passes a live GPU validation before it ships (decision 70). The full story, docker image included, is Install; everything past a wheel (the CLI binary, development setups, CUDA source builds) is Building from source.

Quick start

import bonsai

model = bonsai.BonsaiRegressor(
    n_iters=200,
    learning_rate=0.05,
    grower="leafwise",
    early_stopping_rounds=20,
    params={"tree.lambda_l1": 0.5},  # any dotted config key the CLI accepts
)
model.fit(X_train, y_train, eval_set=(X_valid, y_valid))
pred = model.predict(X_test)
model.save("model.msgpack")  # loadable by `bonsai predict` and vice versa

The CLI (a source-build artifact) drives the same engine with the same keys and the same models:

bonsai fit      -c CONFIG --model OUT.msgpack
bonsai predict  -c CONFIG --model IN.msgpack [--data CSV] --out PREDS.csv
bonsai eval     -c CONFIG --model IN.msgpack [--data CSV]
bonsai info                        # list (objective, grower, sampler) combos
bonsai params                      # dump the default config as TOML

Any key overrides inline (bonsai fit -c config.toml --set tree.max_depth=8 --set dispatch.grower_name=levelwise ...), and make fit-benchmark trains and times bonsai against xgboost/lightgbm/catboost on California Housing in one command. The rest of the API is one read: the quickstart.

Results

Two divisions, per the benchmark charter: perf (latency and memory, accuracy as a sanity guard) and quality (accuracy, timing never citable). The evidence is the results ledger, one generated page per study.

Perf

A fit total is ingest plus train time. On GPU at the tall scenario (16M rows x 128 features), fit totals run depthwise 3.8s vs XGBoost 20.9s; leafwise 4.2s vs LightGBM 31.6s; levelwise 5.4s vs CatBoost 18.3s. On CPU at the tall scenario (2M rows x 128 features): depthwise 10.1s vs XGBoost 13.2s; leafwise 10.2s vs LightGBM 17.6s; levelwise 9.7s vs CatBoost 13.3s. The wide and extreme scenarios, memory use on the host and the device, and early stopping are on the scenario panels.

The panels, and the closed campaigns behind them, are in the ledger.

Quality

On the Grinsztajn et al. tabular benchmark (55 OpenML tasks selected by third parties, three seeds, matched knobs, best variant per library), every library on the CPU:

library mean rank outright wins
bonsai 1.49 35
lightgbm 2.42 6
xgboost 2.91 5
catboost 3.18 9

The same suite with every library on its GPU build:

library mean rank outright wins
bonsai 1.24 42
xgboost 2.29 7
catboost 2.47 6

lgbm_cuda is measured but not ranked: LightGBM's CUDA tree learner does not apply max_depth (LightGBM 4.7.0: the only depth check is the serial learner's BeforeFindBestSplit, which the CUDA Train loop never calls), so at the campaign knobs it grows 63 leaves at any depth where every other arm is capped at depth 6. Ranked among all arms it would read 1.71 with 38 outright wins. Its rows are read in the ledger.

bonsai leafwise against LightGBM head to head on the GPU, both at 63 leaves with no binding depth cap (the regime LightGBM's CUDA learner grows in, the ledger has the task-by-task table):

library mean rank outright wins
bonsai 1.42 32
lightgbm 1.58 23

bonsai keeps the lead under either reading of the one knob that translates ambiguously between libraries, which the standings page records; reproduce with pip install bonsai-gbt[bench], then python -m bonsai.bench.grinsztajn out.jsonl to run the suite and python -m bonsai.bench.grinsztajn out.jsonl --report to render the standings.

Every headline claim links a reproducible run and the decision that records it: claims and proofs.

Documentation

The home is daniel-m-campos.github.io/bonsai, three doors:

The early planning records (proposal, context briefing, MVP retrospective) have been retired; git history holds them.

Project layout

include/bonsai/   public headers (Booster, Tree, Grower, Sampler, …)
src/              implementation + CLI (src/cli/)
python/           the bonsai package (bindings, encoding, bonsai.bench)
tests/unit/       Catch2 unit + parity tests (ctest)
benchmarks/       evidence docs + committed results data
scripts/          uv-managed Python: compare.py, probes, render_results.py
configs/          example TOML configs
docs/             the documentation site source + design records

License

MIT © 2026 Daniel M Campos. See LICENSE.

Metadata

Release files for bonsai-gbt 2.12.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for bonsai-gbt 2.12.0
File Size Uploaded Provenance Actions
bonsai_gbt-2.12.0.tar.gz 2.6 MB With provenance Details for bonsai_gbt-2.12.0.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for bonsai-gbt 2.12.0
File Actions
bonsai_gbt-2.12.0-cp313-cp313-manylinux_2_34_x86_64.manylinux_2_35_x86_64.whl CPython 3.13 CPython 3.13 Linux glibc 2.35+ x86-64, Linux glibc 2.34+ x86-64 Details for bonsai_gbt-2.12.0-cp313-cp313-manylinux_2_34_x86_64.manylinux_2_35_x86_64.whl
bonsai_gbt-2.12.0-cp313-cp313-manylinux_2_34_aarch64.manylinux_2_35_aarch64.whl CPython 3.13 CPython 3.13 Linux glibc 2.35+ ARM64, Linux glibc 2.34+ ARM64 Details for bonsai_gbt-2.12.0-cp313-cp313-manylinux_2_34_aarch64.manylinux_2_35_aarch64.whl
bonsai_gbt-2.12.0-cp313-cp313-macosx_15_0_arm64.whl CPython 3.13 CPython 3.13 macOS 15.0+ ARM64 Details for bonsai_gbt-2.12.0-cp313-cp313-macosx_15_0_arm64.whl
bonsai_gbt-2.12.0-cp312-cp312-manylinux_2_34_x86_64.manylinux_2_35_x86_64.whl CPython 3.12 CPython 3.12 Linux glibc 2.35+ x86-64, Linux glibc 2.34+ x86-64 Details for bonsai_gbt-2.12.0-cp312-cp312-manylinux_2_34_x86_64.manylinux_2_35_x86_64.whl
bonsai_gbt-2.12.0-cp312-cp312-manylinux_2_34_aarch64.manylinux_2_35_aarch64.whl CPython 3.12 CPython 3.12 Linux glibc 2.34+ ARM64, Linux glibc 2.35+ ARM64 Details for bonsai_gbt-2.12.0-cp312-cp312-manylinux_2_34_aarch64.manylinux_2_35_aarch64.whl
bonsai_gbt-2.12.0-cp312-cp312-macosx_15_0_arm64.whl CPython 3.12 CPython 3.12 macOS 15.0+ ARM64 Details for bonsai_gbt-2.12.0-cp312-cp312-macosx_15_0_arm64.whl
bonsai_gbt-2.12.0-cp311-cp311-manylinux_2_34_x86_64.manylinux_2_35_x86_64.whl CPython 3.11 CPython 3.11 Linux glibc 2.34+ x86-64, Linux glibc 2.35+ x86-64 Details for bonsai_gbt-2.12.0-cp311-cp311-manylinux_2_34_x86_64.manylinux_2_35_x86_64.whl
bonsai_gbt-2.12.0-cp311-cp311-manylinux_2_34_aarch64.manylinux_2_35_aarch64.whl CPython 3.11 CPython 3.11 Linux glibc 2.35+ ARM64, Linux glibc 2.34+ ARM64 Details for bonsai_gbt-2.12.0-cp311-cp311-manylinux_2_34_aarch64.manylinux_2_35_aarch64.whl
bonsai_gbt-2.12.0-cp311-cp311-macosx_15_0_arm64.whl CPython 3.11 CPython 3.11 macOS 15.0+ ARM64 Details for bonsai_gbt-2.12.0-cp311-cp311-macosx_15_0_arm64.whl
bonsai_gbt-2.12.0-cp310-cp310-manylinux_2_34_x86_64.manylinux_2_35_x86_64.whl CPython 3.10 CPython 3.10 Linux glibc 2.35+ x86-64, Linux glibc 2.34+ x86-64 Details for bonsai_gbt-2.12.0-cp310-cp310-manylinux_2_34_x86_64.manylinux_2_35_x86_64.whl
bonsai_gbt-2.12.0-cp310-cp310-manylinux_2_34_aarch64.manylinux_2_35_aarch64.whl CPython 3.10 CPython 3.10 Linux glibc 2.34+ ARM64, Linux glibc 2.35+ ARM64 Details for bonsai_gbt-2.12.0-cp310-cp310-manylinux_2_34_aarch64.manylinux_2_35_aarch64.whl
bonsai_gbt-2.12.0-cp310-cp310-macosx_15_0_arm64.whl CPython 3.10 CPython 3.10 macOS 15.0+ ARM64 Details for bonsai_gbt-2.12.0-cp310-cp310-macosx_15_0_arm64.whl
bonsai_gbt-2.12.0-cp39-cp39-manylinux_2_34_x86_64.manylinux_2_35_x86_64.whl CPython 3.9 CPython 3.9 Linux glibc 2.34+ x86-64, Linux glibc 2.35+ x86-64 Details for bonsai_gbt-2.12.0-cp39-cp39-manylinux_2_34_x86_64.manylinux_2_35_x86_64.whl
bonsai_gbt-2.12.0-cp39-cp39-manylinux_2_34_aarch64.manylinux_2_35_aarch64.whl CPython 3.9 CPython 3.9 Linux glibc 2.35+ ARM64, Linux glibc 2.34+ ARM64 Details for bonsai_gbt-2.12.0-cp39-cp39-manylinux_2_34_aarch64.manylinux_2_35_aarch64.whl
bonsai_gbt-2.12.0-cp39-cp39-macosx_15_0_arm64.whl CPython 3.9 CPython 3.9 macOS 15.0+ ARM64 Details for bonsai_gbt-2.12.0-cp39-cp39-macosx_15_0_arm64.whl

Total release size: 53.7 MB

Release files / bonsai_gbt-2.12.0.tar.gz

Download URL bonsai_gbt-2.12.0.tar.gz
Size 2.6 MB
Tags Source
SHA-256 checksum
How to use checksums
f4aa32db4a7b8c7094c7e9d03f899a48f04a057620d32f681891fbd8cfa0183b
BLAKE2b-256 checksum
How to use checksums
08a57739b90e4e49692a795fb843e6b3921dc43f55978b62bcd546303acbda59
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 18, 2026.

Transparency log

Release files / bonsai_gbt-2.12.0-cp313-cp313-manylinux_2_34_x86_64.manylinux_2_35_x86_64.whl

Download URL bonsai_gbt-2.12.0-cp313-cp313-manylinux_2_34_x86_64.manylinux_2_35_x86_64.whl
Size 5.5 MB
Tags CPython 3.13 Linux glibc 2.34+ x86-64 Linux glibc 2.35+ x86-64
SHA-256 checksum
How to use checksums
1cfb3af9bf7e6646835a991aa2380f8f6862bf1fcfccccc14403d2283dfc4b86
BLAKE2b-256 checksum
How to use checksums
30895dddf5bf98f17066ba1353897e5f578c106f356d313faea4c010240975c1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 18, 2026.

Transparency log

Release files / bonsai_gbt-2.12.0-cp313-cp313-manylinux_2_34_aarch64.manylinux_2_35_aarch64.whl

Download URL bonsai_gbt-2.12.0-cp313-cp313-manylinux_2_34_aarch64.manylinux_2_35_aarch64.whl
Size 2.6 MB
Tags CPython 3.13 Linux glibc 2.34+ ARM64 Linux glibc 2.35+ ARM64
SHA-256 checksum
How to use checksums
619787c3b8c4e24f7f6b6948ccfe2f288243b52f2f5950e6cd43a5f40292f419
BLAKE2b-256 checksum
How to use checksums
6f379fd129f729a18c6a9213b92c5415881a26eb89cb5772664aa91e8ebe556c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 18, 2026.

Transparency log

Release files / bonsai_gbt-2.12.0-cp313-cp313-macosx_15_0_arm64.whl

Download URL bonsai_gbt-2.12.0-cp313-cp313-macosx_15_0_arm64.whl
Size 2.2 MB
Tags CPython 3.13 macOS 15.0+ ARM64
SHA-256 checksum
How to use checksums
717b9652eec6f7e4e766985494a48d3e9de16a8fa43f133a800a3104ca823dd8
BLAKE2b-256 checksum
How to use checksums
e428d63173f53d97bb2047f2a3655eeabd9c386c7fc938db304a7b6da0b5983c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 18, 2026.

Transparency log

Release files / bonsai_gbt-2.12.0-cp312-cp312-manylinux_2_34_x86_64.manylinux_2_35_x86_64.whl

Download URL bonsai_gbt-2.12.0-cp312-cp312-manylinux_2_34_x86_64.manylinux_2_35_x86_64.whl
Size 5.5 MB
Tags CPython 3.12 Linux glibc 2.34+ x86-64 Linux glibc 2.35+ x86-64
SHA-256 checksum
How to use checksums
3ec04cad53483464769573d77a6aa24c1a2c9b0a24f7da07c746c9c72cda5a8f
BLAKE2b-256 checksum
How to use checksums
229093f5f560ffa64d255518b45145b752c4e11f4ce76f5c11ea4872f78b71d3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 18, 2026.

Transparency log

Release files / bonsai_gbt-2.12.0-cp312-cp312-manylinux_2_34_aarch64.manylinux_2_35_aarch64.whl

Download URL bonsai_gbt-2.12.0-cp312-cp312-manylinux_2_34_aarch64.manylinux_2_35_aarch64.whl
Size 2.6 MB
Tags CPython 3.12 Linux glibc 2.34+ ARM64 Linux glibc 2.35+ ARM64
SHA-256 checksum
How to use checksums
84bcc29674d63329610855060778c6dd0c8a9ed0592b7943bc3329ae5d747389
BLAKE2b-256 checksum
How to use checksums
4932d6d7897ec9ac7a2524940c3b26d99e38017d8dabdcab9250c8a3fdca1d97
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 18, 2026.

Transparency log

Release files / bonsai_gbt-2.12.0-cp312-cp312-macosx_15_0_arm64.whl

Download URL bonsai_gbt-2.12.0-cp312-cp312-macosx_15_0_arm64.whl
Size 2.2 MB
Tags CPython 3.12 macOS 15.0+ ARM64
SHA-256 checksum
How to use checksums
a271dbc8dd20539f31b090200aaaf530733a637a2183081f3eb5688569cc384f
BLAKE2b-256 checksum
How to use checksums
f31ddb760614baf589684036dfa00a0160e91221dde4af19b62c267a4107242e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 18, 2026.

Transparency log

Release files / bonsai_gbt-2.12.0-cp311-cp311-manylinux_2_34_x86_64.manylinux_2_35_x86_64.whl

Download URL bonsai_gbt-2.12.0-cp311-cp311-manylinux_2_34_x86_64.manylinux_2_35_x86_64.whl
Size 5.5 MB
Tags CPython 3.11 Linux glibc 2.34+ x86-64 Linux glibc 2.35+ x86-64
SHA-256 checksum
How to use checksums
16982b0bd6def056735a69d9920ea82d99237934ddd936fb408d4b3f7e06350c
BLAKE2b-256 checksum
How to use checksums
fe011a2964d3afae177ce841a6f9cabfba0391fd4ed64147e377a916befccf95
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 18, 2026.

Transparency log

Release files / bonsai_gbt-2.12.0-cp311-cp311-manylinux_2_34_aarch64.manylinux_2_35_aarch64.whl

Download URL bonsai_gbt-2.12.0-cp311-cp311-manylinux_2_34_aarch64.manylinux_2_35_aarch64.whl
Size 2.6 MB
Tags CPython 3.11 Linux glibc 2.34+ ARM64 Linux glibc 2.35+ ARM64
SHA-256 checksum
How to use checksums
f1f02602b06a78bb2b20cd74976ad192debb8e8ec2a0a175f5537a9e5b6e4812
BLAKE2b-256 checksum
How to use checksums
fc1254e2507e414afe6d240f955e1e690944afe22243f2802e206f06a75849bf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 18, 2026.

Transparency log

Release files / bonsai_gbt-2.12.0-cp311-cp311-macosx_15_0_arm64.whl

Download URL bonsai_gbt-2.12.0-cp311-cp311-macosx_15_0_arm64.whl
Size 2.2 MB
Tags CPython 3.11 macOS 15.0+ ARM64
SHA-256 checksum
How to use checksums
ad8e46f7a5b171af90a31b3f36ef85807fad1ac98b0638f68c22a939abb9aa60
BLAKE2b-256 checksum
How to use checksums
79c64352dd752146e54a68ecf4dabc3918f397beb3eab6b02cb5ccedc9fc34c2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 18, 2026.

Transparency log

Release files / bonsai_gbt-2.12.0-cp310-cp310-manylinux_2_34_x86_64.manylinux_2_35_x86_64.whl

Download URL bonsai_gbt-2.12.0-cp310-cp310-manylinux_2_34_x86_64.manylinux_2_35_x86_64.whl
Size 5.5 MB
Tags CPython 3.10 Linux glibc 2.34+ x86-64 Linux glibc 2.35+ x86-64
SHA-256 checksum
How to use checksums
b3335a0472871ed68d60fb67f54dbcc51b22799807232310f03c76ad4436d548
BLAKE2b-256 checksum
How to use checksums
7d5107160709d5b0eaf0fe2ae69de7188cb76c4bebdc161a80a55d7e976b3aeb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 18, 2026.

Transparency log

Release files / bonsai_gbt-2.12.0-cp310-cp310-manylinux_2_34_aarch64.manylinux_2_35_aarch64.whl

Download URL bonsai_gbt-2.12.0-cp310-cp310-manylinux_2_34_aarch64.manylinux_2_35_aarch64.whl
Size 2.6 MB
Tags CPython 3.10 Linux glibc 2.34+ ARM64 Linux glibc 2.35+ ARM64
SHA-256 checksum
How to use checksums
bb2fca794d34ee53a8588b91712ea5ecf2494e0b80781bdbc7807fe231ab3f0b
BLAKE2b-256 checksum
How to use checksums
03a2b6d735c7c8679bdd4347db38d0b73864b85490b7dd58471d291175abec14
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 18, 2026.

Transparency log

Release files / bonsai_gbt-2.12.0-cp310-cp310-macosx_15_0_arm64.whl

Download URL bonsai_gbt-2.12.0-cp310-cp310-macosx_15_0_arm64.whl
Size 2.2 MB
Tags CPython 3.10 macOS 15.0+ ARM64
SHA-256 checksum
How to use checksums
6b259c6304762909102d9820020af34fbbcf4ca7a3ba31b330682f0d21ec8105
BLAKE2b-256 checksum
How to use checksums
682f23219bb88a9d3e11d70a1c12a72fa24b12e8d9657e2125bb9f60db19ef78
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 18, 2026.

Transparency log

Release files / bonsai_gbt-2.12.0-cp39-cp39-manylinux_2_34_x86_64.manylinux_2_35_x86_64.whl

Download URL bonsai_gbt-2.12.0-cp39-cp39-manylinux_2_34_x86_64.manylinux_2_35_x86_64.whl
Size 5.5 MB
Tags CPython 3.9 Linux glibc 2.34+ x86-64 Linux glibc 2.35+ x86-64
SHA-256 checksum
How to use checksums
319db414e045b02fa1cb3bf37454c0530e0fe943be05beb0aa412fe0e581cbbe
BLAKE2b-256 checksum
How to use checksums
3c40e8551205c7b21c1f247e956fada17de38a069bc58e3c5c3387ed25655a1b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 18, 2026.

Transparency log

Release files / bonsai_gbt-2.12.0-cp39-cp39-manylinux_2_34_aarch64.manylinux_2_35_aarch64.whl

Download URL bonsai_gbt-2.12.0-cp39-cp39-manylinux_2_34_aarch64.manylinux_2_35_aarch64.whl
Size 2.6 MB
Tags CPython 3.9 Linux glibc 2.34+ ARM64 Linux glibc 2.35+ ARM64
SHA-256 checksum
How to use checksums
a6d8735514561ee3e724fcd6fced5a511b3b3af30255fda65eb36ab8bb1a49cc
BLAKE2b-256 checksum
How to use checksums
2e17c2376c447c49d6c420cec27b60a9e5de48d251e28e6c6e7fef29052dcf63
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 18, 2026.

Transparency log

Release files / bonsai_gbt-2.12.0-cp39-cp39-macosx_15_0_arm64.whl

Download URL bonsai_gbt-2.12.0-cp39-cp39-macosx_15_0_arm64.whl
Size 2.2 MB
Tags CPython 3.9 macOS 15.0+ ARM64
SHA-256 checksum
How to use checksums
9e0e596542d60a0896d9a1d8644f87ceb45aaf85772909be01dc44cdc200ce31
BLAKE2b-256 checksum
How to use checksums
a5c3220e6027d457017e43dd797d3f4fb740d1cf9c276dd65e8b6e7036b59908
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 18, 2026.

Transparency log

Security for bonsai-gbt 2.12.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 16 files in this release have been uploaded with provenance metadata.

Select from 16 files

Attestation for bonsai_gbt-2.12.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 18, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

2.12.0 This release

16 release files Full provenance

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