Finance tools in Python