A tnetstring encoder/decoder with a pythonic interface for C++