<commit_before># Import intake to run driver discovery first and avoid circular import issues.
import intake
del intake

import warnings
import logging


logger = logging.getLogger(__name__)


from .v1 import Broker, Header, ALL, temp, temp_config
from .utils import (lookup_config, list_configs, describe_configs,
                    wrap_in_doct, DeprecatedDoct, wrap_in_deprecated_doct)

from .discovery import MergedCatalog, EntrypointsCatalog, V0Catalog

# A catalog created from discovered entrypoints and v0 catalogs.
catalog = MergedCatalog([EntrypointsCatalog(), V0Catalog()])

# set version string using versioneer
from ._version import get_versions
__version__ = get_versions()['version']
del get_versions


### Legacy imports ###<commit_msg>Include intake.cat. YAML is easier than entry_points.<commit_after># Import intake to run driver discovery first and avoid circular import issues.
import intake

import warnings
import logging


logger = logging.getLogger(__name__)


from .v1 import Broker, Header, ALL, temp, temp_config
from .utils import (lookup_config, list_configs, describe_configs,
                    wrap_in_doct, DeprecatedDoct, wrap_in_deprecated_doct)

from .discovery import MergedCatalog, EntrypointsCatalog, V0Catalog

# A catalog created from discovered entrypoints, v0, and intake YAML catalogs.
catalog = MergedCatalog([EntrypointsCatalog(), V0Catalog(), intake.cat])

# set version string using versioneer
from ._version import get_versions
__version__ = get_versions()['version']
del get_versions


### Legacy imports ###
{'fraction_non_alphanumeric': 0.07110826393337603, 'fraction_numerical': 0.005124919923126201, 'mean_word_length': 5.401639344262295, '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': '773675', 'n_tokens_mistral': 450, 'n_tokens_neox': 433, 'n_words': 153}