Typing Speed Test

A Python + Tkinter application with OpenAI-powered sentence generation and real-time analytics.

Overview

The Typing Speed Test is an interactive application designed to measure typing speed and accuracy. Built using Python with the Tkinter GUI toolkit, it integrates with OpenAI’s API to dynamically generate test sentences. The system calculates Words per Minute (WPM), Accuracy, and Characters per Second (CPS) in real-time, providing users with an accurate benchmark of their typing abilities.

System Architecture

Key Features

Core Algorithms

Code Modules

User Flow

1. User clicks "Start Test".
2. OpenAI generates a sentence → displayed on screen.
3. Timer starts counting down in a non-blocking thread.
4. User types → real-time WPM and accuracy update.
5. Auto-save captures progress every 5 seconds.
6. Time expires → input is locked, results summary shown.

Example Screenshot

Typing Speed Test Screenshot

Future Improvements