pyext/src/representation.py