# Import utils

from .utils import get_excel_filepaths_in_folder, convert_col_snake_case

from .names import (
    format_name,
    find_numbers_in_text,
    remove_numbers,
    create_full_name,
    remove_diacritics,
    remove_punctuation,
)

from .dates import reverse_date, calculate_dob_range_from_year_group

from .postcode import format_postcode

from .yeargroup import clean_year_group, calculate_year_group_from_date

from .matching import (
    perform_exact_match,
    perform_fuzzy_match,
    perform_school_age_range_fuzzy_match,
)

from .updates import get_updates, get_contextual_updates

from .duplicates import find_duplicates

def create_error_report(*args, **kwargs):
    from .validation import create_error_report
    return create_error_report(*args, **kwargs)

# Import *
__all__ = [
    "calculate_dob_range_from_year_group",
    "clean_year_group",
    "format_postcode",
    "get_excel_filepaths_in_folder",
    "format_name",
    "find_numbers_in_text",
    "remove_numbers",
    "reverse_date",
    "create_full_name",
    "remove_diacritics",
    "perform_exact_match",
    "calculate_year_group_from_date",
    "perform_fuzzy_match",
    "perform_school_age_range_fuzzy_match",
    "get_updates",
    "get_contextual_updates",
    "convert_col_snake_case",
    "find_duplicates",
    "remove_punctuation",
    "create_error_report"
]

# Version constant
__version__ = "0.1.0"
