Skip to main content

Affine Diffusions

pytest !pypi !python-versions

Simulation and estimation of Affine Diffusion models.

Install:

pip install affidiff

Documentation

khrapovs.github.io/diffusions

Contribute

Setup

Install project in editable mode and sync all dependencies:

uv sync --all-groups

Build

The project uses scikit-build-core with CMake to compile Cython extensions. The build process is automatic during installation, but you can manually trigger a build:

uv build

This compiles the Cython simulation module (src/affidiff/simulate.pyx → .c → .so extension).

Code Quality

Use pre-commit to automatically format and lint code:

uv run prek install
uv run prek run --all-files

Testing

Run the test suite:

uv run pytest

Metadata

Release files for affidiff 0.5.2

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

Source distribution (sdist)

Source distribution for affidiff 0.5.2
File Size Uploaded Provenance Actions
affidiff-0.5.2.tar.gz 163.7 kB With provenance Details for affidiff-0.5.2.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for affidiff 0.5.2
File Actions
affidiff-0.5.2-cp315-cp315t-musllinux_1_2_x86_64.whl CPython 3.15 CPython 3.15 free-threading Linux musl 1.2+ x86-64 Details for affidiff-0.5.2-cp315-cp315t-musllinux_1_2_x86_64.whl
affidiff-0.5.2-cp315-cp315t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl CPython 3.15 CPython 3.15 free-threading Linux glibc 2.17+ x86-64, Linux glibc 2.28+ x86-64 Details for affidiff-0.5.2-cp315-cp315t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
affidiff-0.5.2-cp315-cp315t-macosx_11_0_arm64.whl CPython 3.15 CPython 3.15 free-threading macOS 11.0+ ARM64 Details for affidiff-0.5.2-cp315-cp315t-macosx_11_0_arm64.whl
affidiff-0.5.2-cp315-cp315-musllinux_1_2_x86_64.whl CPython 3.15 CPython 3.15 Linux musl 1.2+ x86-64 Details for affidiff-0.5.2-cp315-cp315-musllinux_1_2_x86_64.whl
affidiff-0.5.2-cp315-cp315-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl CPython 3.15 CPython 3.15 Linux glibc 2.17+ x86-64, Linux glibc 2.28+ x86-64 Details for affidiff-0.5.2-cp315-cp315-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
affidiff-0.5.2-cp315-cp315-macosx_11_0_arm64.whl CPython 3.15 CPython 3.15 macOS 11.0+ ARM64 Details for affidiff-0.5.2-cp315-cp315-macosx_11_0_arm64.whl
affidiff-0.5.2-cp314-cp314t-musllinux_1_2_x86_64.whl CPython 3.14 CPython 3.14 free-threading Linux musl 1.2+ x86-64 Details for affidiff-0.5.2-cp314-cp314t-musllinux_1_2_x86_64.whl
affidiff-0.5.2-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl CPython 3.14 CPython 3.14 free-threading Linux glibc 2.17+ x86-64, Linux glibc 2.28+ x86-64 Details for affidiff-0.5.2-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
affidiff-0.5.2-cp314-cp314t-macosx_11_0_arm64.whl CPython 3.14 CPython 3.14 free-threading macOS 11.0+ ARM64 Details for affidiff-0.5.2-cp314-cp314t-macosx_11_0_arm64.whl
affidiff-0.5.2-cp314-cp314-musllinux_1_2_x86_64.whl CPython 3.14 CPython 3.14 Linux musl 1.2+ x86-64 Details for affidiff-0.5.2-cp314-cp314-musllinux_1_2_x86_64.whl
affidiff-0.5.2-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl CPython 3.14 CPython 3.14 Linux glibc 2.17+ x86-64, Linux glibc 2.28+ x86-64 Details for affidiff-0.5.2-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
affidiff-0.5.2-cp314-cp314-macosx_11_0_arm64.whl CPython 3.14 CPython 3.14 macOS 11.0+ ARM64 Details for affidiff-0.5.2-cp314-cp314-macosx_11_0_arm64.whl

Total release size: 1.7 MB

Release files / affidiff-0.5.2.tar.gz

Download URL affidiff-0.5.2.tar.gz
Size 163.7 kB
Tags Source
SHA-256 checksum
How to use checksums
df5d72c6c16df0dc2d36b4ea6c88be24fc3b8c5bf051e06587b416f855ac52d5
BLAKE2b-256 checksum
How to use checksums
181cca4ce7c9ce8ddbd0cc55e63a9a467e5c380c3b3c36590455e223aa6eea9a
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 Oct 25, 2026.

Transparency log

Release files / affidiff-0.5.2-cp315-cp315t-musllinux_1_2_x86_64.whl

Download URL affidiff-0.5.2-cp315-cp315t-musllinux_1_2_x86_64.whl
Size 131.1 kB
Tags CPython 3.15 CPython 3.15 free-threading Linux musl 1.2+ x86-64
SHA-256 checksum
How to use checksums
11eeec31b5f59dfddf3dd2b4c9bf136060e1fd7f0e0411bdf6ff929f944ab7fa
BLAKE2b-256 checksum
How to use checksums
798e83ec9f6be566a9e9e58c937bde301c781b826fa51a714c71b15e73e800a3
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 Oct 25, 2026.

Transparency log

Release files / affidiff-0.5.2-cp315-cp315t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl

Download URL affidiff-0.5.2-cp315-cp315t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Size 130.3 kB
Tags CPython 3.15 CPython 3.15 free-threading Linux glibc 2.17+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
3f86d0eda3e7431a2236cb9c37d3a12d30d4de6b54a79e944a0c44bb7e03132c
BLAKE2b-256 checksum
How to use checksums
46257b2b754a1c4203c504846e03073cfb2e3498ff4c4f3fc2215d6d0ddc29d0
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 Oct 25, 2026.

Transparency log

Release files / affidiff-0.5.2-cp315-cp315t-macosx_11_0_arm64.whl

Download URL affidiff-0.5.2-cp315-cp315t-macosx_11_0_arm64.whl
Size 111.4 kB
Tags CPython 3.15 CPython 3.15 free-threading macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
28861de100ac660066e836be1f5e6d1f159e1cca2ec62e04392d007acee787df
BLAKE2b-256 checksum
How to use checksums
075f9ddbe2df79d6bfbff04a10fb4e43311f64c9920cf34f395e2da55fc0b459
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 Oct 25, 2026.

Transparency log

Release files / affidiff-0.5.2-cp315-cp315-musllinux_1_2_x86_64.whl

Download URL affidiff-0.5.2-cp315-cp315-musllinux_1_2_x86_64.whl
Size 135.5 kB
Tags CPython 3.15 Linux musl 1.2+ x86-64
SHA-256 checksum
How to use checksums
da587bbccd9cead1cefa8091d9c4602c9cf2440e3550ebd3bd2a85aebd2e9464
BLAKE2b-256 checksum
How to use checksums
885de9c1b92c2fe20ba2350360eea671532b193aa7e5163c7dce8b45d95d0203
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 Oct 25, 2026.

Transparency log

Release files / affidiff-0.5.2-cp315-cp315-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl

Download URL affidiff-0.5.2-cp315-cp315-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Size 134.4 kB
Tags CPython 3.15 Linux glibc 2.17+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
2c034bd266793be8eda2e564c2741c1025dd5e9ce9a88f8fbe906671c4a9fb9e
BLAKE2b-256 checksum
How to use checksums
def2169b82d80966d454ef8a6f690308cf6f1bdc3c11b7089833506d8d789f9a
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 Oct 25, 2026.

Transparency log

Release files / affidiff-0.5.2-cp315-cp315-macosx_11_0_arm64.whl

Download URL affidiff-0.5.2-cp315-cp315-macosx_11_0_arm64.whl
Size 107.3 kB
Tags CPython 3.15 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
4d458678017e9d326949792284009712ebdde58e77586b3a5c946cff57b02bed
BLAKE2b-256 checksum
How to use checksums
5c6ca36b05be2f59078d1ce2a8d9ac9a5cfdd5ab6c6bcc637ead54d14acf612c
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 Oct 25, 2026.

Transparency log

Release files / affidiff-0.5.2-cp314-cp314t-musllinux_1_2_x86_64.whl

Download URL affidiff-0.5.2-cp314-cp314t-musllinux_1_2_x86_64.whl
Size 131.8 kB
Tags CPython 3.14 CPython 3.14 free-threading Linux musl 1.2+ x86-64
SHA-256 checksum
How to use checksums
4c4b96237a869c7157f149a37ef6ecc9c4581a9e6f7988a5e53018e9a171e28b
BLAKE2b-256 checksum
How to use checksums
998becf5bac0087e24688a98077a29ef6d77573be8547a4599c10a9065eda407
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 Oct 25, 2026.

Transparency log

Release files / affidiff-0.5.2-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl

Download URL affidiff-0.5.2-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Size 131.2 kB
Tags CPython 3.14 CPython 3.14 free-threading Linux glibc 2.17+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
c87f7c28b822759eb94e3f080711e1079b7af870fc9ab64a594bceeb956e76d9
BLAKE2b-256 checksum
How to use checksums
35607186618988b2c83cc5a06723a5551a33f265a0ce7cf52c3b046ac965030e
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 Oct 25, 2026.

Transparency log

Release files / affidiff-0.5.2-cp314-cp314t-macosx_11_0_arm64.whl

Download URL affidiff-0.5.2-cp314-cp314t-macosx_11_0_arm64.whl
Size 111.9 kB
Tags CPython 3.14 CPython 3.14 free-threading macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
fb38fafac6f5e30b5f352208a9c373d474f92b8057fe7507b73744e77b043c76
BLAKE2b-256 checksum
How to use checksums
34f94d2c721b52111e77a6d6d4bbba1f8fce2ac4592125fe070101236b59614b
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 Oct 25, 2026.

Transparency log

Release files / affidiff-0.5.2-cp314-cp314-musllinux_1_2_x86_64.whl

Download URL affidiff-0.5.2-cp314-cp314-musllinux_1_2_x86_64.whl
Size 135.7 kB
Tags CPython 3.14 Linux musl 1.2+ x86-64
SHA-256 checksum
How to use checksums
af763d72bfa0f3b340c4a7efb006af9a5016ac5b1fdcabe890b503967e907326
BLAKE2b-256 checksum
How to use checksums
cea0fc4108cbb42379cc05a65a31505c7eb0747a98b4bf2808040605b633349d
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 Oct 25, 2026.

Transparency log

Release files / affidiff-0.5.2-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl

Download URL affidiff-0.5.2-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Size 134.7 kB
Tags CPython 3.14 Linux glibc 2.17+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
d1293d33b1972976bdc36fbcd7978a276cebb4ae9393f703952c9bdd23aeedad
BLAKE2b-256 checksum
How to use checksums
a31f4fda20a8aa8adbef97282550753d09902b19e0af51cd391ddd00c93408e0
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 Oct 25, 2026.

Transparency log

Release files / affidiff-0.5.2-cp314-cp314-macosx_11_0_arm64.whl

Download URL affidiff-0.5.2-cp314-cp314-macosx_11_0_arm64.whl
Size 107.3 kB
Tags CPython 3.14 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
7eae40bf317a07a81ec2ce150493c9c7c19aa63eff87ee646c1cee13c6fe868c
BLAKE2b-256 checksum
How to use checksums
051e0cc38641c210058b41f64b4e463e0e5d69d880feaee3bf7762dee760b175
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 Oct 25, 2026.

Transparency log

Security for affidiff 0.5.2

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

Select from 13 files

Attestation for affidiff-0.5.2.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 Oct 25, 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