Coverage for integrations / channels / media / __init__.py: 100.0%

8 statements  

« prev     ^ index     » next       coverage.py v7.14.0, created at 2026-05-12 04:49 +0000

1""" 

2Media Processing Module for Multi-Channel Messaging. 

3 

4Provides unified media handling for: 

5- Vision/Image analysis (vision.py) 

6- Audio transcription (audio.py) 

7- Text-to-Speech synthesis (tts.py) 

8- Image generation (image_gen.py) 

9- Link processing (links.py) 

10- File management (files.py) 

11- Media limits (limits.py) 

12""" 

13 

14# Vision Processing 

15from .vision import ( 

16 VisionProvider, 

17 VisionProcessor, 

18 ImageAnalysis, 

19 DetectedObject, 

20 BoundingBox, 

21 OCRResult, 

22) 

23 

24# Audio Processing (Speech-to-Text) 

25from .audio import ( 

26 AudioProvider, 

27 AudioProcessor, 

28 TranscriptionResult, 

29 TranscriptionSegment, 

30 TranscriptionWord, 

31 LanguageDetection, 

32) 

33 

34# Text-to-Speech 

35from .tts import ( 

36 TTSProvider, 

37 TTSEngine, 

38 VoiceInfo, 

39 SynthesisResult, 

40 SSMLConfig, 

41 AudioFormat, 

42) 

43 

44# Image Generation 

45from .image_gen import ( 

46 ImageProvider, 

47 ImageGenerator, 

48 ImageSize, 

49 ImageStyle, 

50 GeneratedImage, 

51 EditResult, 

52 VariationResult, 

53) 

54 

55# Link Processing 

56from .links import ( 

57 LinkType, 

58 LinkProcessor, 

59 LinkPreview, 

60 LinkSummary, 

61 FetchedContent, 

62 DetectedLink, 

63 OpenGraphData, 

64) 

65 

66# File Management 

67from .files import ( 

68 FileStatus, 

69 StorageBackend, 

70 FileManager, 

71 FileInfo, 

72 DownloadResult, 

73 UploadResult, 

74) 

75 

76# Media Limits 

77from .limits import ( 

78 MediaType, 

79 MediaLimits, 

80 MediaLimiter, 

81 LimitCheckResult, 

82) 

83 

84__all__ = [ 

85 # Vision 

86 "VisionProvider", 

87 "VisionProcessor", 

88 "ImageAnalysis", 

89 "DetectedObject", 

90 "BoundingBox", 

91 "OCRResult", 

92 # Audio (STT) 

93 "AudioProvider", 

94 "AudioProcessor", 

95 "TranscriptionResult", 

96 "TranscriptionSegment", 

97 "TranscriptionWord", 

98 "LanguageDetection", 

99 # TTS 

100 "TTSProvider", 

101 "TTSEngine", 

102 "VoiceInfo", 

103 "SynthesisResult", 

104 "SSMLConfig", 

105 "AudioFormat", 

106 # Image Generation 

107 "ImageProvider", 

108 "ImageGenerator", 

109 "ImageSize", 

110 "ImageStyle", 

111 "GeneratedImage", 

112 "EditResult", 

113 "VariationResult", 

114 # Links 

115 "LinkType", 

116 "LinkProcessor", 

117 "LinkPreview", 

118 "LinkSummary", 

119 "FetchedContent", 

120 "DetectedLink", 

121 "OpenGraphData", 

122 # Files 

123 "FileStatus", 

124 "StorageBackend", 

125 "FileManager", 

126 "FileInfo", 

127 "DownloadResult", 

128 "UploadResult", 

129 # Limits 

130 "MediaType", 

131 "MediaLimits", 

132 "MediaLimiter", 

133 "LimitCheckResult", 

134]