topos.py - pythonic ToPoS library