supervertaler 1.9.163__py3-none-any.whl → 1.9.164__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.
Supervertaler.py CHANGED
@@ -34,7 +34,7 @@ License: MIT
34
34
  """
35
35
 
36
36
  # Version Information.
37
- __version__ = "1.9.163"
37
+ __version__ = "1.9.164"
38
38
  __phase__ = "0.9"
39
39
  __release_date__ = "2026-01-26"
40
40
  __edition__ = "Qt"
@@ -47673,7 +47673,12 @@ class AutoFingersWidget(QWidget):
47673
47673
 
47674
47674
  def setup_shortcuts(self):
47675
47675
  """Setup GLOBAL keyboard shortcuts for AutoFingers actions"""
47676
- import keyboard
47676
+ # keyboard module is Windows-only
47677
+ try:
47678
+ import keyboard
47679
+ except ImportError:
47680
+ self.log("ℹ️ Global hotkeys not available on this platform (Windows only)")
47681
+ return
47677
47682
 
47678
47683
  try:
47679
47684
  # Store hotkey references for later removal
@@ -47732,8 +47737,13 @@ class AutoFingersWidget(QWidget):
47732
47737
  def cleanup_hotkeys(self):
47733
47738
  """Cleanup AutoFingers hotkeys when widget is closed/hidden"""
47734
47739
  # Unregister ONLY AutoFingers hotkeys
47740
+ # keyboard module is Windows-only
47735
47741
  try:
47736
47742
  import keyboard
47743
+ except ImportError:
47744
+ return # Not available on this platform
47745
+
47746
+ try:
47737
47747
  if hasattr(self, 'hotkeys'):
47738
47748
  for hotkey in self.hotkeys:
47739
47749
  try:
modules/superlookup.py CHANGED
@@ -88,14 +88,18 @@ class SuperlookupEngine:
88
88
  Captured text or None if failed
89
89
  """
90
90
  try:
91
- import keyboard
92
-
93
- # Wait for hotkey to release before sending Ctrl+C
94
- time.sleep(0.2)
95
-
96
- # Use keyboard library to send Ctrl+C
97
- keyboard.press_and_release('ctrl+c')
98
- time.sleep(0.2)
91
+ # keyboard module is Windows-only
92
+ try:
93
+ import keyboard
94
+ # Wait for hotkey to release before sending Ctrl+C
95
+ time.sleep(0.2)
96
+ # Use keyboard library to send Ctrl+C
97
+ keyboard.press_and_release('ctrl+c')
98
+ time.sleep(0.2)
99
+ except ImportError:
100
+ # On non-Windows, just try to get clipboard content directly
101
+ # (user needs to have copied text manually)
102
+ pass
99
103
 
100
104
  # Get clipboard
101
105
  text = pyperclip.paste()
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: supervertaler
3
- Version: 1.9.163
3
+ Version: 1.9.164
4
4
  Summary: Professional AI-enhanced translation workbench with multi-LLM support, glossary system, TM, spellcheck, voice commands, and PyQt6 interface. Batteries included (core).
5
5
  Home-page: https://supervertaler.com
6
6
  Author: Michael Beijer
@@ -71,7 +71,7 @@ Dynamic: home-page
71
71
  Dynamic: license-file
72
72
  Dynamic: requires-python
73
73
 
74
- # 🚀 Supervertaler v1.9.163
74
+ # 🚀 Supervertaler v1.9.164
75
75
 
76
76
  [![PyPI version](https://badge.fury.io/py/supervertaler.svg)](https://pypi.org/project/Supervertaler/)
77
77
  [![Python 3.10+](https://img.shields.io/badge/python-3.10+-blue.svg)](https://www.python.org/downloads/)
@@ -79,7 +79,7 @@ Dynamic: requires-python
79
79
 
80
80
  AI-enhanced CAT tool with multi-LLM support (GPT-4, Claude, Gemini, Ollama), innovative Superlookup concordance system offering access to multiple terminology sources (TMs, glossaries, web resources, etc.), and seamless CAT tool integration (memoQ, Trados, CafeTran, Phrase).
81
81
 
82
- **Current Version:** v1.9.163 (January 26, 2026)
82
+ **Current Version:** v1.9.164 (January 26, 2026)
83
83
 
84
84
  ### NEW in v1.9.162 - ⚡ Cache Kill Switch & Performance Testing
85
85
 
@@ -1,4 +1,4 @@
1
- Supervertaler.py,sha256=LjMhgQDHzrB5rn2453nM8dgqmFyK7xMeYGXuPeZgMVM,2264372
1
+ Supervertaler.py,sha256=gh-67gpR65ZbNF8grWDpJJR9pUXr5wQ1p37nTRtsj3w,2264715
2
2
  modules/__init__.py,sha256=G58XleS-EJ2sX4Kehm-3N2m618_W2Es0Kg8CW_eBG7g,327
3
3
  modules/ai_actions.py,sha256=i5MJcM-7Y6CAvKUwxmxrVHeoZAVtAP7aRDdWM5KLkO0,33877
4
4
  modules/ai_attachment_manager.py,sha256=juZlrW3UPkIkcnj0SREgOQkQROLf0fcu3ShZcKXMxsI,11361
@@ -52,7 +52,7 @@ modules/supercleaner.py,sha256=uRJAEh03Eu4Qtujrf_jxuIyPBbcxKAZzryhV9Chi9ro,22939
52
52
  modules/supercleaner_ui.py,sha256=sVTnYxlX9R20eWs52BKCeQ15iFVFOIQEl29L72lup1c,18812
53
53
  modules/superdocs.py,sha256=vMYyUbHU8zDkS1YMSDF7niDkT8d8FJFDcfIxSktCyGc,522
54
54
  modules/superdocs_viewer_qt.py,sha256=dBxKz71m7EH0jPoKfWLXByMXeAgEZa7zMRu13YsMBBI,14975
55
- modules/superlookup.py,sha256=xXT1nArWJjefko-sXitndfsbSyL66RnqB-JweVWWKyY,8729
55
+ modules/superlookup.py,sha256=Zc6StQppFRlh6S3h7A6Rjzwl3twe0JHAkTUiybAaBU0,8980
56
56
  modules/tag_cleaner.py,sha256=u7VOchIWzD4sAhFs3X1Vuo3hX6X72zESQ0AGZE83cYc,8703
57
57
  modules/tag_manager.py,sha256=g66S0JSxdguN9AhWzZG3hsIz87Ul51wQ3c2wOCTZVSk,12789
58
58
  modules/term_extractor.py,sha256=qPvKNCVXFTGEGwXNvvC0cfCmdb5c3WhzE38EOgKdKUI,11253
@@ -77,9 +77,9 @@ modules/unified_prompt_manager_qt.py,sha256=fyF3_r0N8hnImT-CcWo1AuBOQ1Dn_ExeeUCk
77
77
  modules/voice_commands.py,sha256=iBb-gjWxRMLhFH7-InSRjYJz1EIDBNA2Pog8V7TtJaY,38516
78
78
  modules/voice_dictation.py,sha256=QmitXfkG-vRt5hIQATjphHdhXfqmwhzcQcbXB6aRzIg,16386
79
79
  modules/voice_dictation_lite.py,sha256=jorY0BmWE-8VczbtGrWwt1zbnOctMoSlWOsQrcufBcc,9423
80
- supervertaler-1.9.163.dist-info/licenses/LICENSE,sha256=m28u-4qL5nXIWnJ6xlQVw__H30rWFtRK3pCOais2OuY,1092
81
- supervertaler-1.9.163.dist-info/METADATA,sha256=kR_xYOAHCRhuM425miMd3nAm9cRWtU95qXwN3QbOm58,46629
82
- supervertaler-1.9.163.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
83
- supervertaler-1.9.163.dist-info/entry_points.txt,sha256=NP4hiCvx-_30YYKqgr-jfJYQvHr1qTYBMfoVmKIXSM8,53
84
- supervertaler-1.9.163.dist-info/top_level.txt,sha256=9tUHBYUSfaE4S2E4W3eavJsDyYymkwLfeWAHHAPT6Dk,22
85
- supervertaler-1.9.163.dist-info/RECORD,,
80
+ supervertaler-1.9.164.dist-info/licenses/LICENSE,sha256=m28u-4qL5nXIWnJ6xlQVw__H30rWFtRK3pCOais2OuY,1092
81
+ supervertaler-1.9.164.dist-info/METADATA,sha256=5YYkounxUPZNOqsTIUmZbqpOZYhoJebihJuKCIXycI4,46629
82
+ supervertaler-1.9.164.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
83
+ supervertaler-1.9.164.dist-info/entry_points.txt,sha256=NP4hiCvx-_30YYKqgr-jfJYQvHr1qTYBMfoVmKIXSM8,53
84
+ supervertaler-1.9.164.dist-info/top_level.txt,sha256=9tUHBYUSfaE4S2E4W3eavJsDyYymkwLfeWAHHAPT6Dk,22
85
+ supervertaler-1.9.164.dist-info/RECORD,,