Quickly create flexible Python decorators