subgapfix 0.0.1__py3-none-any.whl → 0.0.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.
- {subgapfix-0.0.1.dist-info → subgapfix-0.0.2.dist-info}/METADATA +8 -14
- subgapfix-0.0.2.dist-info/RECORD +7 -0
- subgapfix-0.0.1.dist-info/RECORD +0 -7
- {subgapfix-0.0.1.dist-info → subgapfix-0.0.2.dist-info}/WHEEL +0 -0
- {subgapfix-0.0.1.dist-info → subgapfix-0.0.2.dist-info}/entry_points.txt +0 -0
- {subgapfix-0.0.1.dist-info → subgapfix-0.0.2.dist-info}/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: subgapfix
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.2
|
|
4
4
|
Summary: A small CLI tool to extend subtitle durations in SRT files by redefining gaps between subtitles.
|
|
5
5
|
Author-email: Reinder Sinnema <reinder@w3bunker.com>
|
|
6
6
|
License: MIT
|
|
@@ -21,15 +21,13 @@ Designed especially for subtitles generated by [WhisperX](https://github.com/m-b
|
|
|
21
21
|
|
|
22
22
|
## 📦 Installation
|
|
23
23
|
|
|
24
|
-
|
|
24
|
+
Install from PyPI:
|
|
25
25
|
|
|
26
26
|
```bash
|
|
27
|
-
|
|
28
|
-
cd subgapfix
|
|
29
|
-
pip install -r requirements.txt
|
|
27
|
+
pip install subgapfix
|
|
30
28
|
````
|
|
31
29
|
|
|
32
|
-
Dependencies:
|
|
30
|
+
Dependencies used:
|
|
33
31
|
|
|
34
32
|
* [`srt`](https://pypi.org/project/srt/)
|
|
35
33
|
|
|
@@ -38,7 +36,7 @@ Dependencies:
|
|
|
38
36
|
Basic usage:
|
|
39
37
|
|
|
40
38
|
```bash
|
|
41
|
-
|
|
39
|
+
subgapfix input.srt -o easyreading.srt
|
|
42
40
|
```
|
|
43
41
|
|
|
44
42
|
### Options
|
|
@@ -53,7 +51,7 @@ python subgapfix.py input.srt -o easyreading.srt
|
|
|
53
51
|
|
|
54
52
|
### How It Works
|
|
55
53
|
|
|
56
|
-
The script reads your `.srt` file, loops through each pair of consecutive subtitles, and
|
|
54
|
+
The script reads your `.srt` file, loops through each pair of consecutive subtitles, and lengthens their timings (if applicable) to make them easier to read.
|
|
57
55
|
|
|
58
56
|
### Example
|
|
59
57
|
|
|
@@ -72,7 +70,7 @@ How are you?
|
|
|
72
70
|
Run:
|
|
73
71
|
|
|
74
72
|
```bash
|
|
75
|
-
|
|
73
|
+
subgapfix input.srt -o easyreading.srt
|
|
76
74
|
```
|
|
77
75
|
|
|
78
76
|
Output:
|
|
@@ -90,8 +88,4 @@ How are you?
|
|
|
90
88
|
## 💡 Why?
|
|
91
89
|
|
|
92
90
|
Tools like WhisperX produce accurate subtitles, but their timings are often too **tight** for comfortable reading.
|
|
93
|
-
`
|
|
94
|
-
|
|
95
|
-
## 🛠 Roadmap
|
|
96
|
-
|
|
97
|
-
* Package for PyPI (`pip install subgapfix`)
|
|
91
|
+
`subgapfix` helps subtitles stay visible longer while keeping synchronization intact.
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
subgapfix/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
2
|
+
subgapfix/subgapfix.py,sha256=tDDn4cqL-jw9KfPK4tkVaxBLVh_ZZ53xWCwi6PWTbDo,2254
|
|
3
|
+
subgapfix-0.0.2.dist-info/METADATA,sha256=C0B7C_vEXjkdh8-dP5kYqCCI9Y_XEEzS6k56HdU1Wyg,2459
|
|
4
|
+
subgapfix-0.0.2.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
5
|
+
subgapfix-0.0.2.dist-info/entry_points.txt,sha256=2ln9RkMCsMtg0kFARJgoY7JKxBR4cEzxj4s-bKGCVUw,55
|
|
6
|
+
subgapfix-0.0.2.dist-info/top_level.txt,sha256=1Kmf1LI51trmbRihayDZRnKSCfEQDR7jSyBELfkwTa8,10
|
|
7
|
+
subgapfix-0.0.2.dist-info/RECORD,,
|
subgapfix-0.0.1.dist-info/RECORD
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
subgapfix/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
2
|
-
subgapfix/subgapfix.py,sha256=tDDn4cqL-jw9KfPK4tkVaxBLVh_ZZ53xWCwi6PWTbDo,2254
|
|
3
|
-
subgapfix-0.0.1.dist-info/METADATA,sha256=Tqyy5R3_mDF0CXqRAXsfkpp_x_t5uxk6BT1EqRruLRc,2620
|
|
4
|
-
subgapfix-0.0.1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
5
|
-
subgapfix-0.0.1.dist-info/entry_points.txt,sha256=2ln9RkMCsMtg0kFARJgoY7JKxBR4cEzxj4s-bKGCVUw,55
|
|
6
|
-
subgapfix-0.0.1.dist-info/top_level.txt,sha256=1Kmf1LI51trmbRihayDZRnKSCfEQDR7jSyBELfkwTa8,10
|
|
7
|
-
subgapfix-0.0.1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|