Skip to main content

get time, how long a key is pressed

Project description


install keytime

Linux/MacOS: pip3 install keytime or python3 -m install keytime

Windows: pip install keytime or py -m pip install keytime

run keytime


$ python3
>>> from keytime.keytime import run
>>> run()


$ python3
>>> from keytime.keytime import run
>>> run(interactive=True)

keytime will now read your keyboard input. By pressing 'Escape', keytime will stop reading your input and display collected data as a table. Keytime also writes a .csv-file named 'output.csv' if you selected corresponding settings.

update 0.1.2

  • Reset the collected data after each run() call
  • Adding an interactive environment for saving output.csv

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 keytime, version 0.1.2
Filename, size File type Python version Upload date Hashes
Filename, size keytime-0.1.2-py3-none-any.whl (2.9 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size keytime-0.1.2.tar.gz (2.9 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page