dynamicmethod (pypi): An instance method decorator that also works as a classmethod.
Keywords: staticmethod|classmethod|instance|dynamic|class_instance_method