pyenca is a Python extension module providing an interface to libenca, a library for detection of encoding of East- and Central European texts.