libdistrict is a free open source metrics library created to help developers, researchers, and policy-makers evaluate district plans. This library is developed with input from PlanScore and Azavea.
Read the contribution guidlines for libdistrict.
libdistrict is a Python 3 library. The library is not currently available on PyPI.
- Clone the libdistrict git repository
git clone https://github.com/PlanScore/libdistrict.git
- Build Wheel
python3 setup.py bdist_wheel
- Install libdistrict
pip install <wheel_name>.whl
- Use the metrics in your project