Very often, I find myself coding trivial datatypes like
class Pruefer: def __init__(self, ident, maxNum=float(\'inf\')
if using Python 3.7 you can use Data Classes; Data Classes can be thought of as "mutable namedtuples with defaults"
https://docs.python.org/3/library/dataclasses.html
https://www.python.org/dev/peps/pep-0557/