File size: 896 Bytes
94ecb74
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
"""

🛠️ Utilities Package for Course Creator AI

"""

from .config import Config

from .helpers import (
    generate_id, clean_text, truncate_text, extract_keywords,
    format_duration, estimate_reading_time, safe_json_loads,
    safe_json_dumps, merge_dicts, flatten_list, chunk_list,
    deduplicate_list, validate_email, sanitize_filename,
    calculate_similarity, format_file_size, Timer, RateLimiter
    
)

__all__ = [
    "Config",
    # Helper functions
    "generate_id",
    "clean_text",
    "truncate_text",
    "extract_keywords",
    "format_duration",
    "estimate_reading_time",
    "safe_json_loads",
    "safe_json_dumps",
    "merge_dicts",
    "flatten_list",
    "chunk_list",
    "deduplicate_list",
    "validate_email",
    "sanitize_filename",
    "calculate_similarity",
    "format_file_size",
    "Timer",
    "RateLimiter"
]