Python Project Structure Using Function Sql Syntax