Initial commit: Document Translation API with Excel, Word, PowerPoint support
This commit is contained in:
20
utils/__init__.py
Normal file
20
utils/__init__.py
Normal 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'
|
||||
]
|
||||
Reference in New Issue
Block a user