FiniteFree
Python tools for finite free probability, random matrix sampling and spectral computation. FiniteFree focuses on efficient repeated calculations, numerical stability and reproducible workflows, with explicit precision and storage contracts.
Install
python -m pip install finitefree
Requires Python 3.10 or later. Release wheels cover CPython 3.10–3.13 on Linux x86-64, macOS ARM64 and Windows x86-64. A compatible wheel avoids compiling FiniteFree locally; source builds require a C compiler. On musl Linux, python-flint may also require FLINT/GMP/MPFR source-build prerequisites.
Start with the tutorial or the API reference.
Main workflows
- Polynomial calculations: finite free convolutions, cumulants, transforms and classical orthogonal families, with integer/rational coefficient arithmetic where supported and numerical root evaluation.
- Reproducible sampling: Gaussian, Wishart and Haar random matrices, plus
discrete DPP sampling. Pass an optional NumPy
Generatorthroughrng=; omitted arguments preserve the existing global RNG behavior. - Reusable numerical work: prepared orthogonal kernels, batched basis/kernel evaluation and reusable interval quadrature; prepared matrix pencils reuse LU factorizations for log-determinants, gradients and Hessian-vector products.
- Count statistics: finite-rank DPP count PMFs, CDFs, directly summed upper tails, means and variances.
- Bounded-storage summaries: streaming empirical coefficient moments and configured interval-count histograms. Retained-sample comparisons remain available when later plots or individual observations are needed.
See the GUE spectral workflow for a worked example connecting sampling, expected polynomials and kernels. Source-checkout examples and plotting dependencies are documented separately.
Precision and performance
Exactness applies to supported integer/rational algebraic operations. Roots,
sampled matrices, prepared numerical kernels and continuous probabilities use
floating-point methods with precision and conditioning limits. An exact=True
root request still returns float64 values, rather than exact roots or certified
error bounds.
Continuous gap and count probabilities are quadrature estimates. Supply the kernel's reference measure density explicitly for weighted measures, including Hermite kernels. Refinement and spectrum diagnostics do not certify rare tails.
Performance depends on the input, chosen API and environment. Prepared objects expose reuse; streaming summaries avoid retaining every sample. GPU correctness checks do not establish a speed or memory advantage. See the numerical contracts and benchmark instructions.
Release and project links
Version 0.4.1 updates package descriptions, project links and documentation. Library calculations, defaults and runtime dependencies are unchanged from 0.4.0.
MIT licensed.
Metadata
Release files for finitefree 0.4.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| finitefree-0.4.1.tar.gz | 12.9 MB | Details |
Built distributions (wheels)
Total release size: 18.8 MB
Release files / finitefree-0.4.1.tar.gz
| Download URL | finitefree-0.4.1.tar.gz |
|---|---|
| Size | 12.9 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
402883efa060947af7bac1a50309c4642d5635328bdb596186a18dd54ba8a2a5
|
|
BLAKE2b-256 checksum How to use checksums |
91128627f8acd9e070b5d08c910bdd6431ba8a125f9ea0e53f894c5a3fe804c0
|
| 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 Oct 19, 2026.
Transparency logRelease files / finitefree-0.4.1-cp313-cp313-win_amd64.whl
| Download URL | finitefree-0.4.1-cp313-cp313-win_amd64.whl |
|---|---|
| Size | 155.7 kB |
| Tags | CPython 3.13 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
8d0fdb862005ef519d6cb1c0f476337408ad1cee001d0d4cbb7583c930b1166f
|
|
BLAKE2b-256 checksum How to use checksums |
5e74f228e2f6f9c9968729d1d69f388fff3d47d7a6714b98bf50d526565d03fa
|
| 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 Oct 19, 2026.
Transparency logRelease files / finitefree-0.4.1-cp313-cp313-musllinux_1_2_x86_64.whl
| Download URL | finitefree-0.4.1-cp313-cp313-musllinux_1_2_x86_64.whl |
|---|---|
| Size | 582.8 kB |
| Tags | CPython 3.13 Linux musl 1.2+ x86-64 |
|
SHA-256 checksum How to use checksums |
0045c88d72b960b9996fee17afbdebc118a6b6d104dc7ce070c03ea116a7ca96
|
|
BLAKE2b-256 checksum How to use checksums |
b6425cbcfe1bfbf1edc50897e6d27214cd6313d13b03111610fffd64ef81931f
|
| 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 Oct 19, 2026.
Transparency logRelease files / finitefree-0.4.1-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | finitefree-0.4.1-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 597.3 kB |
| Tags | CPython 3.13 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
edc9514fcf668ec6b47df7dba71491922a1389ded469fff010be6bd6f5f7f2b5
|
|
BLAKE2b-256 checksum How to use checksums |
937c41979e803eefcd324fe3a995a9cb667ae1a50660b7b969e96af950cda732
|
| 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 Oct 19, 2026.
Transparency logRelease files / finitefree-0.4.1-cp313-cp313-macosx_11_0_arm64.whl
| Download URL | finitefree-0.4.1-cp313-cp313-macosx_11_0_arm64.whl |
|---|---|
| Size | 167.8 kB |
| Tags | CPython 3.13 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
bf9c6d77def26003e1f44b03e92c2fb14dd4615b0d38e7932e0d6fcbfca07b5b
|
|
BLAKE2b-256 checksum How to use checksums |
828ff023305278f46e5723235fdc1bf797efbc85b774076e9b2463392e13b285
|
| 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 Oct 19, 2026.
Transparency logRelease files / finitefree-0.4.1-cp312-cp312-win_amd64.whl
| Download URL | finitefree-0.4.1-cp312-cp312-win_amd64.whl |
|---|---|
| Size | 156.0 kB |
| Tags | CPython 3.12 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
8e2968f48f3372e9a61d0461228221c19aa13ea2dfb1a713155e727419514ff6
|
|
BLAKE2b-256 checksum How to use checksums |
2dc5d00c74009338d694ff73d6b270e5a8aff798001ea46ce4d7b39654a42c28
|
| 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 Oct 19, 2026.
Transparency logRelease files / finitefree-0.4.1-cp312-cp312-musllinux_1_2_x86_64.whl
| Download URL | finitefree-0.4.1-cp312-cp312-musllinux_1_2_x86_64.whl |
|---|---|
| Size | 590.2 kB |
| Tags | CPython 3.12 Linux musl 1.2+ x86-64 |
|
SHA-256 checksum How to use checksums |
14302e3efc1e58bde7f72cbb091b28164d73eacc1b850640249c900f47478a74
|
|
BLAKE2b-256 checksum How to use checksums |
fb80f7cded7b6d0ed07fc897943ac753156cbd4b07462bed9f8480a0c771170b
|
| 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 Oct 19, 2026.
Transparency logRelease files / finitefree-0.4.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | finitefree-0.4.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 602.3 kB |
| Tags | CPython 3.12 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
eb009d5c223c0a37a960e00cdb25b9c4fd32a39aa5d81c8eda4ca13df5ea5176
|
|
BLAKE2b-256 checksum How to use checksums |
7533fc424c996126293a7532cb7d9df94a08f3666a744913c1b0284366f558ca
|
| 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 Oct 19, 2026.
Transparency logRelease files / finitefree-0.4.1-cp312-cp312-macosx_11_0_arm64.whl
| Download URL | finitefree-0.4.1-cp312-cp312-macosx_11_0_arm64.whl |
|---|---|
| Size | 167.8 kB |
| Tags | CPython 3.12 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
dd56020dc26310795946828b340c56f48dffd6e84638a887ddc8ea1e5602e42d
|
|
BLAKE2b-256 checksum How to use checksums |
83b26749c18da331c7fa9e4feda570841f075f135d6e7bfdf29e95d841d2ea3f
|
| 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 Oct 19, 2026.
Transparency logRelease files / finitefree-0.4.1-cp311-cp311-win_amd64.whl
| Download URL | finitefree-0.4.1-cp311-cp311-win_amd64.whl |
|---|---|
| Size | 156.5 kB |
| Tags | CPython 3.11 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
a80e6028ab55ba84d5a345fda5a8690448a6b224c5cf93e8451e1c2be29059ba
|
|
BLAKE2b-256 checksum How to use checksums |
da1ec61e1070fa771da1cfde7e6b818b6a9413d04258e6342d990b26398a3e43
|
| 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 Oct 19, 2026.
Transparency logRelease files / finitefree-0.4.1-cp311-cp311-musllinux_1_2_x86_64.whl
| Download URL | finitefree-0.4.1-cp311-cp311-musllinux_1_2_x86_64.whl |
|---|---|
| Size | 562.2 kB |
| Tags | CPython 3.11 Linux musl 1.2+ x86-64 |
|
SHA-256 checksum How to use checksums |
54483699bbdf02cf6cd3d5d9627735a91c65843bc94b2f45daec83464563c64d
|
|
BLAKE2b-256 checksum How to use checksums |
65f83180940047df193a8eb1db506725400b8a28a2defc88c2f4c9dde64d7f6a
|
| 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 Oct 19, 2026.
Transparency logRelease files / finitefree-0.4.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | finitefree-0.4.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 570.6 kB |
| Tags | CPython 3.11 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
dfb21baf4a82a968e0d99f1d3516d6ac3f8b35464b55d34a2f7de2a6ced0ee03
|
|
BLAKE2b-256 checksum How to use checksums |
b46ca82207cce9823a8c7062c980a87ff021f344d622f6fef12280597919cd09
|
| 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 Oct 19, 2026.
Transparency logRelease files / finitefree-0.4.1-cp311-cp311-macosx_11_0_arm64.whl
| Download URL | finitefree-0.4.1-cp311-cp311-macosx_11_0_arm64.whl |
|---|---|
| Size | 167.1 kB |
| Tags | CPython 3.11 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
39518c1e767b791ac50abc27e8c1dcc7b0b287680550198e59866f057d42e061
|
|
BLAKE2b-256 checksum How to use checksums |
38064c48313cc48b9297d4030b26d2c7390a94f1e1b677651ef49e854f27fc8a
|
| 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 Oct 19, 2026.
Transparency logRelease files / finitefree-0.4.1-cp310-cp310-win_amd64.whl
| Download URL | finitefree-0.4.1-cp310-cp310-win_amd64.whl |
|---|---|
| Size | 156.9 kB |
| Tags | CPython 3.10 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
7430a791e398e42c9eff44477d699174e00b09ca7fd29031e3e7e48707a1def0
|
|
BLAKE2b-256 checksum How to use checksums |
c71e90d724ce2610b157d933e6d86f7339225433067baad0591f2f66cb5b819a
|
| 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 Oct 19, 2026.
Transparency logRelease files / finitefree-0.4.1-cp310-cp310-musllinux_1_2_x86_64.whl
| Download URL | finitefree-0.4.1-cp310-cp310-musllinux_1_2_x86_64.whl |
|---|---|
| Size | 541.9 kB |
| Tags | CPython 3.10 Linux musl 1.2+ x86-64 |
|
SHA-256 checksum How to use checksums |
8c823189fe001356e20666c8d4d6170bbbaa6020e04a2e210bc24cb10a479894
|
|
BLAKE2b-256 checksum How to use checksums |
0b27388a0e1b0b4e32d75b3e5c05076dfb535b86be377ba3b295196ffdbc3ac2
|
| 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 Oct 19, 2026.
Transparency logRelease files / finitefree-0.4.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | finitefree-0.4.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 546.9 kB |
| Tags | CPython 3.10 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
3f97dd27fdb40a94f6c55d558a06c326477f97c92bb731a282c32b86a10f019c
|
|
BLAKE2b-256 checksum How to use checksums |
847d5ae51986f93d21aa4d8b80a206d9e61cdd6e09dceae63e5ad67170a7e717
|
| 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 Oct 19, 2026.
Transparency logRelease files / finitefree-0.4.1-cp310-cp310-macosx_11_0_arm64.whl
| Download URL | finitefree-0.4.1-cp310-cp310-macosx_11_0_arm64.whl |
|---|---|
| Size | 168.2 kB |
| Tags | CPython 3.10 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
336dca1f2d32de02fb8fe2bcda4c0a17d17949ae266c6751dd6a69539e814453
|
|
BLAKE2b-256 checksum How to use checksums |
8398cf487ac002483e93fbfcb779cc219327cce3b64701b0bb6596c070095089
|
| 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 Oct 19, 2026.
Transparency log