Python implementation of https://github.com/stacksocial/code_tests/tree/master/fullstack