This repo holds the source code for the Districtr API. The API is written in Flask with a PostGIS database layer. We try to follow resource-oriented design principles.
We use pipenv to install PyPI packages.
We use the pytest unit test framework. Our goal is to have comprehensive test coverage.
We use flake8 to enforce code style, but we set max-line-length=88
.
We recommend the black source code formatter.