KappaKit: Curvature Estimation on Data Manifolds with Diffusion-Augmented Sampling
kappakit is a Python library for estimating the curvature of a data manifold.
Curvature is the fundamental descriptor of local geometry—useful in shape analysis, learning theory, and non-Euclidean algorithms—yet it proves elusive to estimate on sparse, noisy data.
KappaKit offers a modular base framework for various curvature estimation methods. In particular, it supports training diffusion models via the HuggingFace API to increase the sample density for downstream estimation methods.
Installation
From pip:
pip install kappakit
From source:
git clone https://github.com/Weber-GeoML/kappakit.git
pip install -e .
Usage
This repository contains the experiment scripts to reproduce the paper Curvature Estimation on Data Manifolds with Diffusion-Augmented Sampling. If you use this repository, please use this paper as the citation.
You can reproduce the experiments by running scripts/experiments/all.sh. The figures in the paper were generated with scripts/experiments/generate_figures.ipynb.
A curvature estimation experiment may invoke the following routines in order:
kappakit.routines.create_datasetkappakit.routines.train_diffusion_modelkappakit.routines.estimate_curvature
Please refer to the documentation for the API reference as well as tutorials on how to use or expand this codebase.
Metadata
Release files for kappakit 0.1.0
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 |
|---|---|---|---|---|
| kappakit-0.1.0.tar.gz | 47.9 kB | With provenance | Details for kappakit-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| kappakit-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for kappakit-0.1.0-py3-none-any.whl |
Total release size: 112.2 kB
Release files / kappakit-0.1.0.tar.gz
| Download URL | kappakit-0.1.0.tar.gz |
|---|---|
| Size | 47.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
424e1443e434acd22c492bc417ddfe9f7eec1d7dd8398a7c701e29cba0aa7643
|
|
BLAKE2b-256 checksum How to use checksums |
fa7b07168e97790b07f8c8b02ec0647ccfe05a9d2fa4640a4a9d6a5dadc3b116
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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 Dec 5, 2025.
Transparency logRelease files / kappakit-0.1.0-py3-none-any.whl
| Download URL | kappakit-0.1.0-py3-none-any.whl |
|---|---|
| Size | 64.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3c4c23f91de52f3e3cf161b64561fe35eb92ea8eabc8f90388cf37666c8e8d26
|
|
BLAKE2b-256 checksum How to use checksums |
b20e902c1dc03cbadec0a022156f021c566171b6c2d98bd8a968855eecef51b1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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 Dec 5, 2025.
Transparency logSecurity for kappakit 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for kappakit-0.1.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Dec 5, 2025.
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.