Skip to main content

Counts your keypresses

Project description

freqkey

 _                   _             
| |                 | |            
| |  ,_    _   __,  | |   _        
|/  /  |  |/  /  |  |/_) |/  |   | 
|__/   |_/|__/\_/|_/| \_/|__/ \_/|/
|\               |\ that's      /| 
|/               |/ "freaky"    \| 

PyPI version

What do

Listens in on all your keypresses (without logging them consecutively, this is not a keylogger) and generates a count that looks somewhat like this:

Started: 2019-03-24 19:05:54.123276 (duration 0:00:20.107664)

Modifiers:
  leftmeta                                                       5
  leftctrl                                                       3
  leftalt                                                        1

Combos:
  k                                                              6
  j                                                              4
  leftmeta + 1                                                   2
  leftmeta + tab                                                 2
  leftctrl + space                                               1
  h                                                              1
  b                                                              1
  leftmeta + 2                                                   1
  leftctrl + t                                                   1
  leftctrl + w                                                   1
  leftalt + 1                                                    1
  space                                                          1

Usage

usage: freqkey [-h] [--out OUT] [--update UPDATE]

optional arguments:
  -h, --help       show this help message and exit
  --out OUT        Output file, defaults to stdout
  --update UPDATE  Update frequency in seconds, defaults to 60

Problems

I've only tested this on an Ubuntu Linux system. It should be cross-platform as it uses the inputs library to collect key events. If you have issues running it, make sure your user is in the input group or, if you must, run it as root.

Project details


Download files

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

Source Distribution

freqkey-0.0.3.tar.gz (3.2 kB view hashes)

Uploaded Source

Built Distributions

freqkey-0.0.3-py3.7.egg (5.9 kB view hashes)

Uploaded Source

freqkey-0.0.3-py3-none-any.whl (4.4 kB view hashes)

Uploaded Python 3

Supported by

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