Push-to-talk speech-to-text input using OpenAI Whisper
Project description
whisper-ptt
Push-to-talk speech-to-text. Hold a key to record, release to transcribe and type.
Usage
uvx whisper-ptt
uvx whisper-ptt --model base --key alt_r
Options
--model— Whisper model. Default:base. Common choices:tiny,base,small,medium,large-v3-turbo.- Run
uvx whisper-ptt --helpfor full list.
- Run
--key— Hotkey name frompynput.keyboard.Key. Default:alt_r
macOS permissions
This tool needs two macOS permissions to work:
- Accessibility — to listen for hotkey presses and type transcribed text into the active window.
- Microphone — to record audio.
To grant accessibility access:
- Open System Settings > Privacy & Security > Accessibility
- Click the + button and add your terminal app (Terminal, iTerm2, VS Code, etc.)
- If already listed, toggle it off and back on
Microphone access is prompted automatically on first use.
Release
git tag v1.0.x
git push --tags
CI runs tests and publishes to PyPI automatically.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file whisper_ptt-1.2.3.tar.gz.
File metadata
- Download URL: whisper_ptt-1.2.3.tar.gz
- Upload date:
- Size: 24.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.7 {"installer":{"name":"uv","version":"0.11.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e688cf76c0b4f50b0ab1af09ce13f877caff546c5ae1fab3470835d303e248d5
|
|
| MD5 |
db9565b8642b184fbf30e30265704eb9
|
|
| BLAKE2b-256 |
ad7df3e2c42ec8f0a360433d065df6556b67cb746f3e5cfc25434c2cab0c81fb
|
File details
Details for the file whisper_ptt-1.2.3-py3-none-any.whl.
File metadata
- Download URL: whisper_ptt-1.2.3-py3-none-any.whl
- Upload date:
- Size: 3.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.7 {"installer":{"name":"uv","version":"0.11.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f8bb57d340d914c12dd64bc896d4fe0b7e7dc5b1cb5da1e03fd156a10e60b600
|
|
| MD5 |
9df77481221366cbd9de393bf161cf6a
|
|
| BLAKE2b-256 |
4a17aa857b31669e32e5ec3915172d5fa5e9cc35cdcdfc602b9e3d273b2030f2
|