obelics/utils/__init__.py (24 lines of code) (raw):

from obelics.utils.filtering_utils import ( DIGITS_RE, FLAGGED_WORDS, NON_PRINTING_CHARACTERS_RE, PUNCTUATION, SPECIAL_CHARACTERS, STOPWORDS, UNICODE_PUNCTUATION, ) from obelics.utils.simplification_utils import ( TAG_TO_SEP, format_filename, format_image_size, format_relative_to_absolute_path, get_media_src, is_url_valid, simplify_media_node, ) from obelics.utils.tags_attributes import ( INTERESTING_TAGS_SET, MEDIA_CONTAIN_INTERESTING_ATTRIBUTES_SET, UNWRAP_TAGS, ) from obelics.utils.utils import make_selectolax_tree