I thought it would be fun to try to rewrite osmium in python