Titus beacon python class