treex is a Python library for manipulating rooted trees. The trees can be ordered or not, with or without labels on their vertices.