libdmkde
A production-grade C++17 implementation of Density-Matrix Kernel Density Estimation for anomaly detection, with a streaming rank-1 update (O(D²) time and O(1) extra memory per sample).
The algorithm is not new — it was introduced by Useche, Bustos-Brinez, Gallego-Mejia and González in Phys. Rev. A (2024). What this repository provides is the engineering that has been missing from the published research code: a single-header C++ library, a deterministic benchmark harness, reproducible numbers against a classical baseline, and an MIT-licensed build that a production team can adopt without untangling Jupyter notebooks.
Citation — please cite the original authors
If you use this library in academic work, cite the papers, not this repo:
@article{useche2024quantum,
author = {Useche, Diego H. and Bustos-Brinez, Oscar A. and
Gallego-Mejia, Joseph A. and Gonz{\'a}lez, Fabio A.},
title = {Quantum density estimation with density matrices:
Application to quantum anomaly detection},
journal = {Physical Review A},
volume = {109},
pages = {032418},
year = {2024},
doi = {10.1103/PhysRevA.109.032418}
}
@misc{gallegomejia2022inqmad,
author = {Gallego-Mejia, Joseph and Bustos-Brinez, Oscar and
Gonz{\'a}lez, Fabio A.},
title = {InQMAD: Incremental Quantum Measurement Anomaly Detection},
year = {2022},
note = {arXiv:2210.05061}
}
@misc{bustosbrinez2022addmkde,
author = {Bustos-Brinez, Oscar and Gallego-Mejia, Joseph and
Gonz{\'a}lez, Fabio A.},
title = {AD-DMKDE: Anomaly Detection through Density Matrices
and Fourier Features},
year = {2022},
note = {arXiv:2210.14796}
}
The density-matrix estimator built from random Fourier features goes back to earlier work by the same group, which the papers above build on:
@article{gonzalez2022learning,
author = {Gonz{\'a}lez, Fabio A. and Gallego, Alejandro and
Toledo-Cort{\'e}s, Santiago and Vargas-Calder{\'o}n, Vladimir},
title = {Learning with Density Matrices and Random Features},
journal = {Quantum Machine Intelligence},
volume = {4},
pages = {23},
year = {2022},
doi = {10.1007/s42484-022-00079-9},
note = {arXiv:2102.04394}
}
The reference Python notebooks live at
diegour1/QuantumAnomalyDetection,
diegour1/QDEMDE, and
Joaggi/lean-dmkde.
The general probabilistic-DL primitives are at
fagonzalezo/kdm.
Algorithm in one paragraph
Each input x ∈ R^d is embedded into R^D using Random Fourier Features
(Rahimi & Recht, 2007), which approximates a Gaussian kernel
k(x, y) = exp(-‖x - y‖² / 2σ²) as an inner product ⟨φ(x), φ(y)⟩.
Training builds the empirical density operator
ρ = (1/N) Σᵢ φ(xᵢ) φ(xᵢ)ᵀ (D × D, PSD, trace 1)
and the Born-rule score
s(x) = φ(x)ᵀ ρ φ(x) ∈ [0, 1]
ranks x by its density under the training distribution. Low s ⇒
anomalous. Two properties worth knowing:
- Effective bandwidth is σ/√2.
s(x) = (1/N) Σᵢ ⟨φ(x), φ(xᵢ)⟩²is a mean of the squared kernel,k(x, xᵢ)² = exp(-‖x - xᵢ‖² / σ²), i.e. a Gaussian KDE with bandwidthσ/√2, notσ. - The score is an unnormalized density estimate. It lies in [0, 1] and
does not integrate to 1 (the paper's
1/M_γnormalization is not applied). Rankings, ROC-AUC and thresholds are unaffected.
The RFF frequencies are a fixed seeded draw (not learned). The streaming
variant updates ρ via a rank-1 EMA:
ρ ← (1 - α) ρ + α · φ(x) φ(x)ᵀ
with O(D²) time and O(1) extra memory per sample. Updates are
unconditional (InQMAD's threshold gating is not implemented).
Why this exists
The published research code is high-quality but not production-ready: all public implementations are Jupyter notebooks with single-digit star counts, none are on PyPI, none have a stable public API, and none have a streaming update path. As of May 2026:
- No package on PyPI, conda-forge, crates.io, or npm matches.
- No major quantum library (Qiskit Machine Learning, PennyLane, TensorFlow Quantum, Cirq) exposes a density-matrix anomaly detector.
- PyOD's 60+ detectors include nothing density-matrix based.
- Closed commercial offerings (e.g. Multiverse Singularity) use different algorithm families.
This library closes that gap for the C++ side of the stack.
Build
C++ (header-only)
make # builds benchmark + tests
make test # runs the unit tests
make bench # runs the reproducible benchmark
Requires g++ or clang++ with C++17. No external dependencies.
Python bindings
pip install . # builds the C++ extension and installs the dmkde package
python python/example.py # runs the end-to-end demo
Requires Python ≥ 3.9, pybind11, and numpy. Build uses setuptools +
Pybind11Extension; no system-wide installs needed.
Use
C++
#include "dmkde.hpp"
// 4 input dims, 256-D RFF embedding, Gaussian kernel bandwidth σ = 1.5.
dmkde::DMKDE model(/*input_dim=*/4, /*feature_dim=*/256, /*sigma=*/1.5);
std::vector<std::vector<double>> train = /* normal samples */;
model.fit(train);
double s = model.score(new_point); // size-checked; higher = more "normal"
model.update(drift_point, /*alpha=*/0.01); // size-checked streaming EMA update
Overloads taking std::vector<double> or a pointer plus a length check the
width and reject NaN / inf. The pointer-only forms (score(const double*),
update(const double*, alpha), transform(const double*, double*)) are the
unchecked fast path: the caller guarantees input_dim() doubles. Invalid
parameters (sigma not finite and > 0, input_dim <= 0, odd feature_dim,
feature_dim > dmkde::kMaxFeatureDim = 2¹⁴ without allow_large) throw
std::invalid_argument; using a model before fit throws
std::logic_error.
Python (sklearn-style)
import numpy as np
from dmkde import DMKDE, Mahalanobis, roc_auc
model = DMKDE(feature_dim=256, sigma=1.5, contamination=0.05).fit(X_train)
scores = model.score_samples(X_test) # numpy array of Born-rule scores
auc = roc_auc(model.score_samples(X_normal),
model.score_samples(X_anomaly))
preds = model.predict(X_test) # +1 inlier, -1 outlier
df = model.decision_function(X_test) # score - offset_; < 0 => outlier
model.partial_fit(X_drift, alpha=0.01) # streaming EMA update (alpha by keyword)
model.calibrate(X_recent) # optional: re-set offset_ on held-out data
DMKDE is a scikit-learn estimator (get_params / set_params, clone,
pipelines, pickling). It passes sklearn.utils.estimator_checks.check_estimator
except check_outliers_train and check_outliers_fit_predict, which require
predict on the training set to flag exactly contamination of it; DMKDE
is a novelty detector whose threshold is calibrated for new data (see below),
the case scikit-learn itself exempts for LocalOutlierFactor(novelty=True).
fit sets offset_ from the leave-one-out training scores (below), and
decision_function follows the sklearn convention (negative ⇒ outlier,
predict == sign). Inputs must be 2-D, finite, and have n_features_in_
columns; anything else raises ValueError. Sparse input raises TypeError
(as in scikit-learn: dense data is required).
Mahalanobis has no threshold: its decision_function is score_samples
unchanged (the negative distance, always ≤ 0, no offset_, no predict),
unlike DMKDE's score_samples − offset_. Its ridge is relative per
feature, so non-constant features are unit-invariant; a feature that is
constant in training uses an absolute scale (inverse variance 1e6, so a
deviation δ alone is distance 1000·|δ|, independent of the other columns
but not of that feature's own units). See
CHANGELOG.md for the 0.1.1 behaviour changes.
Threads
Scoring is safe from many threads at once, also while partial_fit updates
the same model (a per-model reader/writer lock; the GIL is released). Do not
call fit or calibrate on an estimator other threads are scoring with:
fit a new estimator and swap the reference instead
(model = DMKDE(...).fit(X_new)).
Thresholds, σ and the noise floor
- Threshold. Each training row's in-sample score contains its own term,
exactly
1/n_samples(every RFF embedding has unit norm), so in-sample scores sit above the scores of fresh data.fittherefore uses the exact leave-one-out scores(n·s − 1)/(n − 1), and setsoffset_to the k-th smallest of them withk = floor((N + 1)·contamination). By the conformal rank argument this flags on average aboutcontaminationor less of fresh normal data (k/(N + 1), e.g. 0.04995 at N = 1000, c = 0.05). The bound is exact for held-out scores (calibrate) and approximate, to O(1/N), for leave-one-out scores (fit); with many tied scores (discrete data) the rate can fall well belowcontamination.np.quantilewould over-flag at small N (0.37-0.44 at N = 2, 0.07-0.13 at N = 20). Caveat for small N: belowN = 1/contamination − 1(19 at 0.05) no threshold can meet the target, so nothing is flagged andfitwarns; whileN·contamination < 5the rate of a single fit is noisy (only its average is bounded) andfitwarns too.calibrateapplies the same rule to whatever data you give it, so give it held-out data, not the training set. - Standardize the features, and let σ grow with the dimension. The
default
sigma=1.0suits only a few standardized features. A rule of thumb issigma ≈ sqrt(d)fordstandardized features, or the median pairwise distance of the standardized training data divided bysqrt(2). - Noise floor ≈ 1/D. With random Fourier features, two points that are
far apart relative to σ still have a squared feature overlap of about
1/D(D = feature_dim) on average. When σ is too small every score sits at that noise floor and the ranking is close to random (at the default σ with 20+ standardized features, AUC ≈ 0.5).fitemits aUserWarningwhen the median leave-one-out training score is below3/D. Measured at N = 500, median·D of 1.1-1.5 lost 0.07-0.18 AUC to the exact density; with very few rows the warning is not sufficient (at N = 10, fits with median·D 3-6 and no warning still lost up to 0.09 AUC). - Streaming forgets fast.
partial_fitweights the existing model by(1 − α)per row, so its memory is about1/αrows: one 1000-row batch atalpha=0.01leaves the original fit a weight of0.99¹⁰⁰⁰ ≈ 4e-5.
Benchmark results
Synthetic 4-D data (python python/benchmark.py): 400 training points,
300+300 test, D = 256, σ = 1.5, one split with seed 42. Mahalanobis is
included as a strong linear baseline; LOF is the strongest of the other
baselines in BENCHMARKS.md.
| Scenario | DMKDE AUC | Mahalanobis AUC | LOF AUC |
|---|---|---|---|
| Gaussian normal | 1.000 | 1.000 | 1.000 |
| Bimodal manifold (anomalies in gap) | 1.000 | 0.436 | 1.000 |
| Ring manifold (anomalies in hub) | 0.962 | 0.000 | 0.988 |
Streaming (python/example.py, after 300 EMA updates) |
1.000 | n/a | n/a |
Mahalanobis is mathematically optimal on Gaussian data and ties there.
Where the "normal" class has higher-order structure (multi-modal, manifold,
non-convex) Mahalanobis collapses; on the ring it scores exactly 0.000 AUC
because the anomalies sit at the empirical mean. DMKDE captures the
structure because RFF + density-matrix scoring is a kernelized density
estimator, not a Gaussian fit; LOF does too, and beats DMKDE on the ring on
every seed from 0 to 9. These are single-split numbers with σ chosen by
hand; see BENCHMARKS.md for the seed variation.
(make bench runs a C++ demo with a different data generator, so its
numbers differ.)
Roadmap
- pybind11 Python bindings with sklearn-style
fit/score_samples - PyOD plugin (
dmkde.pyod.DMKDEDetector) - Qiskit cross-check (
dmkde.qiskit_backend.QiskitDMKDE) — reproduces classical scores to floating-point precision by exact statevector simulation (Statevector.expectation_value) - Benchmarks vs sklearn baselines on Kaggle Credit Card Fraud +
KDDCup'99 — see
BENCHMARKS.md - cibuildwheel CI building wheels for Linux + macOS + Windows × CPython 3.9–3.13
- PyPI release (
pip install dmkde; sdist + multi-platform wheels) - Qiskit backend hardware execution (transpile + EstimatorV2 + shot budgeting, run on IBM QPU)
- Latent variant (LADDM autoencoder pre-stage, arXiv:2408.07623)
- NSL-KDD + IEEE-CIS Fraud + CICIDS-2018 benchmarks
Benchmarks
See BENCHMARKS.md for full results across five
detectors and six scenarios. All published numbers are one train/test split
with seed 42, and DMKDE's σ was chosen by hand on that split (no held-out
selection), so read them as indicative. Headline:
- KDDCup'99 intrusion (numeric columns only; the categorical ones are dropped) — on seed 42 DMKDE is highest (ROC 0.9965, PR 0.9807), but within 0.001 of Mahalanobis and OneClassSVM; on seeds 1 and 2 OneClassSVM is best. Treat the top three as tied.
- Ring manifold — DMKDE (0.96) and LOF (0.99) are the only methods that don't collapse to 0.000 AUC; LOF is higher on every seed 0-9
- Credit Card Fraud — DMKDE 0.95 ROC, behind Mahalanobis (0.96) because V1–V28 are PCA-pretreated to be approximately Gaussian, but above LOF and OneClassSVM; by PR-AUC DMKDE is 4th of 5 (0.74, 0.10 behind LOF)
Qiskit backend
The score ⟨φ(x)|ρ|φ(x)⟩ is the expectation value of ρ in the state
|φ(x)⟩ — an actual quantum observable on a quantum state. The optional
Qiskit backend builds the ⌈log₂ D⌉-qubit state |φ(x)⟩ and evaluates the
same expectation exactly with qiskit.quantum_info.Statevector and a dense
Operator(ρ). This is classical statevector simulation for cross-checking;
it does not use the Estimator primitives and has no hardware path yet:
from dmkde import DMKDE
from dmkde.qiskit_backend import QiskitDMKDE
model = DMKDE(feature_dim=16, sigma=1.5).fit(X_train) # D = 2^4
qmodel = QiskitDMKDE(model)
q_score = qmodel.score(x_test) # exact statevector expectation
c_score = model.score_samples(x_test[None, :])[0]
assert abs(q_score - c_score) < 1e-10 # matches to FP precision
print(qmodel.to_circuit(x_test).draw()) # StatePreparation circuit (not executed)
pip install qiskit to enable.
PyOD plugin
from dmkde.pyod import DMKDEDetector
det = DMKDEDetector(feature_dim=256, sigma=1.5, contamination=0.05).fit(X_train)
labels = det.predict(X_test) # 0 = inlier, 1 = outlier (PyOD convention)
scores = det.decision_function(X_test)
pip install pyod to enable.
License
MIT — see LICENSE. Provided AS IS with no warranty.
Metadata
Release files for dmkde 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| dmkde-0.1.1.tar.gz | 98.9 kB | With provenance | Details for dmkde-0.1.1.tar.gz |
Built distributions (wheels)
Total release size: 3.9 MB
Release files / dmkde-0.1.1.tar.gz
| Download URL | dmkde-0.1.1.tar.gz |
|---|---|
| Size | 98.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
871db9124eb67ede6513ffbf991fa95c1acfd858da687ca702629714e0b4d036
|
|
BLAKE2b-256 checksum How to use checksums |
dd2647b9784d5e16076d4f1cb3b2b0dd99ca4c941cdcef83898ff2054f8fe577
|
| 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 26, 2026.
Transparency logRelease files / dmkde-0.1.1-cp313-cp313-win_amd64.whl
| Download URL | dmkde-0.1.1-cp313-cp313-win_amd64.whl |
|---|---|
| Size | 170.9 kB |
| Tags | CPython 3.13 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
31faaf018b1f0c8e19a7d13e81fd1574c30c18ef52322cb0b70666bc117ed00f
|
|
BLAKE2b-256 checksum How to use checksums |
cd71aadf949937eabe3f015a8a9b0a60d71a9e7c52717e87b63e455f46104cdd
|
| 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 26, 2026.
Transparency logRelease files / dmkde-0.1.1-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | dmkde-0.1.1-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 235.0 kB |
| Tags | CPython 3.13 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
3f35afe787a43c9ce4add0b72f2676714050d269484461cfc3214f6968b7e0fd
|
|
BLAKE2b-256 checksum How to use checksums |
918fc29094e970177072391582a3c2acebb311c1b8cf4ab19c4df4ca9a0173f8
|
| 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 26, 2026.
Transparency logRelease files / dmkde-0.1.1-cp313-cp313-macosx_11_0_arm64.whl
| Download URL | dmkde-0.1.1-cp313-cp313-macosx_11_0_arm64.whl |
|---|---|
| Size | 180.5 kB |
| Tags | CPython 3.13 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
7441367ac37a312c1645cc785f25fb6d7bcb12c6cb69860001f41b66b9c58df7
|
|
BLAKE2b-256 checksum How to use checksums |
9a4d1c565bf0b0f93940f94a089e8b85099f07da304ae3de59f92787fd09c090
|
| 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 26, 2026.
Transparency logRelease files / dmkde-0.1.1-cp313-cp313-macosx_10_13_x86_64.whl
| Download URL | dmkde-0.1.1-cp313-cp313-macosx_10_13_x86_64.whl |
|---|---|
| Size | 190.0 kB |
| Tags | CPython 3.13 macOS 10.13+ x86-64 |
|
SHA-256 checksum How to use checksums |
a38af425fe97b6efa50b7849a0d1c5627ea5630b78b725208d73e1a88001a80c
|
|
BLAKE2b-256 checksum How to use checksums |
293c6e7ab572e562866345e6202d0d4bfee34d3f1b9cfa114046435c2e1136e3
|
| 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 26, 2026.
Transparency logRelease files / dmkde-0.1.1-cp312-cp312-win_amd64.whl
| Download URL | dmkde-0.1.1-cp312-cp312-win_amd64.whl |
|---|---|
| Size | 170.9 kB |
| Tags | CPython 3.12 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
e103475de15c23507d24dfb5ff013a508eeed8a55df3a7e9209244ae5928670a
|
|
BLAKE2b-256 checksum How to use checksums |
76f4dd7435ccfc36d9ea19585213deb7ccd8b8b6eaa5b5b859e546ee115f46d1
|
| 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 26, 2026.
Transparency logRelease files / dmkde-0.1.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | dmkde-0.1.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 234.6 kB |
| Tags | CPython 3.12 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
ce837c83266c571a5f47cffcc36a53ae78638c7f5d74b82fedd0066ac609a431
|
|
BLAKE2b-256 checksum How to use checksums |
906ea08a53e807b696b3ce6168fc46bbd5d6d9969c73851d62a18b9159470f9f
|
| 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 26, 2026.
Transparency logRelease files / dmkde-0.1.1-cp312-cp312-macosx_11_0_arm64.whl
| Download URL | dmkde-0.1.1-cp312-cp312-macosx_11_0_arm64.whl |
|---|---|
| Size | 180.4 kB |
| Tags | CPython 3.12 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
532239fa8056427bdacb76c118e0a823f70e6179e91a0f809855756c0fae2972
|
|
BLAKE2b-256 checksum How to use checksums |
cbafa56668e28f7758f232898c429de13cfbe0f47c491a1b718fde1b17ef3dce
|
| 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 26, 2026.
Transparency logRelease files / dmkde-0.1.1-cp312-cp312-macosx_10_13_x86_64.whl
| Download URL | dmkde-0.1.1-cp312-cp312-macosx_10_13_x86_64.whl |
|---|---|
| Size | 190.0 kB |
| Tags | CPython 3.12 macOS 10.13+ x86-64 |
|
SHA-256 checksum How to use checksums |
ee411d4520e5811ab618ed0596a15c8caf8b7c125bbc5c3a6e1f62c1f2646b04
|
|
BLAKE2b-256 checksum How to use checksums |
58e503c3b78205db6de26c54047dd8c6dee2b33964ac89b4e2f5a5dcb9968a43
|
| 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 26, 2026.
Transparency logRelease files / dmkde-0.1.1-cp311-cp311-win_amd64.whl
| Download URL | dmkde-0.1.1-cp311-cp311-win_amd64.whl |
|---|---|
| Size | 167.7 kB |
| Tags | CPython 3.11 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
9d51b8cc57316e4f07e71038381364ac80f6ed1d4691fd4a28079f73cb2b5789
|
|
BLAKE2b-256 checksum How to use checksums |
afbc7cf78f72e9fc40828d3c116451a0450f9051bacef44fcd098fc21dddbf7a
|
| 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 26, 2026.
Transparency logRelease files / dmkde-0.1.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | dmkde-0.1.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 231.7 kB |
| Tags | CPython 3.11 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
7936140c946213446e32bee6a8160520096240a353d37f1b71c00ce17e7f3ce4
|
|
BLAKE2b-256 checksum How to use checksums |
e30d0e4df82eb100d787ea11fc74a2b97a85a4376c14f7c27a8da9c143769fbc
|
| 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 26, 2026.
Transparency logRelease files / dmkde-0.1.1-cp311-cp311-macosx_11_0_arm64.whl
| Download URL | dmkde-0.1.1-cp311-cp311-macosx_11_0_arm64.whl |
|---|---|
| Size | 178.8 kB |
| Tags | CPython 3.11 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
8338a8dc9ecdb6b8a04cdaecd8848a7a5c695c6ff45a3fa867d5da26dd4aad47
|
|
BLAKE2b-256 checksum How to use checksums |
7b38dab2e910ee1997127c54e0d918b5c348e930e01c3229d979fcde06f1d529
|
| 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 26, 2026.
Transparency logRelease files / dmkde-0.1.1-cp311-cp311-macosx_10_9_x86_64.whl
| Download URL | dmkde-0.1.1-cp311-cp311-macosx_10_9_x86_64.whl |
|---|---|
| Size | 188.0 kB |
| Tags | CPython 3.11 macOS 10.9+ x86-64 |
|
SHA-256 checksum How to use checksums |
cc27b215986b84d172ebf1a297517d2250f44a4c1854a6002889a8597de0fd99
|
|
BLAKE2b-256 checksum How to use checksums |
4d7f5f82e5ec9ff2415f47b60925bc91735974a294d33561d429c1cf51bfdb1c
|
| 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 26, 2026.
Transparency logRelease files / dmkde-0.1.1-cp310-cp310-win_amd64.whl
| Download URL | dmkde-0.1.1-cp310-cp310-win_amd64.whl |
|---|---|
| Size | 167.4 kB |
| Tags | CPython 3.10 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
bc9cbfe8ddb83bc370485d6485516c7b477499e1c016e78a6d4d355440f3b2b9
|
|
BLAKE2b-256 checksum How to use checksums |
7c7530029a257cf3b59868e32ae6dcd0c26bb85f79b8d122e838fcfe275b074e
|
| 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 26, 2026.
Transparency logRelease files / dmkde-0.1.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | dmkde-0.1.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 230.6 kB |
| Tags | CPython 3.10 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
489813e14c1558b47d302e3b2efdaf34098341c2c350248e7032671f520823b4
|
|
BLAKE2b-256 checksum How to use checksums |
a5c2f62628f3098536af1e4812e5825b4494d2ba92d52f6a4f750069f5b9786b
|
| 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 26, 2026.
Transparency logRelease files / dmkde-0.1.1-cp310-cp310-macosx_11_0_arm64.whl
| Download URL | dmkde-0.1.1-cp310-cp310-macosx_11_0_arm64.whl |
|---|---|
| Size | 177.8 kB |
| Tags | CPython 3.10 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
6eee59d3d15e499040244862a0968e5c6458f7ee10a38c40b77f145b336fb1ff
|
|
BLAKE2b-256 checksum How to use checksums |
c44198d4bcdd26bc9dc9a2e7754287d54b573d4f62d9a1d74fd8b459ffbff945
|
| 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 26, 2026.
Transparency logRelease files / dmkde-0.1.1-cp310-cp310-macosx_10_9_x86_64.whl
| Download URL | dmkde-0.1.1-cp310-cp310-macosx_10_9_x86_64.whl |
|---|---|
| Size | 186.6 kB |
| Tags | CPython 3.10 macOS 10.9+ x86-64 |
|
SHA-256 checksum How to use checksums |
40de2967e34953433920f5a4bc07e1757b243ad923b2507f09e5332ff30a0c53
|
|
BLAKE2b-256 checksum How to use checksums |
1c3cda058e1f525e01d6c806c2427f2c0457429c86319fc97322390bd089470b
|
| 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 26, 2026.
Transparency logRelease files / dmkde-0.1.1-cp39-cp39-win_amd64.whl
| Download URL | dmkde-0.1.1-cp39-cp39-win_amd64.whl |
|---|---|
| Size | 167.2 kB |
| Tags | CPython 3.9 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
10c45205ed2507f12f298cf8922feac2a49904f2609eb77dc55fb74bd01249d4
|
|
BLAKE2b-256 checksum How to use checksums |
9abc726eff38c6eb00d861436322fa3a502361cf30bba3f36cf7bd16a885c76c
|
| 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 26, 2026.
Transparency logRelease files / dmkde-0.1.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | dmkde-0.1.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 230.7 kB |
| Tags | CPython 3.9 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
00215bdaf4b628728c328d4dae770b5149a535db15ec898934b32cb19237ca9e
|
|
BLAKE2b-256 checksum How to use checksums |
de3d1008a64cf253c35c5572cdded5980c797fff56166c2dac3243e72450c88f
|
| 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 26, 2026.
Transparency logRelease files / dmkde-0.1.1-cp39-cp39-macosx_11_0_arm64.whl
| Download URL | dmkde-0.1.1-cp39-cp39-macosx_11_0_arm64.whl |
|---|---|
| Size | 177.8 kB |
| Tags | CPython 3.9 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
645ec06c2353e007de467b3aa4f178d95da5721dd9e15531fd6882349d15e0b7
|
|
BLAKE2b-256 checksum How to use checksums |
4b436bc80b9f80816e63d8beb62106dd9ccc73eb2134cfda7a43f6e0573eda43
|
| 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 26, 2026.
Transparency logRelease files / dmkde-0.1.1-cp39-cp39-macosx_10_9_x86_64.whl
| Download URL | dmkde-0.1.1-cp39-cp39-macosx_10_9_x86_64.whl |
|---|---|
| Size | 186.8 kB |
| Tags | CPython 3.9 macOS 10.9+ x86-64 |
|
SHA-256 checksum How to use checksums |
fb15f9bedf51797bd88fe4d98da5f2f637aafa75a32a5c4d375bfecc4982b9a5
|
|
BLAKE2b-256 checksum How to use checksums |
0ce358c4514174fb451cb208bb212e860f07cb8f85ded8e6ebdd9dd7197df8a8
|
| 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 26, 2026.
Transparency logSecurity for dmkde 0.1.1
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 21 files in this release have been uploaded with provenance metadata.
Attestation for dmkde-0.1.1.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 26, 2026.
Transparency logA 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.