Skip to main content

ps-typer

Linux OSX Windows Python Version PyPi Black

PS-Typer demo

Description

A Python program built on the PyQt5 GUI framework, used for practicing your typing skills and keeping track of your progress.

Index

Dependencies

Installation

Using pip (if you're on Windows, replace python3 with just python down below):

python3 -m pip install ps-typer

Then, launch the program by running the command:

ps-typer

Note that if the command does not work you may need to configure your system PATH variable (check out some Stack Overflow answers linked below).

Usage

  1. Select a mode from the dropdown menu (My recommendation is always Random Text: Brown)
  2. Click on begin and start typing! Characters typed correctly are highlighted green and characters typed incorrectly are highlighted red.
  3. When finished, a window will appear displaying your accuracy, average w.p.m and whether or not you set a daily or all-time high score.
  4. Check out the Statistics section below

Modes

Select one of the following options to choose what you will be typing out:

  • Common Phrases

  • Facts

  • Famous Literature Excerpts

  • Famous Quotes

  • Random Text Options

    • These 3 options are achieved using corpora from nltk, for which documentation can be found here. The corpora included are:
    1. Brown, which is the first million-word electronic corpus of English.
    2. Gutenberg, which is a small selection of texts from the Project Gutenberg electronic text archive, which contains some 25,000 free electronic books, hosted here.
    3. Webtext, a collection of web text includes content from a Firefox discussion forum, conversations overheard in New York, the movie script of Pirates of the Carribean, personal advertisements, and wine reviews, for more informal text.
    • To reduce the number of dependencies, as well as the processing that needs to be done for formatting the text, the corpora are already processed into plain text files stored in the assets/texts/ directory, along with the python script used to generate them.

W.P.M.

Your typing speed is measured by your average wpm, multiplied by your accuracy.

Wpm is calculated as words per minute (w.p.m) using (characters typed/5)/minutes This gives a more fair w.p.m calculation since longer words would be worth more than short words.

This figure is then multiplied by the accuracy percentage, but note that accuracy lower than 75% results in a 0 w.p.m. score. Accuracy is taken into account to incentivise you to type all the text out correctly and not enforce bad habits.

Statistics

The program will save all of your daily high scores and keep track of your all-time highscore. This data is then visualised in the Statistics window using a graph of wpm over time so you can get a sense of how you're progressing.

From here you can also reset your highscores if you so wish.

Please note: All the (very limited) data this program stores can be found in the user's data directory under ps-typer. By default, these should be:

  • Linux: /home/your_username/.local/share/ps-typer
  • Mac: /Users/your_username/Library/Application Support/ps-typer
  • Windows: C:\\Users\\your_username\\AppData\\Local\\ps-typer

License

MIT

Metadata

Release files for ps-typer 0.2.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ps-typer 0.2.7
File Size Uploaded
ps-typer-0.2.7.tar.gz 3.7 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for ps-typer 0.2.7
File Interpreter ABI Platform
ps_typer-0.2.7-py3-none-any.whl Python 3 none any Details

Total release size: 7.4 MB

Release files / ps-typer-0.2.7.tar.gz

Download URL ps-typer-0.2.7.tar.gz
Size 3.7 MB
Tags Source
SHA-256 checksum
How to use checksums
08ceffcef039bf91b704cd50946e6b16294a7d1352cab6ee1984ae1b7f7ea36d
BLAKE2b-256 checksum
How to use checksums
a0241ef0967ad5b3ce0af6a8c7f01e294b86530a71e99c642d1d274b4bdc131c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.13

Release files / ps_typer-0.2.7-py3-none-any.whl

Download URL ps_typer-0.2.7-py3-none-any.whl
Size 3.7 MB
Tags Python 3
SHA-256 checksum
How to use checksums
3b9cca3590a658b2c5ee14fa67eb1291865c6dbdc1caa2ae7c44eb7b08305805
BLAKE2b-256 checksum
How to use checksums
225c780274fc158e53a7e27f3029c0844d3e33ed22a2a6efadf8f1dce360dd7b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.13

Release history Release notifications | RSS feed

This release

0.2.7 This release

2 release files

0.2.6

2 release files

0.2.5

2 release files

0.2.4

2 release files

0.2.3

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page