Skip to main content

whisper-ptt

Push-to-talk speech-to-text. Hold a key to record, release to transcribe and paste.

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 --help for full list.
  • --key — Hotkey name from pynput.keyboard.Key. Default: alt_r

macOS permissions

This tool needs two macOS permissions to work:

  • Accessibility — to listen for hotkey presses and paste transcribed text into the active window.
  • Microphone — to record audio.

To grant accessibility access:

  1. Open System Settings > Privacy & Security > Accessibility
  2. Click the + button and add your terminal app (Terminal, iTerm2, VS Code, etc.)
  3. 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.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

whisper_ptt-1.2.5.tar.gz (24.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

whisper_ptt-1.2.5-py3-none-any.whl (4.0 kB view details)

Uploaded Python 3

File details

Details for the file whisper_ptt-1.2.5.tar.gz.

File metadata

  • Download URL: whisper_ptt-1.2.5.tar.gz
  • Upload date:
  • Size: 24.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.12.2 {"installer":{"name":"uv","version":"0.12.2","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

Hashes for whisper_ptt-1.2.5.tar.gz
Algorithm Hash digest
SHA256 355f2168b7f111bdc9a22bc6c1fe57662eb6e352a1403fcae192b455fdfb1d6a
MD5 22479ef652c45132d96704b2ac0bbb9e
BLAKE2b-256 b7a3dd21be89162c013432e97aa3ff5b61d63a8cacbac681c01987183b5b238e

See more details on using hashes here.

File details

Details for the file whisper_ptt-1.2.5-py3-none-any.whl.

File metadata

  • Download URL: whisper_ptt-1.2.5-py3-none-any.whl
  • Upload date:
  • Size: 4.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.12.2 {"installer":{"name":"uv","version":"0.12.2","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

Hashes for whisper_ptt-1.2.5-py3-none-any.whl
Algorithm Hash digest
SHA256 f9c8fb490700b8799be7c55aa574a40c80c2a2ecab5997e7e1abc027cf0d5680
MD5 043936a102251712229c5201eeb4783d
BLAKE2b-256 3929b90b1dad29c90aaf5539c01bc2acafa581a64db5da73b664e22417a757e7

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page