Skip to main content

Console app for measuring typing speed in words per minute (WPM)

Project description

wpm — console app that measures your typing speed

Supported Python versions Project License pypi

wpm is a simple terminal program that measures your typing speed in words per minute (WPM).

https://asciinema.org/a/RzI1Vv2xAIWQ5iYyFLoCTtvUy.png

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


Download files

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

Source Distribution

wpm-1.18.tar.gz (22.3 kB view details)

Uploaded Source

File details

Details for the file wpm-1.18.tar.gz.

File metadata

  • Download URL: wpm-1.18.tar.gz
  • Upload date:
  • Size: 22.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for wpm-1.18.tar.gz
Algorithm Hash digest
SHA256 fbc29f1c49fa481d43aa2402bc333fb316f9988ea82496cec0deaa513708df99
MD5 90b8d3c3040178a06e9625218be853ef
BLAKE2b-256 7a6fb89bc9b9dcc4cfb09f193c8706ad0bf4b2d7918460e0d25ece7286383457

See more details on using hashes here.

Supported by

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