Welcome to maup’s API documentation!

maup is the geospatial toolkit for redistricting data. The package streamlines the basic workflows that arise when working with blocks, precincts, and districts, such as

  • Assigning precincts to districts

  • Aggregating block data to precincts

  • Disaggregating data from precincts down to blocks

  • Prorating data when units do not nest neatly

  • Fixing topological issues, overlaps, and gaps

Quick help:

Installation

Install maup by running:

pip install maup

Contribute

All contributions are welcome! maup is licensed under the MIT license.

Indices and tables