Skip to main content

hessboost for Python

Fast, deterministic gradient boosting in Rust. The core API (DMatrix, train, cv, Booster, and scikit-learn estimators) takes the parameter names XGBoost users know, and models move to and from XGBoost as JSON or UBJSON.

  • Strict. An unknown parameter, a value of the wrong type or range, or a combination hessboost does not implement raises an error; nothing is silently ignored.
  • Deterministic. The same parameters, data, and seed give the same model at any nthread.
  • Typed (py.typed, complete type information), with the GIL released while training and predicting, and free-threaded CPython supported. Native work runs on the extension's own thread pool, which a child forked with os.fork() rebuilds instead of hanging.
  • Modern modeling (opt-in). Conformal prediction intervals, confidence intervals for the regression function (Boulevard boosting), distributional boosting (a predictive distribution per row), exceedance probabilities over a threshold ladder (objective="reg:exceedance" with exceedance_threshold, non-crossing P(y >= k) per threshold; Booster.exceedance_thresholds), LightGBM/CatBoost tree options, class-balanced binary bagging, and XE-NDCG ranking (objective="rank:xendcg").

Installation

uv add hessboost        # or: pip install hessboost

Extras: hessboost[pandas], hessboost[polars], hessboost[scikit-learn], and hessboost[cuda] for NVIDIA GPUs on Linux (see GPU training and prediction). numpy is the only required dependency.

Prebuilt wheels are published for Linux x86_64 and aarch64 (glibc manylinux and musl/Alpine musllinux), macOS arm64, and Windows x86_64, three per platform: an abi3 wheel for CPython 3.12 and newer, an abi3t wheel (PEP 803) for both the GIL-enabled and the free-threaded builds of CPython 3.15 and newer, and a wheel for free-threaded CPython 3.14t. Every wheel trains and predicts on a GPU through wgpu (Vulkan, Metal, DirectX 12), and the macOS wheels also through native Metal; CUDA comes only with the cuda extra. Elsewhere the installer builds from the source distribution, which needs Rust 1.93 or newer and a C compiler (for libzstd).

Quick start

Train on a DMatrix, evaluating a holdout set every round and stopping once it stops improving:

import numpy as np
import hessboost

rng = np.random.default_rng(0)
X = rng.normal(size=(1000, 5))
y = (X[:, 0] + X[:, 1] ** 2 > 1).astype(int)

dtrain = hessboost.DMatrix(X[:800], label=y[:800])
dvalid = hessboost.DMatrix(X[800:], label=y[800:])

booster = hessboost.train(
    {"objective": "binary:logistic", "max_depth": 4, "eta": 0.1, "eval_metric": "auc"},
    dtrain,
    num_boost_round=500,
    evals=[(dvalid, "valid")],
    early_stopping_rounds=20,
    verbose_eval=False,
)

predict takes a DMatrix or anything its constructor accepts. The default range is the iterations through best_iteration (pass iteration_range=(0, 0) for every iteration), except pred_leaf, which defaults to all of the model's trees, not just through best_iteration. The flag arguments are exclusive:

probabilities = booster.predict(X[800:])  # through best_iteration
margins = booster.predict(X[800:], output_margin=True)
shap = booster.predict(X[800:], pred_contribs=True)  # (rows, features + 1)
leaves = booster.predict(X[800:], pred_leaf=True)  # (rows, trees) int32, all trees
print(booster.best_iteration, booster.get_score(importance_type="gain"))

Values and margins of a plain 2-D numpy array are predicted from the array itself, without building a DMatrix (bit-identical to the DMatrix path). For serving one row at a time, predict_row skips the matrix altogether; out= reuses a result array, and transform_margin(s) applies the objective's transform to margins computed elsewhere (bit for bit what predict reports):

row = booster.predict_row(X[0])  # == booster.predict(X[:1])[0], 1-D float32
out = np.empty(1, dtype=np.float32)
booster.predict_row(X[1], output_margin=True, out=out)  # writes into out
probability = booster.transform_margin(float(out[0]))
probabilities = booster.transform_margins(margins)  # == booster.predict(X[800:])

booster.model_info() returns the model's structure as numpy arrays, enough to walk the trees and recompute the margins without parsing a model file: a ModelInfo with the layout, base margins, per-tree weights and outputs, and the gblinear and model-shrinkage records, and per tree a TreeInfo of node arrays (children, split features, thresholds, categories, leaf values, covers, gains, linear leaves) and its leaf divisor (an average's member count).

Input data

DMatrix takes numpy arrays of any numeric dtype and memory layout, pandas and polars DataFrames, polars LazyFrames, scipy sparse matrices, and anything numpy.asarray accepts, and keeps its own copy of the values; copy=False reads a read-only, C-contiguous float32 array in place instead (such as np.load(path, mmap_mode="r")), which must then stay unchanged. NaN, and a frame's null, is missing (or pass missing=); ranking data takes group= sizes or qid=, survival:aft takes label_lower_bound=/label_upper_bound=, and split_group= gives each row an integer id of its independent unit of evidence (a symbol on one day, an episode), which the min_child_groups parameter counts: a split is taken only when both children hold rows of at least that many groups. Booster.predict accepts the same inputs directly. DMatrix.slice(rows) is a view of the rows, sharing the values, and BinnedMatrix(dtrain, max_bin) keeps only a matrix's histogram bins (XGBoost's QuantileDMatrix), which train takes for hist growth.

With a frame, the per-row metadata can name its columns instead of arriving as separate arrays: label, weight, base_margin, qid, split_group, label_lower_bound and label_upper_bound (label and base_margin also a list of names, for a label matrix or per-output margins). The named columns leave the features:

import polars as pl

dtrain = hessboost.DMatrix(
    pl.scan_parquet("train.parquet").filter(pl.col("split") == "train").drop("split"),
    label="price",
    weight="exposure",
)

A LazyFrame is collected once, by polars' default engine, which since polars 2.0 is the streaming engine (spilling to disk when the frame outgrows memory). Because that engine keeps no row order after a join or group_by, a LazyFrame takes labels and the other per-row metadata by column name only, so that they come out of the same collect as the features; an array alongside it (or group sizes) is refused. Predictions on a LazyFrame align with its collected rows, so to attach them to a frame, collect it yourself and predict on the DataFrame. A polars frame converts through a select of Float32 expressions that polars evaluates in parallel, in row blocks of 64 MiB of output; Decimal and all-null columns are numeric, and a column of another dtype (Datetime, String, polars 2.0's Extension for Arrow extension types the frame was read with) is refused with the conversion that would make it numeric. polars 1.x and 2.x are both supported (polars>=1.0).

Training controls

train supports XGBoost's everyday arguments: evals, evals_result, early_stopping_rounds, verbose_eval (printed live, every round or every n-th), xgb_model (continued training, or tree refresh with process_type="update"), a custom objective obj, a custom_metric, and callbacks. Ctrl-C stops training at the end of the current round and raises KeyboardInterrupt. hessboost.cv cross-validates over shuffled folds, explicit folds, or a scikit-learn splitter; on ranking data each fold must hold whole query groups (e.g. GroupKFold over the query ids). cv(xgb_model=...) continues a model in every fold, and cv(refit=True) also retrains on every row for the chosen round count (the best one under early stopping), returning a CvRefit with the history and that booster:

refit = hessboost.cv(params, dtrain, 500, early_stopping_rounds=20, refit=True)
refit.history["test-rmse-mean"], refit.num_boost_round
predictions = refit.booster.predict(X_test)

hessboost.cross_validate takes the same arguments and returns a CvReport: the history, every fold's FoldReport (its round count, test scores, and test-row margins), and with refit=True its CvReportRefit (the retrained booster, num_boost_round, target_encoder, stopping). report.out_of_fold() combines the folds into one margin row per training row (NaN and fold -1 for rows no fold tests; refused when two folds test the same row). With per_fold_stopping=folds.PurgedTail(decision_at, label_end, fraction), early stopping is per fold and leakage-safe: each fold sizes its rounds, with early_stopping_rounds as the patience, on the purged chronological tail of its own training rows (the last fraction of their time span, or with cut="rows" of the rows themselves, starting at a decision time and purged as purged_forward purges), then trains on all of them. No forward fold uses rounds chosen with later labels, and the refit is sized the same way on every row:

from hessboost import folds

splits = folds.purged_forward(at, label_end, validation_fraction=0.3, blocks=4)
tail = folds.PurgedTail(at, label_end, 0.2)
report = hessboost.cross_validate(
    params, dtrain, 500, folds=splits, early_stopping_rounds=20, per_fold_stopping=tail
)
oof = report.out_of_fold()
residuals = y - oof.margins  # NaN where no fold held the row out
rounds = [fold.num_boost_round for fold in report.folds]

Booster.average(boosters) combines bagged members (fits differing in seed or rows) into one booster whose margin is their mean margin: every member's trees with each leaf divided by the member count, and the intercepts averaged. Members must share the objective, features and layout, with no DART weights, model shrinkage, gblinear part, Boulevard or EBM record, or early stopping (slice those first). For log links the average predicts the geometric mean of the members' predictions:

bag = [hessboost.train(params | {"seed": seed}, dtrain, 300) for seed in range(5)]
averaged = hessboost.Booster.average(bag)

Every tree of the average records the member count it was divided by (TreeInfo.leaf_divisor), so refreshing the average on new rows (process_type="update", with the members' eta) keeps it an average: each refreshed leaf is divided by that count again. Every format save_model writes keeps the count; a file XGBoost itself loads and saves again does not, and refreshes as a plain ensemble.

refreshed = hessboost.train(
    params | {"process_type": "update"}, dtrain, averaged.num_boosted_rounds(), xgb_model=averaged
)

hessboost.train_with_budget(params, dtrain, budget) trains with one fitting budget in place of eta, tree limits, and a round count (PerpetualBooster's algorithm).

Subclass TrainingCallback to stop on your own condition; after_iteration sees the round and the evaluation history, and returning True stops training with the rounds so far:

class StopAtTarget(hessboost.TrainingCallback):
    def after_iteration(self, iteration, evals_log):
        return evals_log["valid"]["auc"][-1] > 0.99  # True stops training


hessboost.train(
    {"objective": "binary:logistic", "eval_metric": "auc", "max_depth": 4},
    dtrain,
    1000,
    evals=[(dvalid, "valid")],
    callbacks=[StopAtTarget()],
)

DataFrames and categorical features

pandas and polars column names become feature names, and categorical columns (pandas category; polars Enum and Categorical) become native categorical features. A category's code is its position in the column's categories: a pandas column's or an Enum's declared categories, or a polars Categorical's values, sorted (as pandas infers them). The booster remembers each column's categories and re-codes a frame passed to predict (and the other prediction and calibration methods) whose categories are ordered differently or include unseen values (which count as missing), whichever library the frame is from:

import pandas as pd

df = pd.DataFrame({"color": pd.Categorical(["red", "blue", "red"] * 100), "size": np.arange(300.0)})
booster = hessboost.train({}, hessboost.DMatrix(df, label=np.arange(300.0)), 20)
booster.predict(df)

A DMatrix is coded once, when it is built, so it must have the features of every model or matrix it meets: predict and the calibrators check it against each model reading it, and train checks every evals matrix against dtrain and against xgb_model, and dtrain against xgb_model (continued training or refresh). Feature names (where both have them; predict(validate_features=False) skips them), which features are categorical, and each categorical feature's categories, in order, must match; a mismatch raises HessboostError naming the eval set and the feature. Build eval frames with the training frame's categories (for example valid["color"].cat.set_categories(train["color"].cat.categories) in pandas; in polars, an Enum of the training categories, since a Categorical missing some of its values has other categories). Codes without recorded categories (numpy data with feature_types=["c", ...]) are taken to be the other side's codes; only which features are categorical is compared, and a model continued on them keeps the earlier model's categories. ConformalizedQuantile.calibrate likewise needs its two models to share their features, and re-codes frames to whichever model records categories. The scikit-learn estimators re-code every eval_set frame to the training frame's categories and, with xgb_model, the training frame to the earlier model's.

scikit-learn

The estimators take XGBoost's scikit-learn parameter names, plus callbacks. Parameters left at None keep hessboost's defaults, and params={...} passes any other training parameter; fit(..., verbose=True) (or a period) prints rounds live:

from hessboost.sklearn import HessboostClassifier

model = HessboostClassifier(
    n_estimators=300, max_depth=4, learning_rate=0.1, early_stopping_rounds=20
)
model.fit(X_train, y_train, eval_set=[(X_valid, y_valid)])
model.predict_proba(X_test)
model.feature_importances_

HessboostRegressor (multi-target with a 2-D y), HessboostClassifier (any class labels), HessboostRanker (group= or qid=), and HessboostDistributionRegressor (dist:* objectives; predict returns means, predict_distribution the distributions) work with pipelines, clone, grid search, and pickling, and pass scikit-learn's estimator checks (except three documented deviations). import hessboost does not import scikit-learn; hessboost.sklearn needs it.

Model files

Method Formats
save_model(path, format=None) by extension: .json native JSON, .ubj XGBoost UBJSON, anything else native binary; or format="binary" | "json" | "xgboost-json" | "xgboost-ubjson"
Booster(path_or_bytes), load_model(...) any of the four, or a LightGBM 4.x text model (format="lightgbm", import only), detected from the content (ModelFormatError if it looks like none of them)
save_raw(format="binary") the same formats as bytes
pickle / copy native binary plus feature names, categories, and best_score

The native binary format is compressed, checksummed, and lossless; files load in subsequent releases. A LightGBM model (lightgbm.Booster.save_model) predicts LightGBM's values for inputs with missing values as NaN and categorical features as non-negative codes; models with no exact equivalent raise ModelFormatError:

booster.save_model("model.ubj")  # a file XGBoost loads; .json for native JSON
loaded = hessboost.Booster("model.ubj")  # format detected from the content
early = booster[:10]  # the first 10 boosting iterations, as a Booster

Modern modeling

Conformal intervals

SplitConformal wraps one single-output model in f(x) ± Q, where Q is the calibration set's quantile of |y - f(x)| — finite-sample 1 - alpha coverage for exchangeable rows:

from hessboost.conformal import SplitConformal

cal = SplitConformal.calibrate(booster, X_cal, y_cal, alpha=0.1)
lower, upper = cal.predict_interval(X_test).T

ConformalizedQuantile instead adjusts a quantile band [q_lo(x), q_hi(x)] by its calibration quantile, so it also tightens a band that over-covers. The band comes from two single-quantile models (calibrate), two outputs of one multi-quantile model (calibrate_outputs), or a dist:* model's central quantiles (calibrate_distribution):

from hessboost.conformal import ConformalizedQuantile

band = hessboost.train(
    {"objective": "reg:quantileerror", "quantile_alpha": [0.05, 0.95]},
    hessboost.DMatrix(X_train, y_train),
    200,
)
cqr = ConformalizedQuantile.calibrate_outputs(band, X_cal, y_cal, alpha=0.1)
lower, upper = cqr.predict_interval(X_test).T  # >= 90% coverage, finite-sample

OnlineCalibrator updates a score threshold without retraining or owning a model. Keep each forecast receipt and the original point prediction or band until its label arrives; update receipts once, in issue order:

from hessboost.conformal import OnlineCalibrator

tracker = OnlineCalibrator(0.1, 0.05, initial_threshold=1.0, lags=1)
point_prediction = 2.0
issued = tracker.predict()
lower, upper = point_prediction - issued.threshold, point_prediction + issued.threshold
# Only when this forecast's label becomes observable:
label = 3.5
tracker.update(issued, abs(label - point_prediction))

Use covariates=N and predict(features) for forecast-time covariates in addition to the most recently observed score lags. Coefficients are bounded by coefficient_bound in L2 norm; the intercept is not clipped. Negative thresholds can shrink bands or mean an empty set. Online calibration does not inherit split conformal's finite-sample guarantee, and no general delayed-feedback or conditional coverage guarantee is claimed. State and receipts cannot be pickled. Concurrent calls serialize while detached from Python. Create a new calibrator after fork; inherited calibration state is refused before its mutex is touched.

For threshold ladders, eval_metric="exceedance-brier" uses positive trapezoidal grid weights and averages by row weight. It requires at least two thresholds. It can drive early stopping, but is a finite-grid score, not full CRPS: compare every model on the same thresholds and weights.

Distributional boosting

A dist:* objective fits a predictive distribution per row instead of a point. predict_distribution returns a Distributions object whose summaries are vectorized over rows:

dist = hessboost.train({"objective": "dist:normal"}, hessboost.DMatrix(X_train, y_train), 300)
d = dist.predict_distribution(X_test)
means, stds = d.mean(), d.std()
lower, upper = d.interval(0.9).T
ll, score = d.log_prob(y_test), d.crps(y_test)

Virtual ensembles

A model trained with posterior_sampling (SGLB: langevin noise plus model_shrink_rate) carries its own posterior ensemble: count members rebuilt exactly from its model shrinkage, member-major ((count, rows) for single-output models), with each member's iteration count alongside:

sglb = hessboost.train({"posterior_sampling": True}, hessboost.DMatrix(X_train, y_train), 1000)
members, iterations = sglb.predict_virtual_ensembles(X_test, 10)
u = sglb.predict_uncertainty(X_test, 10)  # u.mean, u.knowledge, u.data, u.total

predict_uncertainty decomposes the ensemble à la CatBoost: knowledge (epistemic) uncertainty rises off the training data. Plain regression has only mean and knowledge (data/total are None); dist:* and classification models get the full decomposition.

Online updates

OnlineModel keeps a trained model with its training data and updates both in place as rows arrive or must be forgotten. Exact() retrains, so every update equals hessboost.train on the updated data bit for bit; Approximate(tolerance) (default, 0.1) keeps splits that still rank near the top and is faster for small changes. A refused, stopped, or interrupted (Ctrl-C) update changes nothing:

from hessboost.online import Approximate, OnlineModel

online = OnlineModel.train(
    {"tree_method": "hist", "max_depth": 6},
    hessboost.DMatrix(X_train, y_train),
    100,
    Approximate(0.1),
)
report = online.update(hessboost.DMatrix(X_new, y_new), deletions=[3, 17])
online.model.predict(X_test)  # online.data: the updated training rows

The report counts kept nodes, regrown subtrees, and refreshed rows (UpdateReport); OnlineModel.from_model resumes from a saved Booster and its training data. Updates need hist depth-wise trees without constraints.

An OnlineModel belongs to the process that created it. In a forked child, an inherited instance raises HessboostError on update(), model, and data; num_row() and mode still report the values inherited at fork. Train a new OnlineModel in the child, or use from_model with a Booster snapshot and the matching training data taken before the fork.

Row weights (recency or importance weights) are honored: train on a weighted DMatrix and add rows with their weights, which every update sums into its gradient and Hessian statistics as hessboost.train does. Row and column subsampling (subsample, colsample_bytree) work in both modes: Exact() redraws the samples over the updated rows, as a retrain with the same seed does, while Approximate keeps each tree's samples (an added row joins each tree's with probability subsample):

params = {"tree_method": "hist", "max_depth": 6, "subsample": 0.5, "colsample_bytree": 0.5}
online = OnlineModel.train(params, hessboost.DMatrix(X_train, y_train, weight=w_train), 100)
online.update(hessboost.DMatrix(X_new, y_new, weight=w_new), deletions=[0, 1])

colsample_bylevel, colsample_bynode, and gradient-based sampling need Exact(). After an approximate update under subsample, keep the OnlineModel: from_model replays training's draws, which no longer match the samples it kept, so only Exact() resumes such a model (the approximate mode's leaf checks refuse it on a best-effort basis, not by recorded provenance). Online updates refuse averaged boosters in either mode: update constituent models first, then average; a one-member average with unit-divisor trees is resumable.

Explainable boosting machines

{"booster": "ebm"} trains a cyclic GA2M with outer bags, FAST pairs, and per-bag early stopping. Every term's piecewise-constant shape function is readable from the model (NumericAxis edges or CategoricalAxis codes, plus a missing cell per axis); intercept plus shapes is the margin:

from hessboost import ebm

model = hessboost.train({"booster": "ebm"}, hessboost.DMatrix(X_train, y_train), 50)
shapes = ebm.shape_functions(model)
shapes.intercept, shapes.terms[0].values

A Boulevard EBM ({"booster": "ebm", "ebm_boulevard": True}) additionally supports confidence bands on its shapes via hessboost.inference.EbmInference.term_bands.

EBMs take eval sets like any booster: train(..., evals=[(dvalid, "valid")], early_stopping_rounds=5) records the history and best_score (classic EBMs stop early on it), and cv (with refit=True too) cross-validates them. cv refuses ebm_early_stopping_rounds, which would stop each fold's stages at different rounds; its early_stopping_rounds stops on the fold means instead.

Boulevard inference

Boulevard boosting ({"booster": "boulevard"}) samples trees with dropout so the ensemble converges to a kernel ridge posterior, whose leaf kernel gives asymptotic confidence, prediction, and reproduction intervals for f(x). Refit the leaves on independent rows first (honest_refit), fit the kernel over those rows, then query any rows:

from hessboost.inference import BoulevardInference, honest_refit

trained = hessboost.train(
    {"booster": "boulevard", "eta": 0.8, "boulevard_dropout": 0.5, "subsample": 0.8},
    hessboost.DMatrix(X_struct, y_struct),
    200,
)
model = honest_refit(trained, X_values, y_values)  # leaves from independent rows
inference = BoulevardInference.fit(model, X_values, y_values, holdout=X_cal, holdout_label=y_cal)
lower, upper = inference.confidence_intervals(X_test, alpha=0.05).T  # for f(x)

The intervals are conditional on the tree structures: nominal for low-dimensional smooth signals after an honest refit, under-covering elsewhere (see the crate's inference docs). Booster.boulevard records how the model was trained.

Diffusion models

hessboost.diffusion fits nonparametric p(y | x) for scalar or vector labels (multimodal, skewed, heavy-tailed) by conditional diffusion or flow matching with GBDT score models, after Treeffuser and DiffGBM. sample returns (rows, n_samples, outputs) draws, deterministic per seed and step count (n_steps= overrides the model's); mean, quantiles, and crps summarize them:

from hessboost.diffusion import DiffusionModel, DiffusionParams, crps, quantiles

flow = DiffusionModel.fit(DiffusionParams.flow_matching(), X_train, y_train)
draws = flow.sample(X_test, 200, seed=0)  # (rows, 200, outputs) float32
bands = quantiles(draws, [0.05, 0.5, 0.95])  # (rows, 3, outputs)
scores = crps(draws, y_test)  # (rows, outputs)

DiffusionParams is a frozen dataclass tree with presets default(), treeffuser(), and flow_matching(); its training mappings are XGBoost parameters, as train reads them. Models save with to_bytes(format="binary") / save(path, format="binary") ("binary" or "json") and load with from_bytes(data, format="auto") / load(path, format="auto"), or pickle (which also keeps feature names and categories). fit releases the GIL but cannot be interrupted: Ctrl-C takes effect once it returns.

Synthetic tabular data

hessboost.diffusion.forest fits ForestFlow / ForestDiffusion models of whole rows (optionally per class of a label) with per-noise-level GBDTs. sample draws synthetic rows as a ForestSamples (values, plus labels for a class-conditional model); sample_for_labels draws one row per given label:

from hessboost.diffusion.forest import ForestModel, ForestParams

forest = ForestModel.fit(ForestParams.forest_diffusion(), X_with_nans)
synthetic = forest.sample(1000, seed=0)  # .values (1000, columns), .labels None

The diffusion variant also imputes missing values, keeping the observed entries (flow models refuse). Values are in the data's own coding:

filled = forest.impute(X_with_nans, n_imputations=5)  # (5, rows, columns)

ForestParams has presets forest_flow() (the defaults) and forest_diffusion(); its training mappings are XGBoost parameters, and models save and load like DiffusionModels.

GPU training and prediction

Three GPU backends reproduce the CPU's results bit for bit: native Metal ("metal", macOS), wgpu ("wgpu": Vulkan on Linux and Windows, Metal on macOS, DirectX 12 on Windows), and NVIDIA CUDA ("cuda" or "cuda:<ordinal>", Linux, with hessboost[cuda]; see below). Booster.to_gpu() lays a model out for batch prediction (on Metal on macOS and on wgpu elsewhere; to_gpu("wgpu") asks for wgpu, to_gpu("cuda:1") for the second NVIDIA GPU): the forest uploads once, and each call predicts bit-identically to Booster.predict (values or raw margins). Objective transforms run on the CPU; models trained with model shrinkage predict on the CPU. gblinear and linear-leaf models are refused. GpuModel.available() says whether the device can predict here:

from hessboost import GpuModel

if GpuModel.available():
    gpu = booster.to_gpu()
    probabilities = gpu.predict(X_test)

Training with device="metal", device="wgpu" or device="cuda" builds histograms on the selected GPU and gives the CPU's model bit for bit:

booster = hessboost.train({"device": "wgpu", "max_depth": 6}, dtrain, 100)

Metal prediction is faster than the CPU from roughly a few thousand row-trees upward. wgpu needs an adapter with 64-bit shader integers: desktop Vulkan drivers, Apple GPUs, or DirectX 12 with dxcompiler.dll where Windows finds DLLs. It uses a software adapter such as Mesa's lavapipe (correct, but slower than the CPU) only when there is no other; GpuModel.device_name("wgpu") names the adapter it picked, and the WGPU_ADAPTER_NAME environment variable picks one by name.

The plain package needs no CUDA; CUDA support is the cuda extra:

uv add 'hessboost[cuda]'        # or: pip install 'hessboost[cuda]'

It installs hessboost-runtime-cuda, hessboost's extension built with CUDA kernels (Rust compiled to PTX by cuda-oxide), which import hessboost loads in place of its own. Its wheels cover x86_64 and aarch64 glibc Linux; on other Linux platforms the installer builds it from source, which also needs CUDA 13's driver and cuRAND headers and libclang. Both packages must come from the same release: import hessboost refuses to load beside a hessboost-runtime-cuda of another release. Running needs no CUDA toolkit, only an NVIDIA GPU of compute capability 7.5 (Turing) or newer and a driver supporting CUDA 12.8 or newer, which compiles the kernels for the GPU on first use and caches them. A missing driver or device, or an installation without the CUDA runtime, returns an error rather than silently predicting on the CPU.

if GpuModel.available("cuda"):
    gpu = booster.to_gpu("cuda")
    probabilities = gpu.predict(X_test)

Compact models

Booster.to_compact() packs the trees default prediction uses into hessboost's bit-packed HBTD format (Boosted Trees on a Diet), which predicts bit-identical values and margins in a fraction of the size; training with toad_penalty_feature/toad_penalty_threshold shrinks it further. Booster.size_report() compares the two formats:

from hessboost import CompactModel

compact = booster.to_compact()
compact.save_model("model.hbtd")
predictions = CompactModel("model.hbtd").predict(X_test)
print(booster.size_report().compression_ratio)

Validation folds

hessboost.folds builds (train_rows, test_rows) splits for cv or custom loops: shuffled k_fold (what cv uses by default), forward_chaining expanding windows with a purged gap, and purged_forward (timestamped rows, purged by each row's own label window, for overlapping or irregular horizons; rows= restricts it, like purged_forward_at, to selected rows such as those with a finite label, as indices or a boolean mask); PurgedTail is the purged early-stopping split of a fold's own training rows that cross_validate(per_fold_stopping=...) sizes each fold on, cut by time span or, with cut="rows", by row count:

from hessboost import folds

splits = folds.forward_chaining(dtrain.num_row(), 4, gap=24)
result = hessboost.cv({"max_depth": 4}, dtrain, 100, folds=splits)

Ordered target statistics

hessboost.target_stats.OrderedTargetEncoder replaces categorical columns with CatBoost-style ordered target means: a training row's encoding never sees its own label. label= supplies the target for a multi-target matrix or a class's 0/1 indicator. In cv, target_stats= fits the encoder on each fold's training rows only, so no held-out label reaches an encoding (target_stats_label= supplies its target, split with the folds); with refit=True, CvRefit.target_encoder is the encoder fitted on every row, which encodes new data for the refit booster:

from hessboost.target_stats import OrderedTargetEncoder

encoder = OrderedTargetEncoder(seed=7)
dtrain_encoded, stats = encoder.fit_transform(dtrain, ["city"])
booster = hessboost.train({"max_depth": 4}, dtrain_encoded, 100)
predictions = booster.predict(stats.transform(X_test))
result = hessboost.cv({"max_depth": 4}, dtrain, 100, target_stats=["city"], target_encoder=encoder)
refit = hessboost.cv({"max_depth": 4}, dtrain, 100, target_stats=["city"], refit=True)
predictions = refit.booster.predict(refit.target_encoder.transform(X_test))

stats.save(path) / FittedTargetEncoder.load(path) (and to_bytes/from_bytes) store the Rust crate's serde JSON, which keeps column indices and category codes but not feature names or frame categories; pickle the statistics to keep them.

Extra training options

Every hessboost training option (path_smooth, extra_trees, linear_tree, grow_policy="symmetric", use_quantized_grad, pos_bagging_fraction, neg_bagging_fraction, bagging_by_query, the dist:* objectives and their dist_gradient, rank:xendcg, ...) is a params key. XE-NDCG's keyed per-round random stream differs from LightGBM's rank_xendcg stream. linear_tree leaves extrapolate along their slopes past the values they were fit on; linear_clamp=True clamps each leaf's inputs to the range of the rows it was fit on, so it stays flat beyond them (TreeInfo.linear.ranges holds the ranges). leaf_estimation_method="exact" sets every leaf of a reg:quantileerror or reg:absoluteerror model to the exact residual quantile (median) of the training rows it holds instead of the smooth surrogate's Newton step; the scikit-learn estimators also take it as a constructor parameter.

Differences from XGBoost's Python package

  • Errors: hessboost.HessboostError (a ValueError) for refused inputs, with subclasses InvalidDataError (data content: labels outside the objective's domain, negative weights, bad groups or bounds; the message names the input and any eval set), IncompatibleModelError (a model the parameters or data do not match: continued training, refresh, slicing) and ModelFormatError (model files); invalid or conflicting parameters raise HessboostError itself. TypeError for wrong types. Unsupported parameters are refused, including verbosity; missing belongs to DMatrix.
  • TrainingCallback.after_iteration(iteration, evals_log) -> bool sees the round and the evaluation history, not the model (XGBoost's also gets the booster and has before_training/after_training hooks); returning True stops training with the rounds so far. hessboost.cv has no callbacks and finishes its folds before Ctrl-C takes effect.
  • custom_metric(predictions, labels, weights) returns a float and is named by the function's __name__ (XGBoost passes a DMatrix and returns (name, value)). obj(margins, dtrain) matches XGBoost; the model then predicts margins from a zero intercept (or base_score). obj replaces objective, which params must then not set, and num_class is the custom objective's output count (XGBoost's custom-softmax convention; default: one per label column). Unlike XGBoost, which accepts both, hessboost refuses objective alongside obj: drop objective from ported params; the callback needs no change.
  • cv returns a dict of numpy arrays (test-<metric>-mean/-std) with held-out metrics only (or, with refit=True, a CvRefit holding it and the retrained booster); there is no stratified or as_pandas.
  • predict defaults to the iterations through best_iteration (XGBoost's scikit-learn behavior); pass iteration_range=(0, 0) for all. SHAP and leaf ranges start at iteration 0; pred_leaf defaults to every iteration instead, and returns int32.
  • GPUs: besides XGBoost's device="cuda"/"cuda:<ordinal>" (NVIDIA on Linux, with hessboost[cuda]), device="metal" (macOS) and device="wgpu" train on a GPU. Prediction does not follow the training device: Booster.to_gpu(device) lays the model out for GPU batch prediction (GpuModel.predict, bit-identical to Booster.predict), taking the same GPU device strings.
  • Model files do not store feature names or categories (pickles do).
  • Not available: DMatrix from files, inplace_predict (predict takes arrays directly, and predict_row single rows), Booster.get_dump/trees_to_dataframe/dump_model (model_info() returns the trees as arrays), attributes (set_attr), plotting, distributed (Dask/Spark), approx_contribs, and strict_shape.

Development

From python/ in the repository, with uv:

uv sync --locked              # build the extension and install dev tools
uv run --locked pytest
uv run --locked pyright --verifytypes hessboost --ignoreexternal

On Linux, with CUDA 13's headers in CUDA_HOME and libclang, uv sync --locked --extra cuda also builds the CUDA runtime from runtime-cuda/, and uv run --locked --extra cuda pytest tests against it.

Lint, format, and type-check all of the repository's Python from its root (configuration: ruff.toml, ty.toml):

uv run --project python --locked ruff check
uv run --project python --locked ruff format --check
uv run --project python --locked ty check

License

Apache-2.0.

Metadata

Release files for hessboost 0.4.9

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

Source distribution (sdist)

Source distribution for hessboost 0.4.9
File Size Uploaded Provenance Actions
hessboost-0.4.9.tar.gz 2.7 MB With provenance Details for hessboost-0.4.9.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for hessboost 0.4.9
File Actions
hessboost-0.4.9-cp315-abi3.abi3t-win_amd64.whl CPython 3.15 abi3t, abi3 Windows x86-64 Details for hessboost-0.4.9-cp315-abi3.abi3t-win_amd64.whl
hessboost-0.4.9-cp315-abi3.abi3t-musllinux_1_2_x86_64.whl CPython 3.15 abi3t, abi3 Linux musl 1.2+ x86-64 Details for hessboost-0.4.9-cp315-abi3.abi3t-musllinux_1_2_x86_64.whl
hessboost-0.4.9-cp315-abi3.abi3t-musllinux_1_2_aarch64.whl CPython 3.15 abi3t, abi3 Linux musl 1.2+ ARM64 Details for hessboost-0.4.9-cp315-abi3.abi3t-musllinux_1_2_aarch64.whl
hessboost-0.4.9-cp315-abi3.abi3t-manylinux_2_28_x86_64.whl CPython 3.15 abi3t, abi3 Linux glibc 2.28+ x86-64 Details for hessboost-0.4.9-cp315-abi3.abi3t-manylinux_2_28_x86_64.whl
hessboost-0.4.9-cp315-abi3.abi3t-manylinux_2_28_aarch64.whl CPython 3.15 abi3t, abi3 Linux glibc 2.28+ ARM64 Details for hessboost-0.4.9-cp315-abi3.abi3t-manylinux_2_28_aarch64.whl
hessboost-0.4.9-cp315-abi3.abi3t-macosx_11_0_arm64.whl CPython 3.15 abi3, abi3t macOS 11.0+ ARM64 Details for hessboost-0.4.9-cp315-abi3.abi3t-macosx_11_0_arm64.whl
hessboost-0.4.9-cp314-cp314t-win_amd64.whl CPython 3.14 CPython 3.14 free-threading Windows x86-64 Details for hessboost-0.4.9-cp314-cp314t-win_amd64.whl
hessboost-0.4.9-cp314-cp314t-musllinux_1_2_x86_64.whl CPython 3.14 CPython 3.14 free-threading Linux musl 1.2+ x86-64 Details for hessboost-0.4.9-cp314-cp314t-musllinux_1_2_x86_64.whl
hessboost-0.4.9-cp314-cp314t-musllinux_1_2_aarch64.whl CPython 3.14 CPython 3.14 free-threading Linux musl 1.2+ ARM64 Details for hessboost-0.4.9-cp314-cp314t-musllinux_1_2_aarch64.whl
hessboost-0.4.9-cp314-cp314t-manylinux_2_28_x86_64.whl CPython 3.14 CPython 3.14 free-threading Linux glibc 2.28+ x86-64 Details for hessboost-0.4.9-cp314-cp314t-manylinux_2_28_x86_64.whl
hessboost-0.4.9-cp314-cp314t-manylinux_2_28_aarch64.whl CPython 3.14 CPython 3.14 free-threading Linux glibc 2.28+ ARM64 Details for hessboost-0.4.9-cp314-cp314t-manylinux_2_28_aarch64.whl
hessboost-0.4.9-cp314-cp314t-macosx_11_0_arm64.whl CPython 3.14 CPython 3.14 free-threading macOS 11.0+ ARM64 Details for hessboost-0.4.9-cp314-cp314t-macosx_11_0_arm64.whl
hessboost-0.4.9-cp312-abi3-win_amd64.whl CPython 3.12 abi3 Windows x86-64 Details for hessboost-0.4.9-cp312-abi3-win_amd64.whl
hessboost-0.4.9-cp312-abi3-musllinux_1_2_x86_64.whl CPython 3.12 abi3 Linux musl 1.2+ x86-64 Details for hessboost-0.4.9-cp312-abi3-musllinux_1_2_x86_64.whl
hessboost-0.4.9-cp312-abi3-musllinux_1_2_aarch64.whl CPython 3.12 abi3 Linux musl 1.2+ ARM64 Details for hessboost-0.4.9-cp312-abi3-musllinux_1_2_aarch64.whl
hessboost-0.4.9-cp312-abi3-manylinux_2_28_x86_64.whl CPython 3.12 abi3 Linux glibc 2.28+ x86-64 Details for hessboost-0.4.9-cp312-abi3-manylinux_2_28_x86_64.whl
hessboost-0.4.9-cp312-abi3-manylinux_2_28_aarch64.whl CPython 3.12 abi3 Linux glibc 2.28+ ARM64 Details for hessboost-0.4.9-cp312-abi3-manylinux_2_28_aarch64.whl
hessboost-0.4.9-cp312-abi3-macosx_11_0_arm64.whl CPython 3.12 abi3 macOS 11.0+ ARM64 Details for hessboost-0.4.9-cp312-abi3-macosx_11_0_arm64.whl

Total release size: 95.5 MB

Release files / hessboost-0.4.9.tar.gz

Download URL hessboost-0.4.9.tar.gz
Size 2.7 MB
Tags Source
SHA-256 checksum
How to use checksums
84767fa7ce2476a0c859c1cbfe071a4184a827cd937343825d8d30f5575dbc0f
BLAKE2b-256 checksum
How to use checksums
48798d666b50406eec33757aac843429489d1819a825bd549371518f80071287
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 30, 2026.

Transparency log

Release files / hessboost-0.4.9-cp315-abi3.abi3t-win_amd64.whl

Download URL hessboost-0.4.9-cp315-abi3.abi3t-win_amd64.whl
Size 5.4 MB
Tags CPython 3.15 Windows x86-64 abi3 abi3t
SHA-256 checksum
How to use checksums
c1ac62e4ba39c02fbe4a8b3606517b7950ce4d4d66d7a32ef51f60d6c58be2f4
BLAKE2b-256 checksum
How to use checksums
e9a219f683dcc5078a71172ccc3852755b0e4c8233960c3762e5fdf4b6684a44
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 30, 2026.

Transparency log

Release files / hessboost-0.4.9-cp315-abi3.abi3t-musllinux_1_2_x86_64.whl

Download URL hessboost-0.4.9-cp315-abi3.abi3t-musllinux_1_2_x86_64.whl
Size 5.4 MB
Tags CPython 3.15 Linux musl 1.2+ x86-64 abi3 abi3t
SHA-256 checksum
How to use checksums
61fb79e06d149ff11f3fd17db6bbf60b952566060e1c655c6e3d4971a3a76fb6
BLAKE2b-256 checksum
How to use checksums
dd01bb04b3aa807d560db25e3093772adcd2696fd9ba0edbc454c9327a8c4688
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 30, 2026.

Transparency log

Release files / hessboost-0.4.9-cp315-abi3.abi3t-musllinux_1_2_aarch64.whl

Download URL hessboost-0.4.9-cp315-abi3.abi3t-musllinux_1_2_aarch64.whl
Size 5.2 MB
Tags CPython 3.15 Linux musl 1.2+ ARM64 abi3 abi3t
SHA-256 checksum
How to use checksums
52f28507d4ef292b61a50706281838be89387fd82ad6ed9844278e0e08af1c5e
BLAKE2b-256 checksum
How to use checksums
3e9277632899e16251e2444ed42bf7ae8de5563ad5c652d983eeb5bdc3659b8d
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 30, 2026.

Transparency log

Release files / hessboost-0.4.9-cp315-abi3.abi3t-manylinux_2_28_x86_64.whl

Download URL hessboost-0.4.9-cp315-abi3.abi3t-manylinux_2_28_x86_64.whl
Size 5.3 MB
Tags CPython 3.15 Linux glibc 2.28+ x86-64 abi3 abi3t
SHA-256 checksum
How to use checksums
dab658f37989e4627d3ed96a41a80e63d4c67acca5b94b3d6e73ed969e0368ef
BLAKE2b-256 checksum
How to use checksums
d33d6848324e414caeea08128efcab5d24d6339480d35656835b677670bd6d0c
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 30, 2026.

Transparency log

Release files / hessboost-0.4.9-cp315-abi3.abi3t-manylinux_2_28_aarch64.whl

Download URL hessboost-0.4.9-cp315-abi3.abi3t-manylinux_2_28_aarch64.whl
Size 5.1 MB
Tags CPython 3.15 Linux glibc 2.28+ ARM64 abi3 abi3t
SHA-256 checksum
How to use checksums
e57a64df2b2eb48d3dc561e68f38ed9ff9207d537bbcc2181665f014b43b2408
BLAKE2b-256 checksum
How to use checksums
a6655b868230c1d70519ac35e9358987d992cd810166d505cd35f27a14afa78d
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 30, 2026.

Transparency log

Release files / hessboost-0.4.9-cp315-abi3.abi3t-macosx_11_0_arm64.whl

Download URL hessboost-0.4.9-cp315-abi3.abi3t-macosx_11_0_arm64.whl
Size 4.8 MB
Tags CPython 3.15 abi3 abi3t macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
89fdfc3eb0c2b8de6d3921420b9713ad3411086087703d9a8b3871c8e29a372e
BLAKE2b-256 checksum
How to use checksums
a776e7a0b7e88ad15e8eb248033d6a78530b0781eb10d63523138728c276991d
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 30, 2026.

Transparency log

Release files / hessboost-0.4.9-cp314-cp314t-win_amd64.whl

Download URL hessboost-0.4.9-cp314-cp314t-win_amd64.whl
Size 5.4 MB
Tags CPython 3.14 CPython 3.14 free-threading Windows x86-64
SHA-256 checksum
How to use checksums
db400b0ec27e57f4f96fd564e30c28d45b5528555a8471fcc7bfb2e99b83cadf
BLAKE2b-256 checksum
How to use checksums
8c802619aa350793c394a6ca1fd271931246e044e46e6fa69cf0a10b6134a9ab
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 30, 2026.

Transparency log

Release files / hessboost-0.4.9-cp314-cp314t-musllinux_1_2_x86_64.whl

Download URL hessboost-0.4.9-cp314-cp314t-musllinux_1_2_x86_64.whl
Size 5.3 MB
Tags CPython 3.14 CPython 3.14 free-threading Linux musl 1.2+ x86-64
SHA-256 checksum
How to use checksums
91566a226ff816e3d19e3bb9dd8576cf1361b697e3e11c19081d17379dc76a09
BLAKE2b-256 checksum
How to use checksums
8d92aced6e5ea421bd8321bf79fbe5a4024219c24f5f5263b1e5cf7557902461
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 30, 2026.

Transparency log

Release files / hessboost-0.4.9-cp314-cp314t-musllinux_1_2_aarch64.whl

Download URL hessboost-0.4.9-cp314-cp314t-musllinux_1_2_aarch64.whl
Size 5.1 MB
Tags CPython 3.14 CPython 3.14 free-threading Linux musl 1.2+ ARM64
SHA-256 checksum
How to use checksums
5b1a9ccba16e026efde66a4a9302b60782e107703b43f21d5d306ce6f6565ca8
BLAKE2b-256 checksum
How to use checksums
47e35a9991cb8db6fcd41e51b6e7efbf50f97722df98393e80b2430bafa52041
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 30, 2026.

Transparency log

Release files / hessboost-0.4.9-cp314-cp314t-manylinux_2_28_x86_64.whl

Download URL hessboost-0.4.9-cp314-cp314t-manylinux_2_28_x86_64.whl
Size 5.2 MB
Tags CPython 3.14 CPython 3.14 free-threading Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
49b7682b5021d83f617a37743665f5e444f78c693098b8bd3d3cd5874fb4f3cc
BLAKE2b-256 checksum
How to use checksums
8060ef562fcd5e07cbffd936ac2870842fb1ee7ff98f4032fcbd774d5adee511
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 30, 2026.

Transparency log

Release files / hessboost-0.4.9-cp314-cp314t-manylinux_2_28_aarch64.whl

Download URL hessboost-0.4.9-cp314-cp314t-manylinux_2_28_aarch64.whl
Size 5.0 MB
Tags CPython 3.14 CPython 3.14 free-threading Linux glibc 2.28+ ARM64
SHA-256 checksum
How to use checksums
e111b20e3d2fe80fce0a139ca4580eb655d3af23edefbaca0ae14139ac07fd9f
BLAKE2b-256 checksum
How to use checksums
118fb7d2f2478fa480c4ba9e644c5df20de2a55b65b40bb20272cc50aa87a82b
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 30, 2026.

Transparency log

Release files / hessboost-0.4.9-cp314-cp314t-macosx_11_0_arm64.whl

Download URL hessboost-0.4.9-cp314-cp314t-macosx_11_0_arm64.whl
Size 4.7 MB
Tags CPython 3.14 CPython 3.14 free-threading macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
0ddd7ba4fc0cc9ada674c528b5cb15fcfc62349ae63af4fe186ec5eed77b4ca4
BLAKE2b-256 checksum
How to use checksums
10239b20c4eb0109e404a3f29c971203ca38a4ef8d5f83eeed094c6c966a2177
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 30, 2026.

Transparency log

Release files / hessboost-0.4.9-cp312-abi3-win_amd64.whl

Download URL hessboost-0.4.9-cp312-abi3-win_amd64.whl
Size 5.4 MB
Tags CPython 3.12 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
3fa1389f61f02a8a9caad55d21ca5b3bace595d742b437177eae947adc134782
BLAKE2b-256 checksum
How to use checksums
17eee424bbb88b594b1c4ce6a67172c53be0b035d3dedc19a54965967e3e2025
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 30, 2026.

Transparency log

Release files / hessboost-0.4.9-cp312-abi3-musllinux_1_2_x86_64.whl

Download URL hessboost-0.4.9-cp312-abi3-musllinux_1_2_x86_64.whl
Size 5.3 MB
Tags CPython 3.12 Linux musl 1.2+ x86-64 abi3
SHA-256 checksum
How to use checksums
602dc0f73a19de921068c6e8b617ccd78271bba9032686d221a37ac35d626e89
BLAKE2b-256 checksum
How to use checksums
1bf78f208975d37e1bd3944b5b4385b684295f2dc0a325ecaa910897a2a3e4ff
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 30, 2026.

Transparency log

Release files / hessboost-0.4.9-cp312-abi3-musllinux_1_2_aarch64.whl

Download URL hessboost-0.4.9-cp312-abi3-musllinux_1_2_aarch64.whl
Size 5.1 MB
Tags CPython 3.12 Linux musl 1.2+ ARM64 abi3
SHA-256 checksum
How to use checksums
70897b25de24b131bf41a2e2f4679def51f479ad7f2c3c2b679c7c043db1ca78
BLAKE2b-256 checksum
How to use checksums
5a0ab43e19b75104549ad782bd94b52288294c963c0dff1f48594402b38cc549
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 30, 2026.

Transparency log

Release files / hessboost-0.4.9-cp312-abi3-manylinux_2_28_x86_64.whl

Download URL hessboost-0.4.9-cp312-abi3-manylinux_2_28_x86_64.whl
Size 5.2 MB
Tags CPython 3.12 Linux glibc 2.28+ x86-64 abi3
SHA-256 checksum
How to use checksums
8f463199e296fd58f2f549bd378665daf98468aca0ed2a087233b02186127346
BLAKE2b-256 checksum
How to use checksums
6960c082c957143e2fd96716d9c98ec9f65d136868a20455e8abb76f235278d0
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 30, 2026.

Transparency log

Release files / hessboost-0.4.9-cp312-abi3-manylinux_2_28_aarch64.whl

Download URL hessboost-0.4.9-cp312-abi3-manylinux_2_28_aarch64.whl
Size 5.0 MB
Tags CPython 3.12 Linux glibc 2.28+ ARM64 abi3
SHA-256 checksum
How to use checksums
745b5334f4c249f14eac3a7d0618072ded8566c084dfa146b5aff8070453590b
BLAKE2b-256 checksum
How to use checksums
2772bb14ffd490429d4939eb6513a653840ca402d6589c64e377b563120fafab
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 30, 2026.

Transparency log

Release files / hessboost-0.4.9-cp312-abi3-macosx_11_0_arm64.whl

Download URL hessboost-0.4.9-cp312-abi3-macosx_11_0_arm64.whl
Size 4.7 MB
Tags CPython 3.12 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
7ea2f0cd9765fc8c420b30271abd4a127870defaaa6835dea564d712434aec0b
BLAKE2b-256 checksum
How to use checksums
9914981e9674289280bbbf0d2cf144f9dcbfaba0324ae4d669056cd85482e79d
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 30, 2026.

Transparency log

Security for hessboost 0.4.9

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 19 files in this release have been uploaded with provenance metadata.

Select from 19 files

Attestation for hessboost-0.4.9.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 30, 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.

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