Skip to content

Mekk13/Key-stroke-analyzer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Keystroke Logger & Analyzer

This project records keystrokes in a session, analyzes typed words, and calculates timing statistics. It is designed for learning and demonstration purposes only — do not use it to record others' keystrokes without consent.

Features

  • Record individual keystrokes with timestamps.
  • Analyze words typed per session, ignoring special keys like [space] and [enter].
  • Compute typing statistics:
    • Total keys pressed
    • Session duration
    • Average, fastest, and slowest key intervals
    • Typing speed (keys per second)
    • Pause count (intervals >1s)
  • Organized logging:
    • Raw keystrokes (logs/keystrokes.log)
    • Word frequency per session (logs/word_analysis.log)
    • Timing statistics per session (logs/timing_analysis.log)

Usage

  1. Install dependencies:
pip install -r requirements.txt
  1. Run the logger: python logger.py

Press Esc to finish the session.

Logs will automatically be stored in logs/.

Analysis is performed automatically after the session ends.

Notes / Future Improvements

  • Backspace handling could be improved to reflect actual corrections.
  • Current implementation uses plain text logs; integrating a database (e.g., SQL) could improve storage and querying.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages