Elevate-Code better-voice-typing .cursorrules file for Python (stars: 12)

This project is a speech-to-text Python desktop app using tkinter, pynput, OpenAI Whisper API, and system tray integration for Windows

Avoid blocking operations (e.g., time.sleep) - use async/event-driven patterns where possible

"Always add type hints to function parameters and return values using Python's type annotation syntax (e.g., `def function(param: type) -> return_type`)."

When responding with code edits, include any comments that are nearby the edited code and update them if needed.
If the user has a "NOTE:" or "IMPORTANT:" comment nearby, always include it in your code edit response.
Example: if user's code has `#NOTE: Business logic\n\n\ndef calc():...`, include it as `// ... #NOTE: Business logic {{ updated_code }} // ...`

When asked to do a database migration, write a migration function that can be run in the `main` block unless otherwise specified.

Use functional programming over object-oriented programming paradigms, where applicable.
batchfile
less
openai
python

First Time Repository

Lightweight Python desktop app for Windows that improves upon Windows Voice Typing (Win+H) by offering superior transcription accuracy while maintaining a simple, intuitive interface.

Python

Languages:

Batchfile: 2.1KB
Python: 68.8KB
Created: 11/12/2024
Updated: 1/18/2025

All Repositories (1)

Lightweight Python desktop app for Windows that improves upon Windows Voice Typing (Win+H) by offering superior transcription accuracy while maintaining a simple, intuitive interface.