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

The WPM is calculated by taking characters per second (CPS) and dividing by five. That gives a slightly higher score than on sites than typeracer.com, but is good enough to gauge your typing speed.

How to install

The recommended way is to install via PyPi

$ pip install wpm

But you can also do a local installation with

$ python setup.py install [--user]

How to run

Just type

$ wpm

To cancel typing, just hit the ESCAPE key.

You can also train a single custom text. In that case, just do

$ wpm --load yourfile.txt

If you want to bundle up several texts into one file, just create a JSON file with the following format

[
  {
    "author": "Author Name",
    "title": "Title of Work",
    "text": "The text to type here ..."
  },

  {
    "author": "Author Name",
    "title": "Title of Work",
    "text": "The text to type here ..."
  }
]

You load your JSON files with

$ wpm --load-json yourfile.json

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.6.tar.gz (18.6 kB view hashes)

Uploaded Source

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