Skip to main content

KunQuant

Kun

KunQuant is a optimizer, code generator and executor for financial expressions and factors, e.g. (close - open) /((high - low) + 0.001). The initial aim of it is to generate efficient implementation code for Alpha101 of WorldQuant and Alpha158 of Qlib. Some existing implementations of Alpha101 is straightforward but too simple. Hence we are developing KunQuant to provide optimizated code on a batch of general customized factors.

This project has mainly two parts: KunQuant and KunRunner. KunQuant is an optimizer & code generator written in Python. It takes a batch of financial expressions as the input and it generates highly optimized C++ code for computing these expressions. KunRunner is a supporting runtime library and Python wrapper to load and run the generated C++ code from KunQuant. Startring from version 0.1.0, KunQuant no longer depends on cmake to run the generated factor code. Users can use pure Python interfaces to build and run factors.

Experiments show that KunQuant-generated code can be more than 170x faster than naive implementation based on Pandas. We ran Alpha001~Alpha101 with Pandas-based code and our optimized code. See results below:

Datatype Pandas-based KunQuant 1-thread KunQuant 4-threads
Single precision (STs layout) 6.138s 0.083s 0.027s
Double precision (TS layout) 6.332s 0.120s 0.031s

The data was collected on 4-core Intel i7-7700HQ CPU, running synthetic data of 64 stocks with 260 rows of data. Environment:

OS=Ubuntu 22.04.3 on WSL2 on Windows 10
python=3.10.2
pandas=2.1.4
numpy=1.26.3
g++=11.4.0

We also support Nvidia GPU backend. Benchmarks show that RTX5080 can achieve ~5x performance of Intel 14900KF (8 P-cores + 16 E-cores, 32 threads in total) in single precision data. The following run-time is collected on Alpha101 (time-length=2600, num-stocks=1024):

Datatype KunQuant on 32 threads 14900KF KunQuant-MLIR on RTX5080
Single precision 1.04s 0.22s
Double precision 1.67s 2.67s

In the benckmarks above, both input and output data are on CPU, and the CPU-GPU transmission time has been taken into account. Also note that double precision FLOPs is very low on Nvidia gaming GPU by hardware design.

Supported features of KunQuant

  • Batch mode and stream mode for the input
  • Double and single precision float point data type
  • TS or STs memory layout as input/output in batch mode
  • Python/C/C++ interfaces to call the factor computation functions
  • x86 and ARM CPUs are supported. Linux, Windows and macOS are supported.
  • New in KunQuant-MLIR: Nvidia GPU support. See cuda.md.

Important node: For better performance compared with Pandas, KunQuant suggests to use a multiple of {blocking_len} as the number of stocks in inputs. For single-precision float type and AVX2 instruction set, blocking_len=8. That is, you are suggested to input 8, 16, 24, ..., etc. stocks in a batch, if your code is compiled with AVX2 (without AVX512) and float datatype. Other numbers of stocks are supported, with lower execution performance.

The support matrix of KunQuant

OS(CPU) macOS (Apple Silicon) macOS (x86) Windows (x86) Linux (Ubuntu,x86) Linux (Ubuntu,aarch64)
Install via pip install KunQuant ✅ ✅ ✅ ✅ ❌
Tested in CI ✅ ❌ ✅ ✅ ✅

Why KunQuant is fast

  • KunQuant parallelizes the computation for factors and uses SIMD (AVX2) to vectorize them.
  • Redundant computation among factors are eliminated: Think what we can do with sum(x), avg(x), stddev(x)? The result of sum(x) is needed by all these factors. KunQuant also automatically finds if a internal result of a factor is used by other factors and try to reuse the results.
  • Temp buffers are minimized by operator-fusion. For a factor like (a+b)/2, pandas and numpy will first compute the result of (a+b) and collect all the result in a buffer. Then, /2 opeator is applied on each element of the temp buffer of (a+b). This will result in large memory usage and bandwidth. KunQuant will generate C++ code to compute (a[i]+b[i])/2 in the same loop, to avoid the need to access and allocate temp memory.

Sponsor this project!

Sponsor the author @Menooker

Installing KunQuant

Install a released version:

pip install KunQuant

Or install the latest version on main branch

pip install -i https://testpypi.python.org/simple KunQuant

KunQuant supports Windows (MSVC needs to be installed) and Linux (g++ or clang needs to be installed). Please make sure a working C++ compiler with C++11 support is properly installed and configured in your system

On x86-64 CPUs, AVX2-FMA is used by default in the installed KunQuant core library. To run on older CPUs with AVX and without AVX2, you need to build and install KunQuant from source and set environment variable KUN_NO_AVX2=1 before building. See Build from source and developing tips below.

Example: Build & Run Alpha101

This section serves as am example for compiling an existing factor library: Alpha101 and running it. Building and running your own factors will be similar. If you are only interested in how you can run Alpha101 factors, this section is all you need.

First, import KunQuant and necessary modules

from KunQuant.jit import cfake
from KunQuant.Driver import KunCompilerConfig
from KunQuant.Op import Builder, Input, Output
from KunQuant.Stage import Function
from KunQuant.predefined import Alpha101
from KunQuant.runner import KunRunner as kr

Then build a Function object and generete predefined factor alpha001 in Alpha101:

builder = Builder()
with builder:
    vclose = Input("close")
    low = Input("low")
    high = Input("high")
    vopen = Input("open")
    amount = Input("amount")
    vol = Input("volume")
    all_data = Alpha101.AllData(low=low,high=high,close=vclose,open=vopen, amount=amount, volume=vol)
    Output(Alpha101.alpha001(all_data), "alpha001")
f = Function(builder.ops)

You can review the alpha001 expression by print(f). And you will get output

v0 = Input@{name:close}()
v2 = Div@(v0,v1)
v3 = SubConst@{value:1.0}(v2)
v4 = LessThanConst@{value:0.0}(v3)
v5 = WindowedStddev@{window:20}(v3)
v6 = Select@(v4,v5,v0)
v7 = Mul@(v6,v6)
v8 = TsArgMax@{window:5}(v7)
v9 = Rank@(v8)
v10 = Output@{name:alpha001}(v9)

Then compile it into an executable object (it may takes a few seconds to compile. If you encounter an subprocess error, please make sure MSVC or g++ is installed).

lib = cfake.compileit([("alpha101", f, KunCompilerConfig(input_layout="TS", output_layout="TS"))], "out_first_lib", cfake.CppCompilerConfig())
modu = lib.getModule("alpha101")

We will explain the function cfake.compileit in Customize.md. Let's continue to see how to use the compiled lib.

Load your stock data. In this example, load from local pandas files. We assume the open, close, high, low, volumn and amount data for different stocks are stored in different files.

import pandas as pd

# we need a multiple of 8 number of stocks
watch_list = ["000002", "000063", ...]
num_stocks = len(watch_list)
df = []

for stockid in watch_list:
    d = pd.read_hdf(f"{stockid}.hdf5")
    df.append(d)

print(df[0])

cols = df[0].columns.values
col2idx = dict(zip(cols, range(len(cols))))
print("columns to index", col2idx)
num_time = len(df[0])
print("dimension in time", num_time)

Here we printed the data frame of the first stock and the column-index mapping, it should look like:

                 open       high        low      close       volume        amount
date                                                                             
2020-01-02  32.799999  33.599998  32.509998  32.560001  101213040.0  3.342374e+09
2020-01-03  32.709999  32.810001  31.780001  32.049999   80553632.0  2.584310e+09
2020-01-06  31.750000  31.760000  31.250000  31.510000   87684056.0  2.761449e+09
...               ...        ...        ...        ...          ...           ...
2024-01-30  10.000000  10.050000   9.790000   9.790000   79792704.0  7.903654e+08
2024-01-31   9.770000   9.850000   9.560000   9.600000   67478864.0  6.527274e+08
2024-02-01   9.530000   9.660000   9.420000   9.440000   62786032.0  5.980486e+08

[993 rows x 6 columns]
columns to index {'open': 0, 'high': 1, 'low': 2, 'close': 3, 'volume': 4, 'amount': 5}
dimension in time 993

Transform your pandas data to numpy array of shape [features, stocks, time]. Feature here means the columns for open, close, high, low, volumn and amount.

import numpy as np

# [features, stocks, time]
collected = np.empty((len(col2idx), num_stocks, len(df[0])), dtype="float32")
for stockidx, data in enumerate(df):
    for colname, colidx in col2idx.items():
        mat = data[colname].to_numpy()
        collected[colidx, stockidx, :] = mat

Transpose the matrix to [features, time, stocks]

# [features, stocks, time] => [features, time, stocks]
transposed = collected.transpose((0, 2, 1))
transposed = np.ascontiguousarray(transposed)

Now fill the input data in a dict of {"open": matrix_open, "close": ...}

input_dict = dict()
for colname, colidx in col2idx.items():
    input_dict[colname] = transposed[colidx]

Create an executor and compute the factors!

# using 4 threads
executor = kr.createMultiThreadExecutor(4)
out = kr.runGraph(executor, modu, input_dict, 0, num_time)
print("Result of alpha101", out["alpha001"])
print("Shape of alpha101", out["alpha001"].shape)

Each output factors are computed in an array of shape [time, stocks]. The output of above code can be:

Result of alpha001 [[   nan    nan    nan ...    nan    nan    nan]
 [   nan    nan    nan ...    nan    nan    nan]
 [   nan    nan    nan ...    nan    nan    nan]
 ...
 [0.6875 0.1875 0.1875 ... 0.6875 0.6875 0.6875]
 [0.6875 0.1875 0.1875 ... 0.6875 0.6875 0.6875]
 [0.4375 1.     0.875  ... 0.4375 0.4375 0.4375]]
Shape of alpha001 (993, 8)

By default, runGraph will allocate an numpy array for each of the output factor. However, you can preallocate a numpy array and tell KunRunner to fill in this array instead of creating new ones.

outnames = modu.getOutputNames()
out_dict = dict()
# [Factors, Time, Stock]
sharedbuf = np.empty((len(outnames), num_time, num_stocks), dtype="float32")
for idx, name in enumerate(outnames):
    out_dict[name] = sharedbuf[idx]
out = kr.runGraph(executor, modu, input_dict, 0, num_time, out_dict)
# results are in "out" and "sharedbuf"

Note that the executors are reusable. A multithread executor is actually a thread pool inside. If you want to run on multiple batches of data, you don’t need to create new executors for each batch.

KunQuant-MLIR: Compute your factors on Nvidia GPUs

You can run your factors on Nvidia GPUs for better performance. You need to install the package KunQuant-MLIR to enable the GPU backend. The usage and the interfaces of GPU backend is very similar to the CPU backend, which has been shown above. More on CUDA GPU backend, see cuda.md.

Customized factors

KunQuant is a tool for general expressions. You can further read Customize.md for how you can compile your own customized factors. This document also provides infomation on

  • building and keeping the compilation result for later use
  • Loading existing compiled factor library
  • enabling AVX512
  • select data types (float/double)
  • Memory layout

Build from source and developing tips

This section is for developer who would like to build KunQuant from source, instead of installing via pip.

Dependency

  • nanobind, nlohmann_json (automatically cloned via git as a submodule)
  • Python (3.9+ with f-string and dataclass support)
  • cmake
  • A working C++ compiler with C++17 support (e.g. clang, g++, msvc)
  • x86-64 CPU with at least AVX instruction set (AVX2-FMA is preferred and required by default), or ARM CPU with NEON instruction set.
  • Optionally requires AVX512 on CPU for better performance

Build and install

git clone https://github.com/Menooker/KunQuant --recursive
cd KunQuant
pip install .

Build in develop mode

If you would like to install KunQuant and edit it. You can use editable mode of python library.

Linux:

# export KUN_BUILD_TYPE=Debug    # to build debug version of KunQuant Runtime
# in the root directory of KunQuant
KUN_BUILD_TESTS=1 pip install -e . 

Windows powershell:

# in the root directory of KunQuant
$env:KUN_BUILD_TESTS=1
pip install -e . 

You can also set environment variable KUN_BUILD_TYPE=Debug before pip install -e . to enable debug build of KunQuant. It will provide debug info of the KunQuant runtime but also slow down the execution.

On x86-64 CPUs, AVX2-FMA is used by default in the built KunQuant core library. To run on older CPUs with AVX and without AVX2, you need to export environment variable KUN_NO_AVX2=1 before pip install -e ..

Useful environment variables

  • KUN_DEBUG=1 Print the internal results of each compiler pass
  • KUN_DEBUG_JIT=1 Print the C++ compilation internals, including command lines, temp results and etc.

Streaming mode

KunQuant can be configured to generate factor libraries for streaming, when the data arrive one at a time. See Stream.md

Utility functions

To compute row-to-row correlation (for IC/IR calculation) and aggregrating functions (like pd.groupby(...)), please see Utility.md.

Using C-style APIs

KunQuant provides C-style APIs to call the generated factor code in shared libraries. See CAPI.md

Operator definitions

See Operators.md

A few TA-Lib indicators (TRANGE, ATR, SAR) are also implemented as composite ops; see TA-Lib compatible ops.

To add new operators, see NewOperators.md

Testing and validation

Unit tests for some of the internal IR transformations:

python tests/test.py
python tests/test2.py

Unit tests for C++ runtime:

python tests/test_runtime.py

To run the runtime UTs, you need to make sure you have built the cmake target KunTest by

cmake --build . --target KunTest

Correctness test of Alpha101

# current dir should be at the base directory of KunQuant
python tests/test_alpha101.py

The input data are randomly genereted data and the results are checked against a modified (corrected) version of Pandas-based code. Note that some of the factors like alpha013 are very sensitive to numerical changes in the intermeidate results, because rank operators are used. The result may be very different after rank even if the input is very close. Hence, the tolerance of these factors will be high to avoid false positives.

To test Alpha158, you need first download the input data and reference result files: alpha158.npz and input.npz.

Then run

# current dir should be at the base directory of KunQuant
python tests/test_alpha158.py --inputs /PATH/TO/input.npz --ref /PATH/TO/alpha158.npz 

This script runs alpha158 with double precision mode in KunQuant. It feeds the library with predefined values from input.npz and check against the result with alpha158.npz, which is computed by qlib.

To generate another Alpha158 result with another randomly generated input, you can run

# current dir should be at the base directory of KunQuant
python ./tests/gen_alpha158.py --tmp /tmp/a158 --qlib /path/to/source/of/qlib --out /tmp

It will create the random input at /tmp/input.npz and result at /tmp/alpha158.npz

Acknowledgement

The implementation and testing code for Alpha101 is based on https://github.com/yli188/WorldQuant_alpha101_code

The implementation code for Alpha158 is based on https://github.com/microsoft/qlib/blob/main/qlib/contrib/data/handler.py. Licensed under the MIT License.

The AVX vector operators at cpp/KunSIMD/cpu was developed based on x86simd as a component of GraphCompiler, a backend of oneDNN Graph API. Licensed under the Apache License, Version 2.0 (the "License").

The MSVC environment configuration was originated from cupy, Licensed under the MIT License: https://github.com/cupy/cupy/blob/main/cupy/cuda/compiler.py

Metadata

Release files for KunQuant 0.1.12

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

Built distributions (wheels)

Table of built distributions (wheels) for KunQuant 0.1.12
File Actions
kunquant-0.1.12-cp312-abi3-win_amd64.whl CPython 3.12 abi3 Windows x86-64 Details for kunquant-0.1.12-cp312-abi3-win_amd64.whl
kunquant-0.1.12-cp312-abi3-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl CPython 3.12 abi3 Linux glibc 2.28+ x86-64, Linux glibc 2.27+ x86-64 Details for kunquant-0.1.12-cp312-abi3-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
kunquant-0.1.12-cp312-abi3-macosx_14_0_universal2.whl CPython 3.12 abi3 macOS 14.0+ universal2 (ARM64, x86-64) Details for kunquant-0.1.12-cp312-abi3-macosx_14_0_universal2.whl
kunquant-0.1.12-cp311-cp311-win_amd64.whl CPython 3.11 CPython 3.11 Windows x86-64 Details for kunquant-0.1.12-cp311-cp311-win_amd64.whl
kunquant-0.1.12-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl CPython 3.11 CPython 3.11 Linux glibc 2.27+ x86-64, Linux glibc 2.28+ x86-64 Details for kunquant-0.1.12-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
kunquant-0.1.12-cp311-cp311-macosx_14_0_universal2.whl CPython 3.11 CPython 3.11 macOS 14.0+ universal2 (ARM64, x86-64) Details for kunquant-0.1.12-cp311-cp311-macosx_14_0_universal2.whl
kunquant-0.1.12-cp310-cp310-win_amd64.whl CPython 3.10 CPython 3.10 Windows x86-64 Details for kunquant-0.1.12-cp310-cp310-win_amd64.whl
kunquant-0.1.12-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl CPython 3.10 CPython 3.10 Linux glibc 2.27+ x86-64, Linux glibc 2.28+ x86-64 Details for kunquant-0.1.12-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
kunquant-0.1.12-cp310-cp310-macosx_14_0_universal2.whl CPython 3.10 CPython 3.10 macOS 14.0+ universal2 (ARM64, x86-64) Details for kunquant-0.1.12-cp310-cp310-macosx_14_0_universal2.whl
kunquant-0.1.12-cp39-cp39-win_amd64.whl CPython 3.9 CPython 3.9 Windows x86-64 Details for kunquant-0.1.12-cp39-cp39-win_amd64.whl
kunquant-0.1.12-cp39-cp39-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl CPython 3.9 CPython 3.9 Linux glibc 2.28+ x86-64, Linux glibc 2.27+ x86-64 Details for kunquant-0.1.12-cp39-cp39-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
kunquant-0.1.12-cp39-cp39-macosx_14_0_universal2.whl CPython 3.9 CPython 3.9 macOS 14.0+ universal2 (ARM64, x86-64) Details for kunquant-0.1.12-cp39-cp39-macosx_14_0_universal2.whl

Total release size: 4.0 MB

Release files / kunquant-0.1.12-cp312-abi3-win_amd64.whl

Download URL kunquant-0.1.12-cp312-abi3-win_amd64.whl
Size 509.3 kB
Tags CPython 3.12 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
5b06223cb7a31f0a37fc599b15adcdfca4f11958d5acf16f815a1a762caed0ba
BLAKE2b-256 checksum
How to use checksums
fbf2844cbdad841cf8f941fb41126b95ea82cbd1571d071884beb174b1f0396e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 9, 2026.

Transparency log

Release files / kunquant-0.1.12-cp312-abi3-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Download URL kunquant-0.1.12-cp312-abi3-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 266.0 kB
Tags CPython 3.12 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64 abi3
SHA-256 checksum
How to use checksums
f5c1b5d0d4a157dbb7ca807340c59b5a4f38e998e1a726a45de853c3053965c6
BLAKE2b-256 checksum
How to use checksums
855b2982c61885d85c24e7fa79a161b437441e6e569d0dd0a9a57e65c20ada75
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 9, 2026.

Transparency log

Release files / kunquant-0.1.12-cp312-abi3-macosx_14_0_universal2.whl

Download URL kunquant-0.1.12-cp312-abi3-macosx_14_0_universal2.whl
Size 228.0 kB
Tags CPython 3.12 abi3 macOS 14.0+ universal2 (ARM64, x86-64)
SHA-256 checksum
How to use checksums
9dcf1f76f465218b6754c48f3c768084966480e3d32fed474d5dd6aa4fafec7a
BLAKE2b-256 checksum
How to use checksums
fb97f9712d4257aca4aee67664884a12502d691b4405553051354fe52b0315d7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 9, 2026.

Transparency log

Release files / kunquant-0.1.12-cp311-cp311-win_amd64.whl

Download URL kunquant-0.1.12-cp311-cp311-win_amd64.whl
Size 512.6 kB
Tags CPython 3.11 Windows x86-64
SHA-256 checksum
How to use checksums
0480af3362d9703a02197d85e26f80e182f5c3c9f9c93b955fc24fdd1b280670
BLAKE2b-256 checksum
How to use checksums
332f6da9b281856d620f0b0b5b4756ebbfe0cd03d7ab40a7a89daaabec54bf83
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 9, 2026.

Transparency log

Release files / kunquant-0.1.12-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Download URL kunquant-0.1.12-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 270.4 kB
Tags CPython 3.11 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
ebf1f8f7d3af09256227b2e0068f0cf229e194ff9e18c3022d0af55093c419f8
BLAKE2b-256 checksum
How to use checksums
84486917e77b3f0537fdde8a1dd21824b99b2949d6396a78004a0ca09a1f8599
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 9, 2026.

Transparency log

Release files / kunquant-0.1.12-cp311-cp311-macosx_14_0_universal2.whl

Download URL kunquant-0.1.12-cp311-cp311-macosx_14_0_universal2.whl
Size 229.7 kB
Tags CPython 3.11 macOS 14.0+ universal2 (ARM64, x86-64)
SHA-256 checksum
How to use checksums
9467c9cfa8cf89dff8dd7716126f5152529c79daf0bc9bd6ca4f5ceed1c7914e
BLAKE2b-256 checksum
How to use checksums
32b3db6b3155299397d4758dce2a76fdd30e1823ca546fc72d6b4763c1d211a5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 9, 2026.

Transparency log

Release files / kunquant-0.1.12-cp310-cp310-win_amd64.whl

Download URL kunquant-0.1.12-cp310-cp310-win_amd64.whl
Size 512.2 kB
Tags CPython 3.10 Windows x86-64
SHA-256 checksum
How to use checksums
399f94b3e5a391aedef6038bba42d466f62b070d25bccd312c41f6d89731e210
BLAKE2b-256 checksum
How to use checksums
1c2f50f7fe1214b7516d71923034d9f22f391033156349af5404f6f4ec8c953d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 9, 2026.

Transparency log

Release files / kunquant-0.1.12-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Download URL kunquant-0.1.12-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 270.6 kB
Tags CPython 3.10 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
1162674f369ff77fe25c68fd869efa58ec95b0f4195d083e2d7c5bbf3c47d1ef
BLAKE2b-256 checksum
How to use checksums
5e76e3776b71d3311b10f0b8314670c710ebf889b95f6d8d14fd9e4ae04df612
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 9, 2026.

Transparency log

Release files / kunquant-0.1.12-cp310-cp310-macosx_14_0_universal2.whl

Download URL kunquant-0.1.12-cp310-cp310-macosx_14_0_universal2.whl
Size 230.1 kB
Tags CPython 3.10 macOS 14.0+ universal2 (ARM64, x86-64)
SHA-256 checksum
How to use checksums
f89edb38ea60fe3933a3efbb220ebc1d1207341e1209835996b42ef34ee396df
BLAKE2b-256 checksum
How to use checksums
5b58de6139d7717f3c83650fc1c52c80c1f54f66a6b191085a24cba27170e819
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 9, 2026.

Transparency log

Release files / kunquant-0.1.12-cp39-cp39-win_amd64.whl

Download URL kunquant-0.1.12-cp39-cp39-win_amd64.whl
Size 513.0 kB
Tags CPython 3.9 Windows x86-64
SHA-256 checksum
How to use checksums
87a4cfa90e313cd1f3c7e90d1e5b41b2d9357c1898b637e8dca223a01f66da19
BLAKE2b-256 checksum
How to use checksums
785eab4cbeabc009246ebe5766163c3c266f4210296b961b52357e6bd08d97e9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 9, 2026.

Transparency log

Release files / kunquant-0.1.12-cp39-cp39-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Download URL kunquant-0.1.12-cp39-cp39-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 270.8 kB
Tags CPython 3.9 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
9e8a974dc78709108461a6e07669c75e99cc4d296f66190e7023e9057b3d101c
BLAKE2b-256 checksum
How to use checksums
9de73bdb8939c6faecd787b40c65b7695535aa7bc19652c2214c073957a1e280
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 9, 2026.

Transparency log

Release files / kunquant-0.1.12-cp39-cp39-macosx_14_0_universal2.whl

Download URL kunquant-0.1.12-cp39-cp39-macosx_14_0_universal2.whl
Size 230.3 kB
Tags CPython 3.9 macOS 14.0+ universal2 (ARM64, x86-64)
SHA-256 checksum
How to use checksums
eb57e44aa2b4ea75b847b000b01ae73a7769e05e4872084f7298b01d412d504a
BLAKE2b-256 checksum
How to use checksums
9f609a7c3e56c4c6f1dfe4ca07530a75ada3e414f3cb0521d26adbef01dbbca3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 9, 2026.

Transparency log

Security for KunQuant 0.1.12

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

Select from 12 files

Attestation for kunquant-0.1.12-cp312-abi3-win_amd64.whl

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 Oct 9, 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