todotxt impl in python