Redistricting analytics in Python
Project description
rdapy
Redistricting analytics in Python
These are the main analytics used in Dave's Redistricting, ignoring a few DRA-specific aspects (in particular, the five [0-100] ratings). Unlike the analytics in the app (dra-analytics) which are implememented in TypeScript, these are implemented in Python.
Categories
The analytics are organized by area:
- Compactness: Various measures of compactness
- Equal: Population deviation
- Graph: Checks for contiguity & embeddedness
- Partisan: Various measures of partisan bias & responsiveness, as well as support for rank-vote graphs and seats-votes curves
- Splitting: County- & district-splitting and COI splitting
Installation
Use pip to install the package:
pip install rdapy
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
rdapy-1.0.1.tar.gz
(38.3 kB
view details)
Built Distribution
rdapy-1.0.1-py3-none-any.whl
(32.8 kB
view details)
File details
Details for the file rdapy-1.0.1.tar.gz
.
File metadata
- Download URL: rdapy-1.0.1.tar.gz
- Upload date:
- Size: 38.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9109d5e9b4bd41de74ebd19fdc95e4168df61830f4ffce8f639f5992563325f5 |
|
MD5 | 4700eaa2ca6935db6766a2401dff6737 |
|
BLAKE2b-256 | 32d268134da326dfe2e8bbb2e21da1b0f23b2c4846013fb35303fba128b733db |
File details
Details for the file rdapy-1.0.1-py3-none-any.whl
.
File metadata
- Download URL: rdapy-1.0.1-py3-none-any.whl
- Upload date:
- Size: 32.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7c45d7c10c6bac08b87e94dcc24938b1a4b1df45d0971c287d67905d13a088ad |
|
MD5 | d84ee1ed0175b64ab693ead3ff4259c6 |
|
BLAKE2b-256 | d26a5409a320ff143f175d394945d7ee2aef76979b195dcb56788ed570dd3961 |