Console app for measuring typing speed in words per minute (WPM)
Project description
wpm — console app that measures your typing speed
wpm is a simple terminal program that measures your typing speed in words per minute (WPM).
The WPM is calculated by dividing characters per second by five and then multiplying that with 60. This is a well-known formula, but gives slightly higher scores than on sites like typeracer.com. It is, however, good enough to gauge your typing speed. And it works offline, and with your own texts.
How to install
The recommended way is to install via PyPi
$ pip install wpm
But you can also install from the source with
$ python setup.py install [--user]
To just test the app without installing, type make run.
How to run
Just type wpm to start the program. The timer will start when you press the first key. At any time, you can hit ESCAPE to quit.
You can backspace for the current word you’re editing, if you make a mistake. Mistakes will lower the accuracy score.
If you have problems finding the wpm file, you can also start it by typing python -m wpm. You can also see options with python -m wpm --help.
If you want to type a custom text, run
$ wpm --load yourfile.txt
You can also bundle up several texts into a single JSON file, using wpm --load-json yourfile.json. It must have the following format:
[
{
"author": "Author Name",
"title": "Title of Work",
"text": "The text to type here ..."
},
...
]
License
Copyright 2017 Christian Stigen Larsen
Distributed under the GNU GPL v3 or later. See the file LICENSE.txt for the full license text. This software makes use of open source software.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.