Core

class natch.core.Decoration[source]
classmethod make_rule_decorator(rule_cls)[source]
class natch.core.Registry(*args, **kwargs)[source]
del_hasher()[source]
del_index()[source]
get_hasher()[source]
get_index()[source]
hasher
index
lookup(func, *args, **kwargs)[source]
register(func, rule)[source]

Register a virtual subclass of an ABC.

Returns the subclass, to allow usage as a class decorator.

set_hasher(hasher)[source]
set_index(index)[source]
unregister(func, rule)[source]