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.3.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.3.0
File Size Uploaded
affidiff-0.3.0.tar.gz 117.8 kB Details

Built distributions (wheels)

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

Download URL affidiff-0.3.0.tar.gz
Size 117.8 kB
Tags Source
SHA-256 checksum
How to use checksums
dda540c8c21713cf92085cd7904b536696ff1bd5de89d38bbd6e4d84f7a23882
BLAKE2b-256 checksum
How to use checksums
e3479ec499ae30747013b4659f5d81869d3d8829ca41af67ada69303d61835ca
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 23, 2026.

Transparency log

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

Download URL affidiff-0.3.0-cp315-cp315t-musllinux_1_2_x86_64.whl
Size 125.9 kB
Tags CPython 3.15 CPython 3.15 free-threading Linux musl 1.2+ x86-64
SHA-256 checksum
How to use checksums
06f39b950479716f782a9cf3f72321571fd1a900f9016bee90f641144ec2669d
BLAKE2b-256 checksum
How to use checksums
61557c91fddff4246ca6eaba0425aff2b2bd8fba2b8d7d3624cf9c089c934086
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 23, 2026.

Transparency log

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

Download URL affidiff-0.3.0-cp315-cp315t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Size 125.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
51a59a739cff76107992803f61d5f1ac03a11d9c65ae2f5ccf17bb79fc91ca31
BLAKE2b-256 checksum
How to use checksums
3ab08a5f314a24f32ba835cc401781bf53a28786acba75aa00bf7d5e9da3b1b6
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 23, 2026.

Transparency log

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

Download URL affidiff-0.3.0-cp315-cp315t-macosx_11_0_arm64.whl
Size 106.1 kB
Tags CPython 3.15 CPython 3.15 free-threading macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
d2a62544ab21d1ad25b040a33de76a0c8da2edcf43391b4f84143366edba9015
BLAKE2b-256 checksum
How to use checksums
d9bcc11df26fda4fc6f402d3a621daa072dec5e8db9c8ef4ab32bfbe3c26be72
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 23, 2026.

Transparency log

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

Download URL affidiff-0.3.0-cp315-cp315-musllinux_1_2_x86_64.whl
Size 130.3 kB
Tags CPython 3.15 Linux musl 1.2+ x86-64
SHA-256 checksum
How to use checksums
0d856e6fc8a02495c203ee5d8b997985709f67f5387764580fcb272cf319053b
BLAKE2b-256 checksum
How to use checksums
029d48f22ba615e1a64dbcca14cec273ad4d65e689411f788b48bcd8960c8252
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 23, 2026.

Transparency log

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

Download URL affidiff-0.3.0-cp315-cp315-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Size 129.1 kB
Tags CPython 3.15 Linux glibc 2.17+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
349c38a458495662c7ba5e8f9a448be56455787da76cb5fd345f1b871ac7b4ca
BLAKE2b-256 checksum
How to use checksums
ef44ac8483ceafa80fb71b86e9141e1ad9b7789ca1ac314a58293e7c237a715a
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 23, 2026.

Transparency log

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

Download URL affidiff-0.3.0-cp315-cp315-macosx_11_0_arm64.whl
Size 102.0 kB
Tags CPython 3.15 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
bbddc9027999ad6b9ac2cceaa65a1fb81171d8cf83fcd3722deabb25b92cb639
BLAKE2b-256 checksum
How to use checksums
421a68d080fa59701b62362440e6247395ffc83db3989fc899caf20308a107e8
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 23, 2026.

Transparency log

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

Download URL affidiff-0.3.0-cp314-cp314t-musllinux_1_2_x86_64.whl
Size 126.6 kB
Tags CPython 3.14 CPython 3.14 free-threading Linux musl 1.2+ x86-64
SHA-256 checksum
How to use checksums
3c4cf1430103cfd3ca4ec7e00a7ca31faa7626c7a43f926141be378ceadd5123
BLAKE2b-256 checksum
How to use checksums
91b9607506012697e68904106d33d71602bd044c26e00ddb87c72e6b336bdd12
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 23, 2026.

Transparency log

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

Download URL affidiff-0.3.0-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Size 126.0 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
43ac235f07e87e9df9722c552370566a44208169273eeac42ab0ac6041418fd1
BLAKE2b-256 checksum
How to use checksums
b104e9b7cc37e1f8e2e800ad4cdbfea05eb3eecd350dcd8ed2021e1d3dd47055
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 23, 2026.

Transparency log

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

Download URL affidiff-0.3.0-cp314-cp314t-macosx_11_0_arm64.whl
Size 106.7 kB
Tags CPython 3.14 CPython 3.14 free-threading macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
f070e73873940fd05fbfa45938cccebb776db67ee27a7e27c04c5dd1518fc7e5
BLAKE2b-256 checksum
How to use checksums
e68d4f49b5b40122a8b2bf8f55dcdaa812b17641fa6b58016e4ba32184cbb192
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 23, 2026.

Transparency log

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

Download URL affidiff-0.3.0-cp314-cp314-musllinux_1_2_x86_64.whl
Size 130.5 kB
Tags CPython 3.14 Linux musl 1.2+ x86-64
SHA-256 checksum
How to use checksums
667ea4245b7b78283e458ebf9080d13382e0af05847951a2ad7b911d39f47683
BLAKE2b-256 checksum
How to use checksums
d35ab0ce79be7575c010a9117b4f2809b45482bc2bf5a865f1e70a0933202be4
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 23, 2026.

Transparency log

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

Download URL affidiff-0.3.0-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Size 129.5 kB
Tags CPython 3.14 Linux glibc 2.17+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
b34d0297914931e78e5cc982e70844f77be70558ae442d28eefcfe56b9f23c78
BLAKE2b-256 checksum
How to use checksums
71806ea7a3d0ea223b5e0157203d1dfc545eec8fb503053e2e0173a9a6ca328f
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 23, 2026.

Transparency log

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

Download URL affidiff-0.3.0-cp314-cp314-macosx_11_0_arm64.whl
Size 102.1 kB
Tags CPython 3.14 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
3fe01d07af74a32216e7a0021c6309740e67daafb0b7355dd2b490abb8d37c6f
BLAKE2b-256 checksum
How to use checksums
b3c5d038d60ff1a1a2003a58423275c04610210df3594e0baeae2073df3f3057
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 23, 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

This release

0.3.0 This release

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