lattifai 0.4.0__py3-none-any.whl → 0.4.2__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- lattifai/bin/agent.py +4 -3
- lattifai/io/reader.py +4 -1
- lattifai/io/text_parser.py +75 -0
- lattifai/tokenizer/tokenizer.py +10 -1
- lattifai/workflows/__init__.py +34 -0
- lattifai/workflows/agents.py +10 -0
- lattifai/workflows/base.py +192 -0
- lattifai/workflows/file_manager.py +812 -0
- lattifai/workflows/gemini.py +159 -0
- lattifai/workflows/youtube.py +931 -0
- {lattifai-0.4.0.dist-info → lattifai-0.4.2.dist-info}/METADATA +6 -7
- {lattifai-0.4.0.dist-info → lattifai-0.4.2.dist-info}/RECORD +16 -9
- {lattifai-0.4.0.dist-info → lattifai-0.4.2.dist-info}/top_level.txt +0 -1
- {lattifai-0.4.0.dist-info → lattifai-0.4.2.dist-info}/WHEEL +0 -0
- {lattifai-0.4.0.dist-info → lattifai-0.4.2.dist-info}/entry_points.txt +0 -0
- {lattifai-0.4.0.dist-info → lattifai-0.4.2.dist-info}/licenses/LICENSE +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: lattifai
|
|
3
|
-
Version: 0.4.
|
|
3
|
+
Version: 0.4.2
|
|
4
4
|
Summary: Lattifai Python SDK: Seamless Integration with Lattifai's Speech and Video AI Services
|
|
5
5
|
Author-email: Lattifai Technologies <tech@lattifai.com>
|
|
6
6
|
Maintainer-email: Lattice <tech@lattifai.com>
|
|
@@ -40,7 +40,6 @@ Classifier: Programming Language :: Python :: 3.10
|
|
|
40
40
|
Classifier: Programming Language :: Python :: 3.11
|
|
41
41
|
Classifier: Programming Language :: Python :: 3.12
|
|
42
42
|
Classifier: Programming Language :: Python :: 3.13
|
|
43
|
-
Classifier: Programming Language :: Python :: 3.14
|
|
44
43
|
Classifier: Operating System :: MacOS :: MacOS X
|
|
45
44
|
Classifier: Operating System :: POSIX :: Linux
|
|
46
45
|
Classifier: Operating System :: Microsoft :: Windows
|
|
@@ -135,16 +134,15 @@ The library provides two equivalent commands: `lai` (recommended for convenience
|
|
|
135
134
|
```bash
|
|
136
135
|
# Align audio with subtitle (using lai command)
|
|
137
136
|
lai align audio.wav subtitle.srt output.srt
|
|
138
|
-
|
|
139
137
|
# Or use the full command
|
|
140
138
|
lattifai align audio.wav subtitle.srt output.srt
|
|
141
139
|
|
|
142
|
-
# Process YouTube videos with intelligent workflow
|
|
143
|
-
lai agent --youtube https://www.youtube.com/watch?v=VIDEO_ID
|
|
144
|
-
|
|
145
140
|
# Download and align YouTube content directly
|
|
146
141
|
lai youtube https://www.youtube.com/watch?v=VIDEO_ID
|
|
147
142
|
|
|
143
|
+
# Process YouTube videos with intelligent workflow (equivalent to lai youtube)
|
|
144
|
+
lai agent --youtube https://www.youtube.com/watch?v=VIDEO_ID
|
|
145
|
+
|
|
148
146
|
# Convert subtitle format
|
|
149
147
|
lai subtitle convert input.srt output.vtt
|
|
150
148
|
```
|
|
@@ -261,7 +259,8 @@ Options:
|
|
|
261
259
|
```
|
|
262
260
|
|
|
263
261
|
**When to use `lai agent` vs `lai youtube`**:
|
|
264
|
-
-
|
|
262
|
+
- Both `lai agent --youtube URL` and `lai youtube URL` provide the same core functionality for downloading and aligning YouTube content
|
|
263
|
+
- **Use `lai agent --youtube`**: For production workflows, batch processing, advanced error handling, and when you need retry logic
|
|
265
264
|
- **Use `lai youtube`**: For quick one-off downloads and alignment with minimal overhead
|
|
266
265
|
|
|
267
266
|
#### Understanding --split_sentence
|
|
@@ -4,25 +4,32 @@ lattifai/client.py,sha256=WewbRnfI8b_rQ8V2JG3y2ojkiyEWylXI7No_4NpbzEI,13282
|
|
|
4
4
|
lattifai/errors.py,sha256=5i_acoly1g-TLAID8QnhzQshwOXfgLL55mHsdwzlNGA,10814
|
|
5
5
|
lattifai/utils.py,sha256=CzVwNc08u8lm7XavCMJskXHfni0xsZ-EgpcMkRywVm8,4736
|
|
6
6
|
lattifai/bin/__init__.py,sha256=QWbmVUbzqwPQNeOV_g-bOsz53w37v-tbZ3uFrSj-7Mg,90
|
|
7
|
-
lattifai/bin/agent.py,sha256=
|
|
7
|
+
lattifai/bin/agent.py,sha256=daXsg0PsW4HS53PYw-r6fSSDsoe9XHOIVEzz-djjKto,9935
|
|
8
8
|
lattifai/bin/align.py,sha256=Tpu2OWBXBYUqzBt1Qu6HmkVZ8Bpx6mc0O9KItDimoCc,8377
|
|
9
9
|
lattifai/bin/cli_base.py,sha256=i4KQDyUPJFKae_wjuQeB4N2Vhg9vZ6yc6L9YUJLC18I,507
|
|
10
10
|
lattifai/bin/subtitle.py,sha256=UZMPh71O2X1UwbfZ9VWlhzxkz78viz8KWwoVsDpewK0,6577
|
|
11
11
|
lattifai/io/__init__.py,sha256=mGnQkGm6BClRcogRK3J1nJJfPOk5z4o0sZI2nnyJVOU,1087
|
|
12
12
|
lattifai/io/gemini_reader.py,sha256=WDZA93MSrUAsa5j-ZDXLdPXzEIoREymEy-rMAED_6f4,15152
|
|
13
13
|
lattifai/io/gemini_writer.py,sha256=rlXO9zx6kQhqTi9K9izE69-8S-2GPOIiJHPwZyebpiM,6515
|
|
14
|
-
lattifai/io/reader.py,sha256=
|
|
14
|
+
lattifai/io/reader.py,sha256=h4T8dveLHXqSonma0J50iyjqkxH26tujeoPbnLx05nA,3333
|
|
15
15
|
lattifai/io/supervision.py,sha256=iBDRiDJ0hddo__SoEZau2cdEIBFnXZNLgSWFjtJd-lM,871
|
|
16
|
+
lattifai/io/text_parser.py,sha256=LQHgcEYXaSdhwUo9rP6P_31Z6RMv_BTP1YSKzXji4bk,2386
|
|
16
17
|
lattifai/io/utils.py,sha256=4drRwcM1n7AYhdJcF51EZxMTy_Ut_1GKtdWpRhPuVmg,686
|
|
17
18
|
lattifai/io/writer.py,sha256=8n9ZBuXuVOCFwzr1hqrnXpZ-fARTsepebwjKgRuueWE,3872
|
|
18
19
|
lattifai/tokenizer/__init__.py,sha256=y-FyfO7tLga9b46pkCC6jdSBKOFZS-jFfHcqUieGEyU,120
|
|
19
20
|
lattifai/tokenizer/phonemizer.py,sha256=SfRi1KIMpmaao6OVmR1h_I_3QU-vrE6D5bh72Afg5XM,1759
|
|
20
|
-
lattifai/tokenizer/tokenizer.py,sha256=
|
|
21
|
+
lattifai/tokenizer/tokenizer.py,sha256=6XlHehhwahVWgUMj79LqMs13xaRTa17beOZqico4vLE,19186
|
|
21
22
|
lattifai/workers/__init__.py,sha256=s6YfkIq4FDIAzY9sPjRpXnJfszj2repqnMTqydRM5Zw,83
|
|
22
23
|
lattifai/workers/lattice1_alpha.py,sha256=1lCq0-bgWMXvYslAbCTFgHC0p6UWPto1y0wkTw9WrmQ,10177
|
|
23
|
-
lattifai
|
|
24
|
-
lattifai
|
|
25
|
-
lattifai
|
|
26
|
-
lattifai
|
|
27
|
-
lattifai
|
|
28
|
-
lattifai
|
|
24
|
+
lattifai/workflows/__init__.py,sha256=mTOdwQQs2YY1s0JsVGsATb2TWPhpNo7bRiAAJW92740,830
|
|
25
|
+
lattifai/workflows/agents.py,sha256=ZnxyEb-Li8gQw3Z7V3K7jjnT7sQAtG1uCFuXGX77IcE,227
|
|
26
|
+
lattifai/workflows/base.py,sha256=ZSePq2O2hB59K5CMbk_iGiOM9FSHOVQdG3t8Oyz9gwE,6264
|
|
27
|
+
lattifai/workflows/file_manager.py,sha256=5km59cB4s9PcJgMMqZ6YqRY8sTqvTzd1qyQ2T5bHlfI,31985
|
|
28
|
+
lattifai/workflows/gemini.py,sha256=zxLYqRolTUiUV3fj32sH91a_nCYUe7HtTxNKhlueZyI,5827
|
|
29
|
+
lattifai/workflows/youtube.py,sha256=y1ez32G40CtHAo7Kz7J_DO96ljOwW-3SP9Sm2uPe5hY,38785
|
|
30
|
+
lattifai-0.4.2.dist-info/licenses/LICENSE,sha256=LNuoH5jpXXNKgjQ3XLwztFq8D3O7kZI-LSg81o4ym2M,1065
|
|
31
|
+
lattifai-0.4.2.dist-info/METADATA,sha256=LDwKsTMhAz6UBwbgAG0tkBg74W2kXttiwGvLHGlO128,26719
|
|
32
|
+
lattifai-0.4.2.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
33
|
+
lattifai-0.4.2.dist-info/entry_points.txt,sha256=fCgo8-LKA_9C7_jmEGsZPJko0woXHtEh0iRbpO7PYzI,69
|
|
34
|
+
lattifai-0.4.2.dist-info/top_level.txt,sha256=tHSoXF26r-IGfbIP_JoYATqbmf14h5NrnNJGH4j5reI,9
|
|
35
|
+
lattifai-0.4.2.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|