A CLI-based typing speed test application
Project description
Typing Speed Test with a Knowledge Twist
This project combines a fun typing speed test with an engaging knowledge dataset to measure typing speed (Words Per Minute) and accuracy while learning something new.
Features
- Typing Speed Measurement: Calculates Words Per Minute (WPM) for each test.
- Accuracy Calculation: Computes the percentage of correctly typed words.
- Knowledge Dataset: Sentences are sourced from a specially curated dataset, including:
- Fun Facts: Trivia that will amaze you.
- Health Tips: Simple tips for a better lifestyle.
- Science & Math Wonders: Discover fascinating facts.
- Famous Quotes: Iconic sayings from great minds.
- Movie Dialogues: Relive legendary cinematic moments.
- Blind Mode: Optional feature to hide user input for an added challenge.
- Bar Chart Visualization: Summarizes session performance with a bar chart.
How It Works
- Sentence Selection: Random sentences are selected from the knowledge dataset. [You’ll absolutely love this!]
- Timing: Tracks the time taken for the user to type the sentences.
- WPM and Accuracy: Calculates WPM and accuracy based on input.
- Session Summary:
- Average typing speed.
- Average accuracy.
- Final result (PASS or FAIL).
Installation
Install the required package using pip:
pip install typing-test-sapien
Execution
typing-test-sapien
or
typing-test-sapien 5 2 yes
5: Number of tests.2: Sentences per test.yes: Enables blind mode.
Example Output
Final Results
-------------
Average Accuracy: 85.50%
Average Typing Speed: 72.00 WPM
Result: PASS
Session Progress Bar Chart
-------------------------------------------------
WPM | T1 T2 T3 T4 T5
-------------------------------------------------
80 | # # #
75 | # # #
50 | # #
-------------------------------------------------
Requirements
- Python 3.x
getpassmodule (comes pre-installed with Python).
License
This project is licensed under the MIT License.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file typing_test_sapien-3.0.2.tar.gz.
File metadata
- Download URL: typing_test_sapien-3.0.2.tar.gz
- Upload date:
- Size: 26.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c52c952723ba2c50c6c23bbab17e47de0753ca2cfbe9d979e8c0cc69578cc31c
|
|
| MD5 |
7650ffd78f42555b5437414a1e863786
|
|
| BLAKE2b-256 |
b35d27fbf06801e53828fd0889a8a9129d7f89fe91abeb95fc25348bccc9a2b0
|
File details
Details for the file typing_test_sapien-3.0.2-py3-none-any.whl.
File metadata
- Download URL: typing_test_sapien-3.0.2-py3-none-any.whl
- Upload date:
- Size: 33.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
104983beb1acf9152f9fd401fcf5ce49b8bc6059fd3e38477858533a6f4d5e40
|
|
| MD5 |
e91b6f88a1e06fee3ed44be50417e056
|
|
| BLAKE2b-256 |
395ffaeaad8ec718f1d7ddaf14dba01ab63467116d814828b3900ec85fa50711
|