PayPerTranscript 0.2.0__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.
Files changed (40) hide show
  1. paypertranscript/__init__.py +3 -0
  2. paypertranscript/__main__.py +51 -0
  3. paypertranscript/assets/icons/app.ico +0 -0
  4. paypertranscript/assets/icons/app.png +0 -0
  5. paypertranscript/assets/icons/arrow_down.svg +3 -0
  6. paypertranscript/assets/sounds/start.wav +0 -0
  7. paypertranscript/assets/sounds/stop.wav +0 -0
  8. paypertranscript/assets/styles/dark.qss +388 -0
  9. paypertranscript/core/__init__.py +0 -0
  10. paypertranscript/core/audio_manager.py +142 -0
  11. paypertranscript/core/config.py +360 -0
  12. paypertranscript/core/cost_tracker.py +87 -0
  13. paypertranscript/core/hotkey.py +294 -0
  14. paypertranscript/core/logging.py +65 -0
  15. paypertranscript/core/paths.py +28 -0
  16. paypertranscript/core/recorder.py +167 -0
  17. paypertranscript/core/session_logger.py +138 -0
  18. paypertranscript/core/text_inserter.py +131 -0
  19. paypertranscript/core/window_detector.py +58 -0
  20. paypertranscript/pipeline/__init__.py +0 -0
  21. paypertranscript/pipeline/transcription.py +361 -0
  22. paypertranscript/providers/__init__.py +85 -0
  23. paypertranscript/providers/base.py +78 -0
  24. paypertranscript/providers/groq_provider.py +182 -0
  25. paypertranscript/ui/__init__.py +0 -0
  26. paypertranscript/ui/app.py +370 -0
  27. paypertranscript/ui/dashboard.py +92 -0
  28. paypertranscript/ui/overlay.py +396 -0
  29. paypertranscript/ui/settings.py +550 -0
  30. paypertranscript/ui/setup_wizard.py +690 -0
  31. paypertranscript/ui/statistics.py +412 -0
  32. paypertranscript/ui/tray.py +256 -0
  33. paypertranscript/ui/window_mapping.py +460 -0
  34. paypertranscript/ui/word_list.py +183 -0
  35. paypertranscript-0.2.0.dist-info/METADATA +159 -0
  36. paypertranscript-0.2.0.dist-info/RECORD +40 -0
  37. paypertranscript-0.2.0.dist-info/WHEEL +5 -0
  38. paypertranscript-0.2.0.dist-info/entry_points.txt +2 -0
  39. paypertranscript-0.2.0.dist-info/licenses/LICENSE +21 -0
  40. paypertranscript-0.2.0.dist-info/top_level.txt +1 -0
@@ -0,0 +1,159 @@
1
+ Metadata-Version: 2.4
2
+ Name: PayPerTranscript
3
+ Version: 0.2.0
4
+ Summary: Open-Source Voice-to-Text mit Pay-per-Use Pricing
5
+ Author: PayPerTranscript Contributors
6
+ License-Expression: MIT
7
+ Project-URL: Homepage, https://github.com/jxnxts/PayPerTranscript
8
+ Classifier: Operating System :: Microsoft :: Windows
9
+ Classifier: Programming Language :: Python :: 3.12
10
+ Classifier: Topic :: Multimedia :: Sound/Audio :: Speech
11
+ Requires-Python: >=3.12
12
+ Description-Content-Type: text/markdown
13
+ License-File: LICENSE
14
+ Requires-Dist: PySide6
15
+ Requires-Dist: sounddevice
16
+ Requires-Dist: numpy
17
+ Requires-Dist: groq
18
+ Requires-Dist: pynput
19
+ Requires-Dist: pywin32
20
+ Requires-Dist: psutil
21
+ Requires-Dist: pyperclip
22
+ Requires-Dist: pyautogui
23
+ Requires-Dist: keyring
24
+ Requires-Dist: soundfile
25
+ Provides-Extra: dev
26
+ Requires-Dist: build; extra == "dev"
27
+ Requires-Dist: pytest; extra == "dev"
28
+ Dynamic: license-file
29
+
30
+ <p align="center">
31
+ <h1 align="center">PayPerTranscript</h1>
32
+ <p align="center">
33
+ Open-Source Voice-to-Text für Windows — Pay-per-Use statt Abo.
34
+ <br />
35
+ Hotkey drücken, sprechen, loslassen — Text erscheint an der Cursor-Position.
36
+ </p>
37
+ </p>
38
+
39
+ ---
40
+
41
+ ## Warum PayPerTranscript?
42
+
43
+ Kommerzielle Diktierdienste kosten $12–15 pro Monat — egal ob du sie 5 Minuten oder 5 Stunden nutzt.
44
+
45
+ PayPerTranscript nutzt Cloud-basierte KI-Modelle direkt über deinen eigenen API-Key. Du zahlst nur, was du tatsächlich verbrauchst: **~0.024 Cent pro Transkription**.
46
+
47
+ > 100 Transkriptionen kosten ca. 2.4 Cent. Ein kommerzielles Abo kostet dafür $15/Monat.
48
+
49
+ ---
50
+
51
+ ## Features
52
+
53
+ | Feature | Beschreibung |
54
+ |---------|-------------|
55
+ | **Hold-to-Record** | Hotkey halten, sprechen, loslassen — Text erscheint |
56
+ | **Toggle-Modus** | Alternativ: einmal drücken = Start, nochmal = Stop |
57
+ | **App-spezifische Formatierung** | Chat-Apps: locker. E-Mail: professionell. Per LLM, frei konfigurierbar. |
58
+ | **Wortliste** | Namen und Fachbegriffe immer korrekt transkribieren |
59
+ | **Kosten-Dashboard** | Jederzeit sehen, was verbraucht wurde |
60
+ | **Privatsphäre** | Dein API-Key, deine Daten. Keine Telemetrie, kein Tracking. |
61
+ | **Open Source** | MIT-Lizenz — vollständig transparent und erweiterbar |
62
+
63
+ ---
64
+
65
+ ## Installation
66
+
67
+ **Voraussetzungen:** Windows 10/11, Python 3.12+
68
+
69
+ ### Option 1: pip install (empfohlen)
70
+
71
+ ```bash
72
+ pip install paypertranscript
73
+ ```
74
+
75
+ Nach der Installation einfach starten:
76
+
77
+ ```bash
78
+ paypertranscript
79
+ ```
80
+
81
+ Beim ersten Start öffnet sich ein **Setup-Wizard**, der durch die Konfiguration führt.
82
+
83
+ ### Option 2: Aus dem Quellcode
84
+
85
+ ```bash
86
+ # Repository klonen
87
+ git clone https://github.com/jxnxts/PayPerTranscript.git
88
+ cd PayPerTranscript
89
+
90
+ # Virtuelle Umgebung erstellen & aktivieren
91
+ python -m venv venv
92
+ venv\Scripts\activate
93
+
94
+ # Im Entwicklungsmodus installieren
95
+ pip install -e .
96
+
97
+ # App starten
98
+ paypertranscript
99
+
100
+ # Oder mit Debug-Logging
101
+ python -m paypertranscript --debug
102
+ ```
103
+
104
+ ---
105
+
106
+ ## Nutzung
107
+
108
+ 1. **Hotkey halten** — `Ctrl+Win` gedrückt halten und sprechen
109
+ 2. **Loslassen** — die Aufnahme stoppt, Text wird transkribiert
110
+ 3. **Text erscheint** — direkt an der Cursor-Position eingefügt
111
+ 4. **Tray-Icon** — Rechtsklick für Einstellungen, Statistiken und mehr
112
+
113
+ ### Kosten
114
+
115
+ | Dienst | Preis |
116
+ |--------|-------|
117
+ | STT (Whisper) | $0.04 pro Stunde Audio (~0.01 Cent pro 10s) |
118
+ | LLM-Formatierung | ~$0.00002 pro Transkription (optional) |
119
+ | **Gesamt** | **~0.024 Cent pro Transkription** |
120
+
121
+ Alle Preise basieren auf GroqCloud-Tarifen. Du nutzt deinen eigenen API-Key — kein Abo, kein Mittelsmann.
122
+
123
+ ---
124
+
125
+ ## Konfiguration
126
+
127
+ Die gesamte Konfiguration ist über die grafische Oberfläche möglich:
128
+
129
+ - **Einstellungen** — Sprache, Hotkeys, API-Key, Overlay-Position
130
+ - **Wortliste** — Namen und Fachbegriffe für korrekte Transkription
131
+ - **Fenster-Zuordnung** — Welche App bekommt welchen Schreibstil (casual, professionell, ...)
132
+ - **Statistiken** — Kosten, Nutzung, Ersparnis gegenüber Abo-Diensten
133
+
134
+ Alle Daten werden lokal unter `%APPDATA%\PayPerTranscript\` gespeichert.
135
+
136
+ ---
137
+
138
+ ## FAQ
139
+
140
+ ### Text wird nicht in Admin-Fenster eingefügt
141
+
142
+ Windows blockiert Tastatureingaben von nicht-erhöhten Prozessen in erhöhte Fenster (UAC). Wenn du PayPerTranscript in Admin-Fenstern nutzen möchtest, starte die App als Administrator.
143
+
144
+ ### Mikrofon wird nicht erkannt
145
+
146
+ - Prüfe, ob ein Mikrofon angeschlossen und in den Windows-Soundeinstellungen aktiviert ist
147
+ - Prüfe die Datenschutz-Einstellungen: Windows-Einstellungen → Datenschutz → Mikrofon
148
+
149
+ ### Wie erhalte ich einen API-Key?
150
+
151
+ 1. Erstelle einen Account bei [GroqCloud](https://console.groq.com)
152
+ 2. Gehe zu API Keys → "Create API Key"
153
+ 3. Kopiere den Key und füge ihn im Setup-Wizard ein
154
+
155
+ ---
156
+
157
+ ## Lizenz
158
+
159
+ MIT — siehe [LICENSE](LICENSE)
@@ -0,0 +1,40 @@
1
+ paypertranscript/__init__.py,sha256=silT-KNUs19tb2FR0mpVl5heHNYiLTjp-RyoG513xoA,89
2
+ paypertranscript/__main__.py,sha256=UCq2e_tRfjy-Y2-51qcgfEuelH2DyzSvpA2PUz0KWGw,1378
3
+ paypertranscript/assets/icons/app.ico,sha256=Aollk_xCTd2cKs6g_AnKDmkOmv2veIBt0u3kBpIt54g,4508
4
+ paypertranscript/assets/icons/app.png,sha256=24muHaMLL14GCahj7X0QhJfH245et72G0mCUWgO0SYw,3190
5
+ paypertranscript/assets/icons/arrow_down.svg,sha256=eAkWPMfBV4_tUn80GVAkcpSwxuD3Cu2A_8JfTMUYVvU,135
6
+ paypertranscript/assets/sounds/start.wav,sha256=gHQ5ZqtfW4OdwQRdbRtH3cDz0ksz545AR88iAhY9dXQ,7100
7
+ paypertranscript/assets/sounds/stop.wav,sha256=K7dbGV4qF-HrdE1HSoEc4GUOAXckJo835pkeLNIVztE,7100
8
+ paypertranscript/assets/styles/dark.qss,sha256=RdN1AOq5eHaHuez17aXTuo5h8uJdRJWmmvUtUTnGRnI,6934
9
+ paypertranscript/core/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
10
+ paypertranscript/core/audio_manager.py,sha256=Db7gw2pj2OgZ09pesIMxpiyajldpgMWRS0N3-wJ7hh4,5180
11
+ paypertranscript/core/config.py,sha256=13FD_F26JgfxftxxOFX-s7c6gf18zmgQkfi32D3ZmOc,12129
12
+ paypertranscript/core/cost_tracker.py,sha256=LF-2fNucPjYZF4hoz0zUiHABCit6v1kdL-GyG8QUPr0,2420
13
+ paypertranscript/core/hotkey.py,sha256=96DJH5T_M8wT0OQf73Egonmm77fbzjvo5sTXFcRtsHE,11270
14
+ paypertranscript/core/logging.py,sha256=heXdNxUBf22rIoTvCl1wXsFdOOLTubOmMow-XvOxTfc,1870
15
+ paypertranscript/core/paths.py,sha256=ICUf3IsKFgMZ-dQQON_uZlv6e5aKUK3j_EAD1rEf1AY,713
16
+ paypertranscript/core/recorder.py,sha256=SP-loPKjTNkxtrVpw85RR36n9SVe9FuOBAlR12e7BzA,5447
17
+ paypertranscript/core/session_logger.py,sha256=pUF77JsyA35SWKkHbo4Vo89SZUhj1GOENuwrKex6Zag,4806
18
+ paypertranscript/core/text_inserter.py,sha256=m4dEFKB85YxV0ntG1aDpMS4VyGXKOcOULv8xUVlsrpE,3890
19
+ paypertranscript/core/window_detector.py,sha256=6qiHqz5Qf-hwQqKMTfadpydXBEH5uCiKU1zy7vTn4KQ,1816
20
+ paypertranscript/pipeline/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
21
+ paypertranscript/pipeline/transcription.py,sha256=TPMzO7LktsvJeNlE5B_0aOXy_CVaj2Fghqv7uIqOvuk,13482
22
+ paypertranscript/providers/__init__.py,sha256=z-QSldRo4E0pEnMlUw05bJhXk_XKmVh6yx8y4floi2U,2618
23
+ paypertranscript/providers/base.py,sha256=QXGRPgFVTRX05K3pSikljmEFoNmqyIXnER_nyFZhMSo,2145
24
+ paypertranscript/providers/groq_provider.py,sha256=JrLzYZ-X_a6lA-UQzPYrhNUCeNqDL4ZJXus9EgoOf44,7012
25
+ paypertranscript/ui/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
26
+ paypertranscript/ui/app.py,sha256=uV4Pq9lUoWI8tTcEQqpCWbfFvAdcgpIF5cAXugoeiok,14131
27
+ paypertranscript/ui/dashboard.py,sha256=6BTFI_GbwEBA3OO5rxyjKzON-qn8qcLhp0xinNpQlLU,2508
28
+ paypertranscript/ui/overlay.py,sha256=7IMac1YwifqpCLpHRtsxzOSuhB1i-ecB4ZQKkwpDGC4,13025
29
+ paypertranscript/ui/settings.py,sha256=0b3qrI96XWH3dIBMcwca0U3_TsCb-VeCTdB4iwmkcZY,18848
30
+ paypertranscript/ui/setup_wizard.py,sha256=pt6XCKKqqFDUWLU4FzIQlTtRXNJfZBei5acn00soRGs,23756
31
+ paypertranscript/ui/statistics.py,sha256=bM4txJkUh33vitshOKw6dorAxLXHv-7AfPUi9_02q7k,13919
32
+ paypertranscript/ui/tray.py,sha256=eFh0nH-p61cRYooMJpCcGP-jy2i4_hFXR47jAl8sWR8,9764
33
+ paypertranscript/ui/window_mapping.py,sha256=gMqXPXyinONDrwV9t2O1SuCRFheCFNXsm_BFmWb_oTI,15528
34
+ paypertranscript/ui/word_list.py,sha256=DwUDaXFAmCT2I6nowyINONbCwNHXpqNGHNqq_3Nm6Ns,6213
35
+ paypertranscript-0.2.0.dist-info/licenses/LICENSE,sha256=-sf-EBz_WcBTPytK2PL_JXxop3TchYKrz72aUGu3c7Q,1086
36
+ paypertranscript-0.2.0.dist-info/METADATA,sha256=bwlu62Pqap4advD2cfNw-k6cPoqv3bfPlqQAUwHBDc8,4677
37
+ paypertranscript-0.2.0.dist-info/WHEEL,sha256=YCfwYGOYMi5Jhw2fU4yNgwErybb2IX5PEwBKV4ZbdBo,91
38
+ paypertranscript-0.2.0.dist-info/entry_points.txt,sha256=ZS1uUXxk2TrzfD5hBv5V7_81fjQscpsnz5nHTNCM9Tw,64
39
+ paypertranscript-0.2.0.dist-info/top_level.txt,sha256=hvt9CfyZPSyO9JmRzriBGvzY9PBhoNNFsLkTuzxFQ2A,17
40
+ paypertranscript-0.2.0.dist-info/RECORD,,
@@ -0,0 +1,5 @@
1
+ Wheel-Version: 1.0
2
+ Generator: setuptools (82.0.0)
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
5
+
@@ -0,0 +1,2 @@
1
+ [gui_scripts]
2
+ paypertranscript = paypertranscript.__main__:main
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 PayPerTranscript Contributors
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1 @@
1
+ paypertranscript