whisper-key-local 0.5.1__tar.gz → 0.5.2__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.
Files changed (35) hide show
  1. {whisper_key_local-0.5.1 → whisper_key_local-0.5.2}/PKG-INFO +1 -1
  2. {whisper_key_local-0.5.1 → whisper_key_local-0.5.2}/pyproject.toml +1 -1
  3. whisper_key_local-0.5.2/src/whisper_key/assets/version.txt +1 -0
  4. {whisper_key_local-0.5.1 → whisper_key_local-0.5.2}/src/whisper_key/hotkey_listener.py +4 -1
  5. {whisper_key_local-0.5.1 → whisper_key_local-0.5.2}/src/whisper_key_local.egg-info/PKG-INFO +1 -1
  6. whisper_key_local-0.5.1/src/whisper_key/assets/version.txt +0 -1
  7. {whisper_key_local-0.5.1 → whisper_key_local-0.5.2}/README.md +0 -0
  8. {whisper_key_local-0.5.1 → whisper_key_local-0.5.2}/setup.cfg +0 -0
  9. {whisper_key_local-0.5.1 → whisper_key_local-0.5.2}/src/whisper_key/__init__.py +0 -0
  10. {whisper_key_local-0.5.1 → whisper_key_local-0.5.2}/src/whisper_key/assets/portaudio.dll +0 -0
  11. {whisper_key_local-0.5.1 → whisper_key_local-0.5.2}/src/whisper_key/assets/sounds/record_cancel.wav +0 -0
  12. {whisper_key_local-0.5.1 → whisper_key_local-0.5.2}/src/whisper_key/assets/sounds/record_start.wav +0 -0
  13. {whisper_key_local-0.5.1 → whisper_key_local-0.5.2}/src/whisper_key/assets/sounds/record_stop.wav +0 -0
  14. {whisper_key_local-0.5.1 → whisper_key_local-0.5.2}/src/whisper_key/assets/tray_idle.png +0 -0
  15. {whisper_key_local-0.5.1 → whisper_key_local-0.5.2}/src/whisper_key/assets/tray_processing.png +0 -0
  16. {whisper_key_local-0.5.1 → whisper_key_local-0.5.2}/src/whisper_key/assets/tray_recording.png +0 -0
  17. {whisper_key_local-0.5.1 → whisper_key_local-0.5.2}/src/whisper_key/audio_feedback.py +0 -0
  18. {whisper_key_local-0.5.1 → whisper_key_local-0.5.2}/src/whisper_key/audio_recorder.py +0 -0
  19. {whisper_key_local-0.5.1 → whisper_key_local-0.5.2}/src/whisper_key/clipboard_manager.py +0 -0
  20. {whisper_key_local-0.5.1 → whisper_key_local-0.5.2}/src/whisper_key/config.defaults.yaml +0 -0
  21. {whisper_key_local-0.5.1 → whisper_key_local-0.5.2}/src/whisper_key/config_manager.py +0 -0
  22. {whisper_key_local-0.5.1 → whisper_key_local-0.5.2}/src/whisper_key/console_manager.py +0 -0
  23. {whisper_key_local-0.5.1 → whisper_key_local-0.5.2}/src/whisper_key/instance_manager.py +0 -0
  24. {whisper_key_local-0.5.1 → whisper_key_local-0.5.2}/src/whisper_key/main.py +0 -0
  25. {whisper_key_local-0.5.1 → whisper_key_local-0.5.2}/src/whisper_key/model_registry.py +0 -0
  26. {whisper_key_local-0.5.1 → whisper_key_local-0.5.2}/src/whisper_key/state_manager.py +0 -0
  27. {whisper_key_local-0.5.1 → whisper_key_local-0.5.2}/src/whisper_key/system_tray.py +0 -0
  28. {whisper_key_local-0.5.1 → whisper_key_local-0.5.2}/src/whisper_key/utils.py +0 -0
  29. {whisper_key_local-0.5.1 → whisper_key_local-0.5.2}/src/whisper_key/voice_activity_detection.py +0 -0
  30. {whisper_key_local-0.5.1 → whisper_key_local-0.5.2}/src/whisper_key/whisper_engine.py +0 -0
  31. {whisper_key_local-0.5.1 → whisper_key_local-0.5.2}/src/whisper_key_local.egg-info/SOURCES.txt +0 -0
  32. {whisper_key_local-0.5.1 → whisper_key_local-0.5.2}/src/whisper_key_local.egg-info/dependency_links.txt +0 -0
  33. {whisper_key_local-0.5.1 → whisper_key_local-0.5.2}/src/whisper_key_local.egg-info/entry_points.txt +0 -0
  34. {whisper_key_local-0.5.1 → whisper_key_local-0.5.2}/src/whisper_key_local.egg-info/requires.txt +0 -0
  35. {whisper_key_local-0.5.1 → whisper_key_local-0.5.2}/src/whisper_key_local.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: whisper-key-local
3
- Version: 0.5.1
3
+ Version: 0.5.2
4
4
  Summary: Local faster-whisper speech-to-text app with global hotkeys for Windows
5
5
  Author-email: Pin Wang <pinwang@gmail.com>
6
6
  Requires-Python: >=3.11
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "whisper-key-local"
7
- version = "0.5.1"
7
+ version = "0.5.2"
8
8
  description = "Local faster-whisper speech-to-text app with global hotkeys for Windows"
9
9
  readme = "README.md"
10
10
  authors = [
@@ -129,7 +129,10 @@ class HotkeyListener:
129
129
  self.modifier_key_released = True
130
130
 
131
131
  def _extract_first_modifier(self, hotkey_str: str) -> str:
132
- return hotkey_str.lower().split('+')[0].strip()
132
+ parts = hotkey_str.lower().split('+')
133
+ if len(parts) > 1:
134
+ return parts[0].strip()
135
+ return None
133
136
 
134
137
  def start_listening(self):
135
138
  if self.is_listening:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: whisper-key-local
3
- Version: 0.5.1
3
+ Version: 0.5.2
4
4
  Summary: Local faster-whisper speech-to-text app with global hotkeys for Windows
5
5
  Author-email: Pin Wang <pinwang@gmail.com>
6
6
  Requires-Python: >=3.11