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.2.tar.gz
(38.4 kB
view details)
Built Distribution
rdapy-1.0.2-py3-none-any.whl
(28.7 kB
view details)
File details
Details for the file rdapy-1.0.2.tar.gz
.
File metadata
- Download URL: rdapy-1.0.2.tar.gz
- Upload date:
- Size: 38.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6bb753e890d74f2320ec6715a64cac75c8ef3ecaa54bb66853b1b51849cb69b7 |
|
MD5 | 9ddd0249ff2c555eda8b34380acdd348 |
|
BLAKE2b-256 | 41229a0aa47cba19f27f4f465f97a01822edc1a839f8c9e11da9cab18e42a912 |
File details
Details for the file rdapy-1.0.2-py3-none-any.whl
.
File metadata
- Download URL: rdapy-1.0.2-py3-none-any.whl
- Upload date:
- Size: 28.7 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 | 6a0085da94c9ccb4319bed8c315ea0609e4f832e2033f570e23f63da665318c7 |
|
MD5 | 67c52f6833e563e22b8b50abda68ecf6 |
|
BLAKE2b-256 | 0a415174ba72f63045f3fe0ab518a3fe5a902e3e7dce5f62f49c52328c627554 |