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.

Files for freqkey, version 0.0.3
Filename, size File type Python version Upload date Hashes
Filename, size freqkey-0.0.3-py3.7.egg (5.9 kB) File type Egg Python version 3.7 Upload date Hashes View
Filename, size freqkey-0.0.3-py3-none-any.whl (4.4 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size freqkey-0.0.3.tar.gz (3.2 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page