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

Built distributions (wheels)

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

Download URL affidiff-0.5.1.tar.gz
Size 162.4 kB
Tags Source
SHA-256 checksum
How to use checksums
0349680f097581a5ea769231d33854fcfa368c8a1b29d5a3ba16acbbf73c8414
BLAKE2b-256 checksum
How to use checksums
a0b97ece5b63b261836ff65cda706f15ce9d0713dfcab0aeb61bd8b85d2b9cdb
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.1-cp315-cp315t-musllinux_1_2_x86_64.whl

Download URL affidiff-0.5.1-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
7ef71eeb7df3bfbb735642205642af68b09862c58c4caaab3729fc48c02028b8
BLAKE2b-256 checksum
How to use checksums
2b2cda359d5c3795c6672b36e66329c53f9a3f7b841737550e86fe34121b7c0c
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.1-cp315-cp315t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl

Download URL affidiff-0.5.1-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
861324d8e5050ab9e78e04825ad445248305e43ac22d76af3c8d1d7824da1ae2
BLAKE2b-256 checksum
How to use checksums
e6e7a438cfdcab89fe4df91512101e50fe8498a833ee9f2660e8d06d06203b7d
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.1-cp315-cp315t-macosx_11_0_arm64.whl

Download URL affidiff-0.5.1-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
5a0463b24321529d46ee06ba98a1484ab1f7a2efaf0521b79fed8be2b897bd56
BLAKE2b-256 checksum
How to use checksums
641d06e1fedca0ec578ee85015ddcaff63c5db9f5ff77409a042ce63ff4171ed
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.1-cp315-cp315-musllinux_1_2_x86_64.whl

Download URL affidiff-0.5.1-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
1ef455b2cc15c98e9ca3f31d0086cfe59ef606263969181441e1717823eee502
BLAKE2b-256 checksum
How to use checksums
46c7fd9366002b41c56f824f759c5e332c5d800de4f56f136bcfa11d38e608d2
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.1-cp315-cp315-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl

Download URL affidiff-0.5.1-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
fd133d406acd05827e3e6fbe29491b85bcf81419f221915ce9c0250b0d0ede48
BLAKE2b-256 checksum
How to use checksums
e5ad9f553e915f3884c3971054deb14a112b2d1098e01ffb19d8cf2cac57c6b0
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.1-cp315-cp315-macosx_11_0_arm64.whl

Download URL affidiff-0.5.1-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
e1de81e5787f7683af0957e626dcbe48f0240f5eef71a8ad236599f2cbac14c8
BLAKE2b-256 checksum
How to use checksums
ccb8a6177190772c4690e209d3bf4e4d3e94cf94462077f45cdddb58de08e8fc
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.1-cp314-cp314t-musllinux_1_2_x86_64.whl

Download URL affidiff-0.5.1-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
f7e8fd2243af5545662c6b5db4195a4a639e6582993e3d34f36bb13419c4b597
BLAKE2b-256 checksum
How to use checksums
f38fad3a32affcfe65f31f842e46b43c2b1688556d0607d55ef31d73beeabf46
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.1-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl

Download URL affidiff-0.5.1-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
32d4bc97532d3ea702c593cd9243b74a705b1f7a353dbaa922f175348b79ee7d
BLAKE2b-256 checksum
How to use checksums
b045e39e4cb5854a3f5d2e78ea4470f9f9bbbab2a82bd4837410a6a8db5aceaf
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.1-cp314-cp314t-macosx_11_0_arm64.whl

Download URL affidiff-0.5.1-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
8e5c3663bc771e92e3e89c837117b0998b91396ba0edcf34701b3f7c206b354e
BLAKE2b-256 checksum
How to use checksums
abdc6349e9ae14c38f01fc2155da9926ce985365b03f2fb4f7128209025cd394
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.1-cp314-cp314-musllinux_1_2_x86_64.whl

Download URL affidiff-0.5.1-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
da2d394c50ee3adc1e7abcbf53527f8226f4037285a9040e9d22e0ec2611da65
BLAKE2b-256 checksum
How to use checksums
0380c3b48cefd458d0fc72a83656eee62950b0fafdfd07c33487c6e05300d773
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.1-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl

Download URL affidiff-0.5.1-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
4bda38b8c462b09fdf66ac45552b0b5ece8748f8287ab719188bbecee09202d4
BLAKE2b-256 checksum
How to use checksums
9710ee0257475f17d88dca983e082f33ab41e1e9c18ee79cfdd6001355620b51
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.1-cp314-cp314-macosx_11_0_arm64.whl

Download URL affidiff-0.5.1-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
c4c251bdbed4c7663b22c09f4edb356eb3a1b7135a06524ffeab44bbdad925a7
BLAKE2b-256 checksum
How to use checksums
22c3d0b8940e86ae083bf200f19db68568112902a5c4010443e8966934938573
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

This release

0.5.1 This release

13 release files

0.5.0

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