Skip to main content

AXA YAP : Hold-to-speak dictation app powered by SecureGPT

Hold a hotkey, speak, release and your speech is transcribed and pasted at the cursor.

Demo

Requirements

  • Windows 11
  • Python 3.13+
  • uv installed

Configuration

Option 1 : Manually set environment variables

Set the following environment variables:

# SecureGPT credentials
ONEACCOUNT_LOGIN_URL=https://onelogin.axa.com
MHUB_API_URL=https://api.se.axa-go.applications.services.axa-tech.intraxa/ago-m365-securegpt-hub-v1-vrs
MHUB_CLIENT_ID=<your-client-id>
MHUB_CLIENT_SECRET=<your-client-secret>
MHUB_API_VERSION=2025-04-01-preview

Optionally, you can set these as well:

# Hotkey combo to hold while speaking (default: Ctrl+Alt+Space)
AXA_YAP_HOTKEY=<ctrl>+<alt>+<space>

# OpenAI transcription model
AXA_YAP_TRANSCRIPTION_MODEL=gpt-4o-transcribe-2025-03-20

# Microphone device index (run uvx axa_yap --list-devices to find yours, leave empty for default)
# Pass the index of the device (e.g. "0")
AXA_YAP_MIC_DEVICE=

# Language hint for transcription (e.g. "en", "fr"). Default: "en"
# Doesn't do much
AXA_YAP_LANGUAGE=en

Option 2: Use a .env file

Create a .env file in whatever location you want, and specify its path in the environment variable AXA_YAP_DOTENV_PATH.

Usage

Run directly with uvx (no manual install needed):

uvx axa_yap

Important: Use uvx axa_yap --list-devices to find your microphone index if the default doesn't work, and set AXA_YAP_MIC_DEVICE accordingly.

CLI Options

uvx axa_yap --list-devices # List available audio input devices
uvx axa_yap --install      # Register app to start automatically on Windows login
uvx axa_yap --uninstall    # Remove app from Windows startup

Instructions

  1. Hold the hotkey (default Ctrl+Alt+Space) : recording starts and an overlay appears.
  2. Speak while holding the keys.
  3. Release: audio is sent to SecureGPT for transcription.
  4. The transcribed text is automatically pasted at your current cursor position.

Release files for axa-yap 0.1.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for axa-yap 0.1.4
File Size Uploaded
axa_yap-0.1.4.tar.gz 9.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for axa-yap 0.1.4
File Interpreter ABI Platform
axa_yap-0.1.4-py3-none-any.whl Python 3 none any Details

Total release size: 21.1 kB

Release files / axa_yap-0.1.4.tar.gz

Download URL axa_yap-0.1.4.tar.gz
Size 9.0 kB
Tags Source
SHA-256 checksum
How to use checksums
41e584d34e1bddd648117df56a465cea9592db7cc62ce94a18f4026cac34549a
BLAKE2b-256 checksum
How to use checksums
913f1bb59e08aa7403a978faf9b0a8dfe15a14c6e0bf0ac4d11d20ce0a9b790d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.9 {"installer":{"name":"uv","version":"0.9.9"},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / axa_yap-0.1.4-py3-none-any.whl

Download URL axa_yap-0.1.4-py3-none-any.whl
Size 12.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
661ba05e154c53c4f7fcf396ca871710692729a03d914930182a028702766802
BLAKE2b-256 checksum
How to use checksums
e82c27bb49b808bffd58778044c9f21ae8ee57de428d65c715cfd3fbed4542a2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.9 {"installer":{"name":"uv","version":"0.9.9"},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release history Release notifications | RSS feed

This release

0.1.4 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page