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.5.0

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.0
File Size Uploaded
affidiff-0.5.0.tar.gz 162.4 kB Details

Built distributions (wheels)

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

Total release size: 1.6 MB

Release files / affidiff-0.5.0.tar.gz

Download URL affidiff-0.5.0.tar.gz
Size 162.4 kB
Tags Source
SHA-256 checksum
How to use checksums
cd13fe28b414f753c961d05f4daebb6c59b89fcfb81404415414f10576595906
BLAKE2b-256 checksum
How to use checksums
df7a9eb67efc2e928cbaf7f712c4c780df9332c468e38386750b91b38ca974eb
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 25, 2026.

Transparency log

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

Download URL affidiff-0.5.0-cp315-cp315t-musllinux_1_2_x86_64.whl
Size 127.3 kB
Tags CPython 3.15 CPython 3.15 free-threading Linux musl 1.2+ x86-64
SHA-256 checksum
How to use checksums
954597be18a260f5d64e5e3be41c3ea99ebb584b9bae5d383508d31443753ca4
BLAKE2b-256 checksum
How to use checksums
d38f4d9469c26f544ca566f6e4ca7dd43ae6f8298be1190d925d09bec85e8d21
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 25, 2026.

Transparency log

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

Download URL affidiff-0.5.0-cp315-cp315t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Size 126.5 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
ae7dcfd8b0bc126e173317cc0f9b8e7a6741c2c6d2ee6f0a424335bdf7f895fd
BLAKE2b-256 checksum
How to use checksums
49760a94434774104e8d788ee4069b13d246d018cc55d3ada23654dbd7a110b9
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 25, 2026.

Transparency log

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

Download URL affidiff-0.5.0-cp315-cp315t-macosx_11_0_arm64.whl
Size 107.6 kB
Tags CPython 3.15 CPython 3.15 free-threading macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
31421117657aeba28b1d9b21d9cf039a5505bd644a37c9cbb68e000a143ddf0c
BLAKE2b-256 checksum
How to use checksums
a575b21b4fda16f04bf8adca685a100f921e1be8c7a9543041a39839d40cc955
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 25, 2026.

Transparency log

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

Download URL affidiff-0.5.0-cp315-cp315-musllinux_1_2_x86_64.whl
Size 131.7 kB
Tags CPython 3.15 Linux musl 1.2+ x86-64
SHA-256 checksum
How to use checksums
31550f381b2b4581fc6aec0e4d18bebfe5c5be07ec1f3b12ff05df1b292517f3
BLAKE2b-256 checksum
How to use checksums
9c39ef58e30bb00f5944e5a00eaaf8feeca006006911d466047c5f271d073053
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 25, 2026.

Transparency log

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

Download URL affidiff-0.5.0-cp315-cp315-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Size 130.6 kB
Tags CPython 3.15 Linux glibc 2.17+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
659297fabaa9acb14379ee97a65bcaf327492684c3ac9001beb334eb9af28679
BLAKE2b-256 checksum
How to use checksums
3b69a12f8916e7143e07a08d20259ef6752c1bab81fa16dc7358e8f1d772620b
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 25, 2026.

Transparency log

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

Download URL affidiff-0.5.0-cp315-cp315-macosx_11_0_arm64.whl
Size 103.5 kB
Tags CPython 3.15 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
4d6adb3a51b0ff5bde8352ebba4d73320f6f3154e55db9d39db46599948b42e7
BLAKE2b-256 checksum
How to use checksums
1cc7815bc160e13c04b3ee5c2e2b532b22931386d4e8c0203bd7390f636190c2
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 25, 2026.

Transparency log

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

Download URL affidiff-0.5.0-cp314-cp314t-musllinux_1_2_x86_64.whl
Size 128.0 kB
Tags CPython 3.14 CPython 3.14 free-threading Linux musl 1.2+ x86-64
SHA-256 checksum
How to use checksums
1e550a54493e0ea842c3a96a9513a7a7dace0a871fe08e975421f410f014dae9
BLAKE2b-256 checksum
How to use checksums
ef0a5063601e447f36a79029c685fb73ae89e8eafab92b38504fa8fc26dad580
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 25, 2026.

Transparency log

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

Download URL affidiff-0.5.0-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Size 127.4 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
c8e8704bc94a365b2966cad66a53d85f8adf6e0da21b1dea473f109c382a9f69
BLAKE2b-256 checksum
How to use checksums
0340d4c203477118cd31440878e5079ada8fef4bdbe5f405811fba28bb9812d0
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 25, 2026.

Transparency log

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

Download URL affidiff-0.5.0-cp314-cp314t-macosx_11_0_arm64.whl
Size 108.1 kB
Tags CPython 3.14 CPython 3.14 free-threading macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
af99061da4dc45881b5b567a4086ace049a905f7b3f96098c7a05cddec416e83
BLAKE2b-256 checksum
How to use checksums
eaabe5a5b2866cf746c643d6df7841dab5e3e7d90ca143d04dc51fbfce59ac30
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 25, 2026.

Transparency log

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

Download URL affidiff-0.5.0-cp314-cp314-musllinux_1_2_x86_64.whl
Size 131.9 kB
Tags CPython 3.14 Linux musl 1.2+ x86-64
SHA-256 checksum
How to use checksums
350cfde0f648da1a72d7e8c12113de21c2a57c412f90ec688492e8200aad6a61
BLAKE2b-256 checksum
How to use checksums
cdcb5bcac121840457eeb297dae7c5e954c98ba7a3a089fa6c401b577153ba4e
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 25, 2026.

Transparency log

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

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

Transparency log

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

Download URL affidiff-0.5.0-cp314-cp314-macosx_11_0_arm64.whl
Size 103.5 kB
Tags CPython 3.14 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
5689edee078156d084d838dcdd0b18090d8a5840195fd4d2211bacf6b046c4e3
BLAKE2b-256 checksum
How to use checksums
93c4dc414841acf278d1b229729e2ac265b2bb79b096cfcf053fde0a5bc6f342
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 25, 2026.

Transparency log

Release history Release notifications | RSS feed

0.5.1

13 release files

This release

0.5.0 This release

13 release files

0.4.0

13 release files

0.3.0

13 release files

0.2.1

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