Skip to main content

Affine Diffusions

Simulation and estimation of Affine Diffusion models.

Install:

pip install affidiff

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

This runs:

  • Code formatting and linting (ruff)
  • Type checking (ty)
  • YAML validation
  • Common checks (trailing whitespace, end-of-file fixers, etc.)

Testing

Run the test suite:

uv run pytest

Release files for affidiff 0.2.1

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.2.1
File Size Uploaded
affidiff-0.2.1.tar.gz 106.7 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for affidiff 0.2.1
File
affidiff-0.2.1-cp315-cp315t-musllinux_1_2_x86_64.whl CPython 3.15 CPython 3.15 free-threading Linux musl 1.2+ x86-64 Details
affidiff-0.2.1-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
affidiff-0.2.1-cp315-cp315t-macosx_11_0_arm64.whl CPython 3.15 CPython 3.15 free-threading macOS 11.0+ ARM64 Details
affidiff-0.2.1-cp315-cp315-musllinux_1_2_x86_64.whl CPython 3.15 CPython 3.15 Linux musl 1.2+ x86-64 Details
affidiff-0.2.1-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
affidiff-0.2.1-cp315-cp315-macosx_11_0_arm64.whl CPython 3.15 CPython 3.15 macOS 11.0+ ARM64 Details
affidiff-0.2.1-cp314-cp314t-musllinux_1_2_x86_64.whl CPython 3.14 CPython 3.14 free-threading Linux musl 1.2+ x86-64 Details
affidiff-0.2.1-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.28+ x86-64, Linux glibc 2.17+ x86-64 Details
affidiff-0.2.1-cp314-cp314t-macosx_11_0_arm64.whl CPython 3.14 CPython 3.14 free-threading macOS 11.0+ ARM64 Details
affidiff-0.2.1-cp314-cp314-musllinux_1_2_x86_64.whl CPython 3.14 CPython 3.14 Linux musl 1.2+ x86-64 Details
affidiff-0.2.1-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.28+ x86-64, Linux glibc 2.17+ x86-64 Details
affidiff-0.2.1-cp314-cp314-macosx_11_0_arm64.whl CPython 3.14 CPython 3.14 macOS 11.0+ ARM64 Details

Total release size: 1.5 MB

Release files / affidiff-0.2.1.tar.gz

Download URL affidiff-0.2.1.tar.gz
Size 106.7 kB
Tags Source
SHA-256 checksum
How to use checksums
780d63adf5e75e3274391dbba479c7bcea0df4024ea847a710512d42ddba2146
BLAKE2b-256 checksum
How to use checksums
60519a0b2e2a12a15c05c55922f7e58085d09cbdc6c2b734224922a5566a1a0e
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 Sep 12, 2026.

Transparency log

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

Download URL affidiff-0.2.1-cp315-cp315t-musllinux_1_2_x86_64.whl
Size 124.0 kB
Tags CPython 3.15 CPython 3.15 free-threading Linux musl 1.2+ x86-64
SHA-256 checksum
How to use checksums
947bd5a3a7433b3e31de77a3956bf0cffcc87d45da7f32641559c697b5058bf8
BLAKE2b-256 checksum
How to use checksums
eeb8804c8965cf65a6e396fe919a3fe8f0e1550e1acd3c3c706570e09597300e
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 Sep 12, 2026.

Transparency log

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

Download URL affidiff-0.2.1-cp315-cp315t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Size 123.1 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
cf60a0fd22da2ac9bf8cd474faae8ce75c5e5a40ef3fcc44dd12c37b4f9231d9
BLAKE2b-256 checksum
How to use checksums
c6b327c51d6cfbc84d6e3aa03210073f7451a3045d7367746427136e0e59a9fc
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 Sep 12, 2026.

Transparency log

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

Download URL affidiff-0.2.1-cp315-cp315t-macosx_11_0_arm64.whl
Size 104.2 kB
Tags CPython 3.15 CPython 3.15 free-threading macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
a44cdeeaa57123012b6c4de16ffe2f423e76da10721d0cff49625e6d4905e710
BLAKE2b-256 checksum
How to use checksums
6461e790adbc00fcec2cfd0759d5a79a2b3147176638c05c25ae0a1bc3d9bd69
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 Sep 12, 2026.

Transparency log

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

Download URL affidiff-0.2.1-cp315-cp315-musllinux_1_2_x86_64.whl
Size 128.4 kB
Tags CPython 3.15 Linux musl 1.2+ x86-64
SHA-256 checksum
How to use checksums
ad4b2d75e0ec7b0f8d715e49b77eb1c1fc915523a7dcb2542b061e5ca9b7cb97
BLAKE2b-256 checksum
How to use checksums
a541f22f2e2422b860a91ef3edeea432ae2610a0737b2a91870e7220817b18d3
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 Sep 12, 2026.

Transparency log

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

Download URL affidiff-0.2.1-cp315-cp315-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Size 127.2 kB
Tags CPython 3.15 Linux glibc 2.17+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
d379a861625461ae65a1af3a030c3a31574b2ec2de32d278fd7d2c601124eaa8
BLAKE2b-256 checksum
How to use checksums
78850a893273cd80a05fb0e7a48f96c40dd915563eae4469d7e9d492de53b9b2
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 Sep 12, 2026.

Transparency log

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

Download URL affidiff-0.2.1-cp315-cp315-macosx_11_0_arm64.whl
Size 100.1 kB
Tags CPython 3.15 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
35c4e5e47ef2f4167f662cbaff0ece081ada49c7f04fa134acd8057d464ac30c
BLAKE2b-256 checksum
How to use checksums
d97705ccdd583fd4b4bee6f5e8596615c25fcb8eae3cb4e9193d931e8a52a4fb
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 Sep 12, 2026.

Transparency log

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

Download URL affidiff-0.2.1-cp314-cp314t-musllinux_1_2_x86_64.whl
Size 124.7 kB
Tags CPython 3.14 CPython 3.14 free-threading Linux musl 1.2+ x86-64
SHA-256 checksum
How to use checksums
f2a9bc017dc1cacc0b384dc124dfcdae431c27a19809043d082cf9547ed19896
BLAKE2b-256 checksum
How to use checksums
bbf5351a95224aab2712bc6a68126d3ad8a0c753713ba726a7a13302eaee8d66
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 Sep 12, 2026.

Transparency log

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

Download URL affidiff-0.2.1-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Size 124.1 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
d3b0d3ad427633ca9c78e2a7405b44bb57f81ce9816f5ec82d918122e32475fc
BLAKE2b-256 checksum
How to use checksums
48a70adbd178c60221e16ec95ce9cc1adf6ea7e5fc762e6a76dc6c980aef3022
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 Sep 12, 2026.

Transparency log

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

Download URL affidiff-0.2.1-cp314-cp314t-macosx_11_0_arm64.whl
Size 104.7 kB
Tags CPython 3.14 CPython 3.14 free-threading macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
f7b45cfcdf76c38809b9e2952b1131b1b062f6e6ed16ce04493651f8105e4374
BLAKE2b-256 checksum
How to use checksums
a0bf018e9e7a0b2478a57e63dd51f9f1e066ad124fe6dc43157536142639baf8
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 Sep 12, 2026.

Transparency log

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

Download URL affidiff-0.2.1-cp314-cp314-musllinux_1_2_x86_64.whl
Size 128.5 kB
Tags CPython 3.14 Linux musl 1.2+ x86-64
SHA-256 checksum
How to use checksums
d9f750f30fd544395945e3cf444f5af7fe73a12473aa618b3a97eb23c7274659
BLAKE2b-256 checksum
How to use checksums
846bfc9651834ed4b7a6331a5454421433cec32fc78590a27dfc5437318e9844
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 Sep 12, 2026.

Transparency log

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

Download URL affidiff-0.2.1-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Size 127.6 kB
Tags CPython 3.14 Linux glibc 2.17+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
d683e252b8c3b19e12f6b90a48ce1a125e21945fa8d0822be324aa909397b355
BLAKE2b-256 checksum
How to use checksums
65ab0ea193e325b093597fab74637ccdab6967a192f715fd02da73ed6fb964e0
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 Sep 12, 2026.

Transparency log

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

Download URL affidiff-0.2.1-cp314-cp314-macosx_11_0_arm64.whl
Size 100.2 kB
Tags CPython 3.14 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
a2843d6aff3c841ab21c2ed0cba7b0c6fcbd9a49794d3581a955802721346425
BLAKE2b-256 checksum
How to use checksums
aecfc72a62e56c85750ae377a2981d5fb8287642cda5bd254204265e536cdd32
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 Sep 12, 2026.

Transparency log

Release history Release notifications | RSS feed

0.5.1

13 release files

0.5.0

13 release files

0.4.0

13 release files

0.3.0

13 release files

This release

0.2.1 This release

13 release files

0.1.0

2 release files

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