skbio.util.register_aliases#

skbio.util.register_aliases(cls)[source]#

Register aliases of members of a module or class.

See also

aliased

Notes

This function may serve as a decorator applied to a class to register aliases for its member methods:

@register_aliases
class MyClass():

Alternatively, this function may be called at the end of a module to register aliases for its member functions.

register_aliases(sys.modules[__name__])