<commit_before>API
===

.. py:module:: reg

.. autofunction:: dispatch

.. autofunction:: match_key

.. autofunction:: match_instance

.. autofunction:: match_argname

.. autofunction:: match_class

.. autoclass:: Lookup
   :members:

.. autoclass:: PredicateRegistry
   :members:

.. autoclass:: Predicate
   :members:

.. autoclass:: ClassIndex
   :members:

.. autoclass:: KeyIndex
   :members:

.. autofunction:: key_predicate

.. autofunction:: class_predicate

.. autoclass:: Registry
   :members:

.. autoclass:: CachingKeyLookup
   :members:

.. autoclass:: Lookup
   :members:

.. autoexception:: RegistrationError

.. autoexception:: KeyExtractorError

.. autofunction:: mapply

.. autofunction:: arginfo<commit_msg>Remove Registry from the main API.<commit_after>API
===

.. py:module:: reg

.. autofunction:: dispatch

.. autofunction:: match_key

.. autofunction:: match_instance

.. autofunction:: match_argname

.. autofunction:: match_class

.. autoclass:: Lookup
   :members:

.. autoclass:: PredicateRegistry
   :members:

.. autoclass:: Predicate
   :members:

.. autoclass:: ClassIndex
   :members:

.. autoclass:: KeyIndex
   :members:

.. autofunction:: key_predicate

.. autofunction:: class_predicate

.. autoclass:: CachingKeyLookup
   :members:

.. autoclass:: Lookup
   :members:

.. autoexception:: RegistrationError

.. autoexception:: KeyExtractorError

.. autofunction:: mapply

.. autofunction:: arginfo
{'fraction_non_alphanumeric': 0.14006968641114984, 'fraction_numerical': 0.0, 'mean_word_length': 3.7392739273927393, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6361469', 'n_tokens_mistral': 477, 'n_tokens_neox': 457, 'n_words': 99}