Skip to main content

A beautiful CLI typing test to practice your typing speed

Project description

⌨️ typing-cli

A beautiful and fast CLI typing test — right from your terminal.

Practice your typing speed with real-time WPM tracking, accuracy stats, animated pixel-art F1 car, multiple languages, and color themes.

PyPI version Python 3.10+ License: MIT

  __               _                        ___ 
 / /___  ______  (_)___  ____ _        ____/ (_)
/ __/ / / / __ \/ / __ \/ __ `/  ____ / __/ / / 
/ /_/ /_/ / /_/ / / / / / /_/ /  /___// /_/ / /  
\__/\__, / .___/_/_/ /_/\__, /        \__/_/_/   
   /____/_/            /____/                     

🚀 Installation

pip install typing-cli

Then launch with:

python -m typingtest

On first launch the app automatically adds typing-cli to your PATH.
Restart your terminal and from then on just type:

typing-cli

From source

git clone https://github.com/lecoffre/typing-cli.git
cd typing-cli
pip install -e .

▶️ Usage

typing-cli

If the command is not found, you can always run:

python -m typingtest

The app launches in your terminal. Start typing!

🔄 Update

The app checks for updates automatically on launch.
If a new version is available, press Ctrl+U on the splash screen to update instantly.

You can also update manually:

pip install --user --upgrade typing-cli

⌨️ Keyboard Shortcuts

Shortcut Action
Tab Restart test
Escape Back / Quit
Ctrl+T Change theme
Ctrl+L Change language
Ctrl+M Switch mode (words/code)
Ctrl+H View score history
Ctrl+U Update to latest version
Ctrl++/- Zoom in/out
Ctrl+Q Quit

🌍 Languages

Built-in:

  • 🇬🇧 English (200 most common words)
  • 🇫🇷 French (200 most common words)

🎨 Themes

  • Midnight — deep dark blues (default)
  • Forest — earthy greens
  • Sunset — warm amber tones
  • Ocean — cool cyan palette
  • Mono — minimal grayscale

📊 Features

  • Real-time WPM & accuracy tracking
  • Per-character coloring (correct / incorrect / cursor)
  • Animated pixel-art F1 car reflecting your speed
  • Gamification: streak, combo, milestones, rank system
  • Code typing mode
  • Score history with date, WPM, accuracy
  • Multiple languages & themes
  • Splash screen with ASCII art
  • Auto-update: notifies and updates from the CLI
  • Clean, extensible architecture

🛠️ Development

git clone https://github.com/lecoffre/typing-cli.git
cd typing-cli
pip install -e .

# Run directly
python -m typingtest

🤝 Contributing

Contributions are welcome! Feel free to open issues and pull requests.

  1. Fork the repo
  2. Create your feature branch (git checkout -b feature/amazing-feature)
  3. Commit (git commit -m 'Add amazing feature')
  4. Push (git push origin feature/amazing-feature)
  5. Open a Pull Request

📄 License

MIT

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

typing_cli-0.3.1.tar.gz (24.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

typing_cli-0.3.1-py3-none-any.whl (30.7 kB view details)

Uploaded Python 3

File details

Details for the file typing_cli-0.3.1.tar.gz.

File metadata

  • Download URL: typing_cli-0.3.1.tar.gz
  • Upload date:
  • Size: 24.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for typing_cli-0.3.1.tar.gz
Algorithm Hash digest
SHA256 a1933c8cda1ded37a267d615209890f8557d2802a49cd38c8387b0c559033756
MD5 20484edae2950c0c51a377fe208f8bd7
BLAKE2b-256 5c728e013ccce59db5d594a150b132ded6e3907f80924cf2c783622566447548

See more details on using hashes here.

Provenance

The following attestation bundles were made for typing_cli-0.3.1.tar.gz:

Publisher: publish.yml on lecoffre/typing-cli

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file typing_cli-0.3.1-py3-none-any.whl.

File metadata

  • Download URL: typing_cli-0.3.1-py3-none-any.whl
  • Upload date:
  • Size: 30.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for typing_cli-0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 9bfb796929f82ead63fc27338778844fdaf1cabd781b4221856f1bd91703d181
MD5 83f4be0526135682570cdd110f776388
BLAKE2b-256 c2313abbdcc8b7deae1ea84133794a4d43176009f0fa3e45adf9d3acb7da6a30

See more details on using hashes here.

Provenance

The following attestation bundles were made for typing_cli-0.3.1-py3-none-any.whl:

Publisher: publish.yml on lecoffre/typing-cli

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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