A legal case management system in python