Code for running 16 different metrics for measuring partisan gerrymandering, including:
- Mean-median difference and variant:
Mean-median difference
Equal vote weight
Lopsided margins (two-sample _t_-test on win margins)
Bootstrap (Monte Carlo) simulation
- Declination variants
Declination
Declination (buffered)
Declination variant
Declination variant (buffered)
- Efficiency gap variants
Efficiency gap
Difference gap
Loss gap
Surplus gap
Vote-centric gap
Vote-centric gap 2
Tau gap
Partisan bias
Metadata
Release files for gerrymetrics 0.1.3
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 |
|---|---|---|---|---|
| gerrymetrics-0.1.3.tar.gz | 10.4 kB | Without provenance | Details for gerrymetrics-0.1.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| gerrymetrics-0.1.3-py3-none-any.whl | Python 3 | none | any | Details for gerrymetrics-0.1.3-py3-none-any.whl |
Total release size: 20.6 kB
Release files / gerrymetrics-0.1.3.tar.gz
| Download URL | gerrymetrics-0.1.3.tar.gz |
|---|---|
| Size | 10.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ba2f5fd290ae1f94f725bfcdf7baacb58035df20c8482e40fc4bd28f16f8d464
|
|
BLAKE2b-256 checksum How to use checksums |
ab81bd74d9e286e6d61ebff0528f7d75f0f35e42a3d4237c50ebe98df929d29e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.2
|
Release files / gerrymetrics-0.1.3-py3-none-any.whl
| Download URL | gerrymetrics-0.1.3-py3-none-any.whl |
|---|---|
| Size | 10.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
82fb35dd72b6eb4fecc5456189158b8771752cd8365d273a9049ca5f70986505
|
|
BLAKE2b-256 checksum How to use checksums |
c8f4482ea6f2b3dc0edea0db959fa124726952b6eb2dc81cba836c3adebc87f2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.2
|
Security for gerrymetrics 0.1.3
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A 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.