Skip to main content

get time, how long a key is pressed

Project description

Keytime

install keytime

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

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

run keytime

default:

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

interactive:

$ 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.

Source Distribution

keytime-0.1.2.tar.gz (2.9 kB view hashes)

Uploaded Source

Built Distribution

keytime-0.1.2-py3-none-any.whl (2.9 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