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.4.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.4.0
File Size Uploaded
affidiff-0.4.0.tar.gz 153.9 kB Details

Built distributions (wheels)

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

Download URL affidiff-0.4.0.tar.gz
Size 153.9 kB
Tags Source
SHA-256 checksum
How to use checksums
efce0ee5a0f07f4f132643d151c168a425615845b7d422677d299bbc593cecfa
BLAKE2b-256 checksum
How to use checksums
82e53e317cd88ba1074521df8fae11a8ac78d2ea8e7362896fcbc029479302c1
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.4.0-cp315-cp315t-musllinux_1_2_x86_64.whl

Download URL affidiff-0.4.0-cp315-cp315t-musllinux_1_2_x86_64.whl
Size 127.2 kB
Tags CPython 3.15 CPython 3.15 free-threading Linux musl 1.2+ x86-64
SHA-256 checksum
How to use checksums
96e54c978d82fa772f89ff7d0da9470b6bcc432627ee10a8d91ed9bd31212545
BLAKE2b-256 checksum
How to use checksums
d40ae9d0e49be1000907d64e11724e4351c7107c9d3959519391fd0c05a000fd
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.4.0-cp315-cp315t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl

Download URL affidiff-0.4.0-cp315-cp315t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Size 126.4 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
b5784809dbb6cbffe48f747205c8a347c13441bac163fe33c73e8acef2e07e41
BLAKE2b-256 checksum
How to use checksums
caa9606ac7140704e607ebeaa52b4013373f56f3231fdf328c87f6f70c5649a3
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.4.0-cp315-cp315t-macosx_11_0_arm64.whl

Download URL affidiff-0.4.0-cp315-cp315t-macosx_11_0_arm64.whl
Size 107.4 kB
Tags CPython 3.15 CPython 3.15 free-threading macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
b1aef0725e5df6cbfacf4d8d79781fb9503a932ed261080a56f8346989f0da8b
BLAKE2b-256 checksum
How to use checksums
1d84ab2ade11423b4f8e1df14d0a961996d7de351cdb64cc19353a4e3dbabbf7
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.4.0-cp315-cp315-musllinux_1_2_x86_64.whl

Download URL affidiff-0.4.0-cp315-cp315-musllinux_1_2_x86_64.whl
Size 131.6 kB
Tags CPython 3.15 Linux musl 1.2+ x86-64
SHA-256 checksum
How to use checksums
a5428a2cd3cd39b03f903126a0e43a2212c5107d111170adc673f6d7732e32e5
BLAKE2b-256 checksum
How to use checksums
bf177b3195be013c6b3931691b1ba9fc784a61b9e45d7f258fff1fcd4d228e5b
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.4.0-cp315-cp315-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl

Download URL affidiff-0.4.0-cp315-cp315-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Size 130.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
444d4527058cd2ec9e5ed86764903ae110dc9d5deedaf4f08221124940a35bb9
BLAKE2b-256 checksum
How to use checksums
dc7d5ac450848792f47b33022f206a59af1aabaebabd2f2504c73df5b41f72fa
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.4.0-cp315-cp315-macosx_11_0_arm64.whl

Download URL affidiff-0.4.0-cp315-cp315-macosx_11_0_arm64.whl
Size 103.3 kB
Tags CPython 3.15 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
8d33e44a2896c193d7a5540edc001ecfbaa6ce91b54d1cdeb2ff789827c2560d
BLAKE2b-256 checksum
How to use checksums
822564b5af18d9a1f09baa4f585fe38609b6e1b755e679807f71ad22b71f71dd
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.4.0-cp314-cp314t-musllinux_1_2_x86_64.whl

Download URL affidiff-0.4.0-cp314-cp314t-musllinux_1_2_x86_64.whl
Size 127.9 kB
Tags CPython 3.14 CPython 3.14 free-threading Linux musl 1.2+ x86-64
SHA-256 checksum
How to use checksums
d1532092e2ceafe28ea4e208bdb2d744db3c538d6dd28f8d47b3c77c296771d1
BLAKE2b-256 checksum
How to use checksums
623598c003873022856982418ec2b8d89fe83c4b03c6885e803a8b5e1d90cea2
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.4.0-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl

Download URL affidiff-0.4.0-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Size 127.3 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
a55b1cca8af7770d3248d2a21b96f4f8084d30bf3d506c31fdf88e6ad97621a2
BLAKE2b-256 checksum
How to use checksums
4f3e84e8a756c465fd20bbbefd30b0ed0e8572a75c459819758d9c34239e3b14
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.4.0-cp314-cp314t-macosx_11_0_arm64.whl

Download URL affidiff-0.4.0-cp314-cp314t-macosx_11_0_arm64.whl
Size 108.0 kB
Tags CPython 3.14 CPython 3.14 free-threading macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
e4008223f5938d9da9f9113d6996fc497ce58b34de2676e1d7d456516e61ceeb
BLAKE2b-256 checksum
How to use checksums
ffa229be83bee7c215a74139e50dd7fc4bf068ebd9551c58837ebe8cc46f2a1a
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.4.0-cp314-cp314-musllinux_1_2_x86_64.whl

Download URL affidiff-0.4.0-cp314-cp314-musllinux_1_2_x86_64.whl
Size 131.8 kB
Tags CPython 3.14 Linux musl 1.2+ x86-64
SHA-256 checksum
How to use checksums
b0012317c2e58216ff0e222592ad9a048194dad09a61c85e0f6ae8af27f9f8f6
BLAKE2b-256 checksum
How to use checksums
16c8446530d628c372b9b54ef095431afe813f081c4d909fad0c274c9e6ab5d3
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.4.0-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl

Download URL affidiff-0.4.0-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Size 130.8 kB
Tags CPython 3.14 Linux glibc 2.17+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
0b2e6c1aa16fb7f550be7b009385469d96afcab92c32cb6e479da9d86fbb9369
BLAKE2b-256 checksum
How to use checksums
18899984bfb8743b6c47945d168ac05e4a65da0f5a295d09a1ea36460f2014e2
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.4.0-cp314-cp314-macosx_11_0_arm64.whl

Download URL affidiff-0.4.0-cp314-cp314-macosx_11_0_arm64.whl
Size 103.4 kB
Tags CPython 3.14 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
12cf58744a485a67bc31f1cb5ea2dd4f9ab68a09a1894bf0817e1bbf6708fcaa
BLAKE2b-256 checksum
How to use checksums
364afec8ce658475d44af1896f0154de012efb62d2a73b7155b1f2df1532302f
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

0.5.0

13 release files

This release

0.4.0 This release

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