The geospatial toolkit for redistricting data

maup

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

The project’s priorities are to be efficient by using spatial indices whenever
possible and to integrate well with the existing ecosystem around
pandas, geopandas and
shapely. The package is distributed
under the MIT License.

Installation

We recommend installing maup from conda-forge
using conda:

conda install -c conda-forge maup

You can get conda by installing
Miniconda, a free Python
distribution made especially for data science and scientific computing. You
might also consider Anaconda, which
includes many data science packages that you might find useful.

To install maup from PyPI, run pip install maup from your terminal.

Examples

Here are some basic situations

 

 

 

To finish reading, please visit source site