TODO: How to write your own library in Python