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/xsSZrSD920trJh096FPFEhKMr.png

The WPM is calculated by dividing the final characters per second by five. This is a well-known formula, but gives slightly higher scores than on sites like typeracer.com.

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.9.tar.gz (19.9 kB view details)

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for wpm-1.9.tar.gz
Algorithm Hash digest
SHA256 ad256884fd01ac905557ab0ea92ed77db6cc044f240c1b169781b74d7f293684
MD5 3c0c27ab9c2ba8b13fad8e86ef67f047
BLAKE2b-256 60a3f85a34e1b86dfbb7e9465a5ae80667ad5dc2361861d71ed77344e8fe2ad6

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