Efficient algorithms for exact and approximate enumeration of admixed arrays
Admixed arrays are discrete structures arising from analyses of genetically admixed populations, and are closely related to binary matrices. zagar is a software that allows the user to compute the cardinality of constrained sets of admixed arrays. These constraints include individual global ancestry proportions (a row sum constraint) and ancestry-specific allele frequencies (a column sum constraint). Analytically derived approximate counts are provided for semi-regular constraints.
Project Website
Installation instructions, tutorials and API documentation can be found here:
https://alanaw1.github.io/zagar
License
Our software carries a GPL-3.0 license.
Our project website carries a CC BY 4.0 license.
Metadata
Release files for zagar 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| zagar-0.2.0.tar.gz | 74.6 kB | With provenance | Details for zagar-0.2.0.tar.gz |
Built distributions (wheels)
Total release size: 1.9 MB
Release files / zagar-0.2.0.tar.gz
| Download URL | zagar-0.2.0.tar.gz |
|---|---|
| Size | 74.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a74e575212a0e4f0edb59820262b5c2a869f133562cc40b959a0e775f679c127
|
|
BLAKE2b-256 checksum How to use checksums |
491e89e7902376fef0ca09c3573b0431709aea205889e99aee6b2913a775be40
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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 Nov 13, 2026.
Transparency logRelease files / zagar-0.2.0-cp312-cp312-win_amd64.whl
| Download URL | zagar-0.2.0-cp312-cp312-win_amd64.whl |
|---|---|
| Size | 174.2 kB |
| Tags | CPython 3.12 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
1b03f47eeb5304e752237c2fd8456ac522e5c7c926bae45b36e8ff93606f7fc5
|
|
BLAKE2b-256 checksum How to use checksums |
64633eb8fd2873281e761fc6a40da8b0639f1510a556ad92febca5fb2ef35bee
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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 Nov 13, 2026.
Transparency logRelease files / zagar-0.2.0-cp312-cp312-manylinux_2_28_x86_64.whl
| Download URL | zagar-0.2.0-cp312-cp312-manylinux_2_28_x86_64.whl |
|---|---|
| Size | 300.3 kB |
| Tags | CPython 3.12 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
eaae8081c6574fd8283afb6183cafdd8e4c14361a552ee3a775f0ec3da0144f9
|
|
BLAKE2b-256 checksum How to use checksums |
6df59fe6ab616be764a3700537e67700be5c0bc37138efbfa9f6b159fbd2498b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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 Nov 13, 2026.
Transparency logRelease files / zagar-0.2.0-cp312-cp312-macosx_11_0_arm64.whl
| Download URL | zagar-0.2.0-cp312-cp312-macosx_11_0_arm64.whl |
|---|---|
| Size | 150.8 kB |
| Tags | CPython 3.12 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
9f2aa693fe8b257f0fa492b604ab12338f7ece503f36724bd621c8f1dc717a72
|
|
BLAKE2b-256 checksum How to use checksums |
a7e2f76f79c4449ac0f7a5eef4f5ce0612a1184c7bcdba23797f6b3b36894b63
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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 Nov 13, 2026.
Transparency logRelease files / zagar-0.2.0-cp311-cp311-win_amd64.whl
| Download URL | zagar-0.2.0-cp311-cp311-win_amd64.whl |
|---|---|
| Size | 172.8 kB |
| Tags | CPython 3.11 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
afb90ee8e0ca1b416ad7f83f267f12212d988a053b63b91ba3842257cc13b5d9
|
|
BLAKE2b-256 checksum How to use checksums |
44664788c6f9d4dd51c3eb86ddecdef4cc0f2d48abd31fc8e8300c94d7fb4566
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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 Nov 13, 2026.
Transparency logRelease files / zagar-0.2.0-cp311-cp311-manylinux_2_28_x86_64.whl
| Download URL | zagar-0.2.0-cp311-cp311-manylinux_2_28_x86_64.whl |
|---|---|
| Size | 300.4 kB |
| Tags | CPython 3.11 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
710677b4f79f1e257b9659490d3c71415f4fac0835be4035a83fe3e73ab4f83d
|
|
BLAKE2b-256 checksum How to use checksums |
3bed3ebe6b2bc512a0ca97b42af49dd978e3bd19ff7d8048ad8f0f4dfae87e94
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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 Nov 13, 2026.
Transparency logRelease files / zagar-0.2.0-cp311-cp311-macosx_11_0_arm64.whl
| Download URL | zagar-0.2.0-cp311-cp311-macosx_11_0_arm64.whl |
|---|---|
| Size | 150.5 kB |
| Tags | CPython 3.11 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
3d0ca198de5a59b212958e79bcacfb2d8e1f6cf814bfb2679915fd7925768c53
|
|
BLAKE2b-256 checksum How to use checksums |
1019ceb58e3fa0a359c1345571f0aa015419d1360ca8a9473f9ad8d56dbb333e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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 Nov 13, 2026.
Transparency logRelease files / zagar-0.2.0-cp310-cp310-win_amd64.whl
| Download URL | zagar-0.2.0-cp310-cp310-win_amd64.whl |
|---|---|
| Size | 172.1 kB |
| Tags | CPython 3.10 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
169ebebddb31a01e4ce0851c68dda5e7ea6b93974b9230c0d248bd640f7a5542
|
|
BLAKE2b-256 checksum How to use checksums |
7fa56708cad48e97c526a6639df9914325e271dd759fe9f059f2ab7e48aca55d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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 Nov 13, 2026.
Transparency logRelease files / zagar-0.2.0-cp310-cp310-manylinux_2_28_x86_64.whl
| Download URL | zagar-0.2.0-cp310-cp310-manylinux_2_28_x86_64.whl |
|---|---|
| Size | 299.0 kB |
| Tags | CPython 3.10 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
302651824d2f065c4aac6886767bf166028c513b5293fc295f290384f329d69a
|
|
BLAKE2b-256 checksum How to use checksums |
68035d96519f332b4537bff0e64da41272b1a088f406d4621045b617c4facda3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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 Nov 13, 2026.
Transparency logRelease files / zagar-0.2.0-cp310-cp310-macosx_11_0_arm64.whl
| Download URL | zagar-0.2.0-cp310-cp310-macosx_11_0_arm64.whl |
|---|---|
| Size | 149.4 kB |
| Tags | CPython 3.10 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
fd6d53d3befb33869ca35eda76c8d202ef530586d9d2f15484a30d975bf9f32a
|
|
BLAKE2b-256 checksum How to use checksums |
a6828865a5031fb6f47aa6e71b59d21aa035597ee8951583d9b528a80dde07bb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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 Nov 13, 2026.
Transparency logSecurity for zagar 0.2.0
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.
Full provenance
All 10 files in this release have been uploaded with provenance metadata.
Attestation for zagar-0.2.0.tar.gz
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 Nov 13, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.