Python framework for manipulating annotated data