mirror of
https://github.com/shadoll/moma.git
synced 2026-08-28 19:43:28 +00:00
- Implemented RenameService for handling file renaming with features like name validation, proposed name generation, conflict detection, and atomic rename operations. - Created utility modules for language code extraction, regex pattern matching, and frame class matching to centralize common functionalities. - Added comprehensive logging for error handling and debugging across all new modules.
22 lines
689 B
Python
22 lines
689 B
Python
"""Utils package - shared utility functions for the Renamer application.
|
|
|
|
This package contains utility modules that provide common functionality
|
|
used across multiple parts of the application. This eliminates code
|
|
duplication and provides a single source of truth for shared logic.
|
|
|
|
Modules:
|
|
- language_utils: Language code extraction and conversion
|
|
- pattern_utils: Regex pattern matching and extraction
|
|
- frame_utils: Frame class/aspect ratio matching
|
|
"""
|
|
|
|
from .language_utils import LanguageCodeExtractor
|
|
from .pattern_utils import PatternExtractor
|
|
from .frame_utils import FrameClassMatcher
|
|
|
|
__all__ = [
|
|
'LanguageCodeExtractor',
|
|
'PatternExtractor',
|
|
'FrameClassMatcher',
|
|
]
|