scribe-cli 0.12.2__tar.gz → 0.12.4__tar.gz
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.
- {scribe_cli-0.12.2/scribe_cli.egg-info → scribe_cli-0.12.4}/PKG-INFO +6 -4
- {scribe_cli-0.12.2 → scribe_cli-0.12.4}/README.md +5 -3
- {scribe_cli-0.12.2 → scribe_cli-0.12.4}/scribe/_version.py +9 -4
- {scribe_cli-0.12.2 → scribe_cli-0.12.4}/scribe/app.py +1 -1
- {scribe_cli-0.12.2 → scribe_cli-0.12.4/scribe_cli.egg-info}/PKG-INFO +6 -4
- {scribe_cli-0.12.2 → scribe_cli-0.12.4}/.github/workflows/pypi.yml +0 -0
- {scribe_cli-0.12.2 → scribe_cli-0.12.4}/.gitignore +0 -0
- {scribe_cli-0.12.2 → scribe_cli-0.12.4}/LICENSE +0 -0
- {scribe_cli-0.12.2 → scribe_cli-0.12.4}/icon.xcf +0 -0
- {scribe_cli-0.12.2 → scribe_cli-0.12.4}/pyproject.toml +0 -0
- {scribe_cli-0.12.2 → scribe_cli-0.12.4}/scribe/__init__.py +0 -0
- {scribe_cli-0.12.2 → scribe_cli-0.12.4}/scribe/audio.py +0 -0
- {scribe_cli-0.12.2 → scribe_cli-0.12.4}/scribe/install_desktop.py +0 -0
- {scribe_cli-0.12.2 → scribe_cli-0.12.4}/scribe/keyboard.py +0 -0
- {scribe_cli-0.12.2 → scribe_cli-0.12.4}/scribe/models.py +0 -0
- {scribe_cli-0.12.2 → scribe_cli-0.12.4}/scribe/models.toml +0 -0
- {scribe_cli-0.12.2 → scribe_cli-0.12.4}/scribe/saverecording.py +0 -0
- {scribe_cli-0.12.2 → scribe_cli-0.12.4}/scribe/testpynput.py +0 -0
- {scribe_cli-0.12.2 → scribe_cli-0.12.4}/scribe/util.py +0 -0
- {scribe_cli-0.12.2 → scribe_cli-0.12.4}/scribe_cli.egg-info/SOURCES.txt +0 -0
- {scribe_cli-0.12.2 → scribe_cli-0.12.4}/scribe_cli.egg-info/dependency_links.txt +0 -0
- {scribe_cli-0.12.2 → scribe_cli-0.12.4}/scribe_cli.egg-info/entry_points.txt +0 -0
- {scribe_cli-0.12.2 → scribe_cli-0.12.4}/scribe_cli.egg-info/requires.txt +0 -0
- {scribe_cli-0.12.2 → scribe_cli-0.12.4}/scribe_cli.egg-info/top_level.txt +0 -0
- {scribe_cli-0.12.2 → scribe_cli-0.12.4}/scribe_data/__init__.py +0 -0
- {scribe_cli-0.12.2 → scribe_cli-0.12.4}/scribe_data/share/icon.png +0 -0
- {scribe_cli-0.12.2 → scribe_cli-0.12.4}/scribe_data/share/icon_recording.png +0 -0
- {scribe_cli-0.12.2 → scribe_cli-0.12.4}/scribe_data/share/icon_writing.png +0 -0
- {scribe_cli-0.12.2 → scribe_cli-0.12.4}/scribe_data/templates/scribe.desktop +0 -0
- {scribe_cli-0.12.2 → scribe_cli-0.12.4}/scripts/test_python_versions_install.sh +0 -0
- {scribe_cli-0.12.2 → scribe_cli-0.12.4}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.2
|
|
2
2
|
Name: scribe-cli
|
|
3
|
-
Version: 0.12.
|
|
3
|
+
Version: 0.12.4
|
|
4
4
|
Summary: scribe is a local speech recognition tool that provides real-time transcription using vosk and whisper AI, with the goal of serving as a virtual keyboard on a computer
|
|
5
5
|
Author-email: Mahé Perrette <mahe.perrette@gmail.com>
|
|
6
6
|
License: MIT License
|
|
@@ -73,7 +73,7 @@ Requires-Dist: pystray; extra == "all"
|
|
|
73
73
|
[](https://pypi.org/project/scribe-cli)
|
|
74
74
|

|
|
75
75
|
|
|
76
|
-
# Scribe <img src="
|
|
76
|
+
# Scribe <img src="https://github.com/perrette/bard/raw/main/bard_data/share/icon.png" width=48px>
|
|
77
77
|
|
|
78
78
|
`scribe` is a speech recognition tool that provides real-time transcription using cutting-edge AI models, with the goal of serving as a virtual keyboard on a computer.
|
|
79
79
|
|
|
@@ -103,6 +103,8 @@ Install PortAudio library (required by `sounddevice`) and xclip library (require
|
|
|
103
103
|
sudo apt-get install portaudio19-dev xclip
|
|
104
104
|
```
|
|
105
105
|
|
|
106
|
+
(`portaudio19-dev` becomes `portaudio ` with homebrew)
|
|
107
|
+
|
|
106
108
|
See additional requirements for the [icon tray](#system-tray-icon-experimental-) and [keyboard](#virtual-keyboard-experimental) options. The python dependencies should be dealt with automatically:
|
|
107
109
|
|
|
108
110
|
```bash
|
|
@@ -134,6 +136,7 @@ pip install openai-whisper # FAILS IN PYTHON 3.13 on Ubuntu
|
|
|
134
136
|
# PortAUDIO (sounddevice)
|
|
135
137
|
pip install sounddevice # automatically installed as required dependency
|
|
136
138
|
sudo apt-get install portaudio19-dev
|
|
139
|
+
# MAC OS: brew install portaudio
|
|
137
140
|
|
|
138
141
|
# clipboard
|
|
139
142
|
pip install pyperclip # automatically installed as required dependency
|
|
@@ -143,7 +146,6 @@ sudo apt-get install xclip
|
|
|
143
146
|
pip install pynput
|
|
144
147
|
|
|
145
148
|
# app mode
|
|
146
|
-
# Uncommand the line below for Ubuntu !
|
|
147
149
|
sudo apt install libcairo-dev libgirepository1.0-dev gir1.2-appindicator3-0.1 # Ubuntu ONLY (not needed on MacOS)
|
|
148
150
|
pip install PyGObject # Ubuntu ONLY (not needed on MacOS)
|
|
149
151
|
pip install pystray
|
|
@@ -231,7 +233,7 @@ sudo HOME=$HOME XDG_RUNTIME_DIR=$XDG_RUNTIME_DIR PYNPUT_BACKEND_KEYBOARD=uinput
|
|
|
231
233
|
```
|
|
232
234
|
You're on the right path :)
|
|
233
235
|
|
|
234
|
-
## System tray icon (experimental) <img src="
|
|
236
|
+
## System tray icon (experimental) <img src="https://github.com/perrette/bard/raw/main/bard_data/share/icon.png" width=48px>
|
|
235
237
|
|
|
236
238
|
<img src=https://github.com/user-attachments/assets/4c97f4b1-1a65-4d49-9f5a-a9f4287cfa5a width=300px>
|
|
237
239
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
[](https://pypi.org/project/scribe-cli)
|
|
2
2
|

|
|
3
3
|
|
|
4
|
-
# Scribe <img src="
|
|
4
|
+
# Scribe <img src="https://github.com/perrette/bard/raw/main/bard_data/share/icon.png" width=48px>
|
|
5
5
|
|
|
6
6
|
`scribe` is a speech recognition tool that provides real-time transcription using cutting-edge AI models, with the goal of serving as a virtual keyboard on a computer.
|
|
7
7
|
|
|
@@ -31,6 +31,8 @@ Install PortAudio library (required by `sounddevice`) and xclip library (require
|
|
|
31
31
|
sudo apt-get install portaudio19-dev xclip
|
|
32
32
|
```
|
|
33
33
|
|
|
34
|
+
(`portaudio19-dev` becomes `portaudio ` with homebrew)
|
|
35
|
+
|
|
34
36
|
See additional requirements for the [icon tray](#system-tray-icon-experimental-) and [keyboard](#virtual-keyboard-experimental) options. The python dependencies should be dealt with automatically:
|
|
35
37
|
|
|
36
38
|
```bash
|
|
@@ -62,6 +64,7 @@ pip install openai-whisper # FAILS IN PYTHON 3.13 on Ubuntu
|
|
|
62
64
|
# PortAUDIO (sounddevice)
|
|
63
65
|
pip install sounddevice # automatically installed as required dependency
|
|
64
66
|
sudo apt-get install portaudio19-dev
|
|
67
|
+
# MAC OS: brew install portaudio
|
|
65
68
|
|
|
66
69
|
# clipboard
|
|
67
70
|
pip install pyperclip # automatically installed as required dependency
|
|
@@ -71,7 +74,6 @@ sudo apt-get install xclip
|
|
|
71
74
|
pip install pynput
|
|
72
75
|
|
|
73
76
|
# app mode
|
|
74
|
-
# Uncommand the line below for Ubuntu !
|
|
75
77
|
sudo apt install libcairo-dev libgirepository1.0-dev gir1.2-appindicator3-0.1 # Ubuntu ONLY (not needed on MacOS)
|
|
76
78
|
pip install PyGObject # Ubuntu ONLY (not needed on MacOS)
|
|
77
79
|
pip install pystray
|
|
@@ -159,7 +161,7 @@ sudo HOME=$HOME XDG_RUNTIME_DIR=$XDG_RUNTIME_DIR PYNPUT_BACKEND_KEYBOARD=uinput
|
|
|
159
161
|
```
|
|
160
162
|
You're on the right path :)
|
|
161
163
|
|
|
162
|
-
## System tray icon (experimental) <img src="
|
|
164
|
+
## System tray icon (experimental) <img src="https://github.com/perrette/bard/raw/main/bard_data/share/icon.png" width=48px>
|
|
163
165
|
|
|
164
166
|
<img src=https://github.com/user-attachments/assets/4c97f4b1-1a65-4d49-9f5a-a9f4287cfa5a width=300px>
|
|
165
167
|
|
|
@@ -1,8 +1,13 @@
|
|
|
1
|
-
# file generated by
|
|
1
|
+
# file generated by setuptools-scm
|
|
2
2
|
# don't change, don't track in version control
|
|
3
|
+
|
|
4
|
+
__all__ = ["__version__", "__version_tuple__", "version", "version_tuple"]
|
|
5
|
+
|
|
3
6
|
TYPE_CHECKING = False
|
|
4
7
|
if TYPE_CHECKING:
|
|
5
|
-
from typing import Tuple
|
|
8
|
+
from typing import Tuple
|
|
9
|
+
from typing import Union
|
|
10
|
+
|
|
6
11
|
VERSION_TUPLE = Tuple[Union[int, str], ...]
|
|
7
12
|
else:
|
|
8
13
|
VERSION_TUPLE = object
|
|
@@ -12,5 +17,5 @@ __version__: str
|
|
|
12
17
|
__version_tuple__: VERSION_TUPLE
|
|
13
18
|
version_tuple: VERSION_TUPLE
|
|
14
19
|
|
|
15
|
-
__version__ = version = '0.12.
|
|
16
|
-
__version_tuple__ = version_tuple = (0, 12,
|
|
20
|
+
__version__ = version = '0.12.4'
|
|
21
|
+
__version_tuple__ = version_tuple = (0, 12, 4)
|
|
@@ -203,7 +203,7 @@ def get_parser():
|
|
|
203
203
|
group = parser.add_argument_group("whisper options")
|
|
204
204
|
group.add_argument("--duration", default=120, type=float, help="Max duration of the whisper recording (default %(default)s s)")
|
|
205
205
|
group.add_argument("--silence", default=2, type=float, help="silence duration (default %(default)s s)")
|
|
206
|
-
group.add_argument("--silence-db", default=-
|
|
206
|
+
group.add_argument("--silence-db", default=-40, type=float, help="silence magnitude in decibel (default %(default)s db)")
|
|
207
207
|
group.add_argument("-a", "--restart-after-silence", action="store_true", help="Restart the recording after a transcription triggered by a silence")
|
|
208
208
|
group.add_argument("--download-folder-whisper", help="Folder to store Whisper models.")
|
|
209
209
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.2
|
|
2
2
|
Name: scribe-cli
|
|
3
|
-
Version: 0.12.
|
|
3
|
+
Version: 0.12.4
|
|
4
4
|
Summary: scribe is a local speech recognition tool that provides real-time transcription using vosk and whisper AI, with the goal of serving as a virtual keyboard on a computer
|
|
5
5
|
Author-email: Mahé Perrette <mahe.perrette@gmail.com>
|
|
6
6
|
License: MIT License
|
|
@@ -73,7 +73,7 @@ Requires-Dist: pystray; extra == "all"
|
|
|
73
73
|
[](https://pypi.org/project/scribe-cli)
|
|
74
74
|

|
|
75
75
|
|
|
76
|
-
# Scribe <img src="
|
|
76
|
+
# Scribe <img src="https://github.com/perrette/bard/raw/main/bard_data/share/icon.png" width=48px>
|
|
77
77
|
|
|
78
78
|
`scribe` is a speech recognition tool that provides real-time transcription using cutting-edge AI models, with the goal of serving as a virtual keyboard on a computer.
|
|
79
79
|
|
|
@@ -103,6 +103,8 @@ Install PortAudio library (required by `sounddevice`) and xclip library (require
|
|
|
103
103
|
sudo apt-get install portaudio19-dev xclip
|
|
104
104
|
```
|
|
105
105
|
|
|
106
|
+
(`portaudio19-dev` becomes `portaudio ` with homebrew)
|
|
107
|
+
|
|
106
108
|
See additional requirements for the [icon tray](#system-tray-icon-experimental-) and [keyboard](#virtual-keyboard-experimental) options. The python dependencies should be dealt with automatically:
|
|
107
109
|
|
|
108
110
|
```bash
|
|
@@ -134,6 +136,7 @@ pip install openai-whisper # FAILS IN PYTHON 3.13 on Ubuntu
|
|
|
134
136
|
# PortAUDIO (sounddevice)
|
|
135
137
|
pip install sounddevice # automatically installed as required dependency
|
|
136
138
|
sudo apt-get install portaudio19-dev
|
|
139
|
+
# MAC OS: brew install portaudio
|
|
137
140
|
|
|
138
141
|
# clipboard
|
|
139
142
|
pip install pyperclip # automatically installed as required dependency
|
|
@@ -143,7 +146,6 @@ sudo apt-get install xclip
|
|
|
143
146
|
pip install pynput
|
|
144
147
|
|
|
145
148
|
# app mode
|
|
146
|
-
# Uncommand the line below for Ubuntu !
|
|
147
149
|
sudo apt install libcairo-dev libgirepository1.0-dev gir1.2-appindicator3-0.1 # Ubuntu ONLY (not needed on MacOS)
|
|
148
150
|
pip install PyGObject # Ubuntu ONLY (not needed on MacOS)
|
|
149
151
|
pip install pystray
|
|
@@ -231,7 +233,7 @@ sudo HOME=$HOME XDG_RUNTIME_DIR=$XDG_RUNTIME_DIR PYNPUT_BACKEND_KEYBOARD=uinput
|
|
|
231
233
|
```
|
|
232
234
|
You're on the right path :)
|
|
233
235
|
|
|
234
|
-
## System tray icon (experimental) <img src="
|
|
236
|
+
## System tray icon (experimental) <img src="https://github.com/perrette/bard/raw/main/bard_data/share/icon.png" width=48px>
|
|
235
237
|
|
|
236
238
|
<img src=https://github.com/user-attachments/assets/4c97f4b1-1a65-4d49-9f5a-a9f4287cfa5a width=300px>
|
|
237
239
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|