The data layer, written in Python on the Django framework