Skip to main content

Implementation of locality splitting metrics for political redistricing plans

Project description

Code for running metrics that quantify locality (e.g. county, community of interest) splitting in districting plans, including:

  • Geography-based
    • Number of localities split
    • Number of locality-district intersections
  • Population-based
    • Effective splits
    • Conditional entropy
    • Square root entropy
    • Split pairs

Options are provided to ignore zero-population regions and to calculate symmetric splitting scores.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

locality_splitting-0.2.1.tar.gz (5.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

locality_splitting-0.2.1-py3-none-any.whl (6.6 kB view details)

Uploaded Python 3

File details

Details for the file locality_splitting-0.2.1.tar.gz.

File metadata

  • Download URL: locality_splitting-0.2.1.tar.gz
  • Upload date:
  • Size: 5.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.8.10

File hashes

Hashes for locality_splitting-0.2.1.tar.gz
Algorithm Hash digest
SHA256 b5e87504c197e0df3da6e7c72ca3f8cfb27a2ac86e0842d6967f752e2f1d8bf0
MD5 7212f9140351eebb42c23e17c05cb2c4
BLAKE2b-256 bc2df7cd008536fa3e55f1cd2abbe1cb37e5473b742247076c0a82007a8a911f

See more details on using hashes here.

File details

Details for the file locality_splitting-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: locality_splitting-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 6.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.8.10

File hashes

Hashes for locality_splitting-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 070d16969190c24abd2941ad27f91d59711a15e949ea611c64da85fcca37c8f2
MD5 7179aea25e12f86be12cca8e030bc997
BLAKE2b-256 0e4e74a72ecb80421b0bc80196d489a8f9a56ae754865fe2f1d25f677e242f6b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page