A Python text encoder and decoder.