Initial commit: Document Translation API with Excel, Word, PowerPoint support

This commit is contained in:
2025-11-30 10:48:58 +01:00
commit 793d94c93e
41 changed files with 3617 additions and 0 deletions

20
utils/__init__.py Normal file
View File

@@ -0,0 +1,20 @@
"""Utils package initialization"""
from .file_handler import FileHandler, file_handler
from .exceptions import (
TranslationError,
UnsupportedFileTypeError,
FileSizeLimitExceededError,
LanguageNotSupportedError,
DocumentProcessingError,
handle_translation_error
)
__all__ = [
'FileHandler', 'file_handler',
'TranslationError',
'UnsupportedFileTypeError',
'FileSizeLimitExceededError',
'LanguageNotSupportedError',
'DocumentProcessingError',
'handle_translation_error'
]