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.0.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.0-py3-none-any.whl (30.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: typing_cli-0.3.0.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.0.tar.gz
Algorithm Hash digest
SHA256 65aa0bbab9d98a349cb95119b84d6d9f7fb680ded48351e364d06bc94fcdaa68
MD5 57e9510b472af894b21afa60f01d8c65
BLAKE2b-256 275a1de28a915e1d234113a96e1b13f45f78f8a3c3b23d8f290b91182430020d

See more details on using hashes here.

Provenance

The following attestation bundles were made for typing_cli-0.3.0.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.0-py3-none-any.whl.

File metadata

  • Download URL: typing_cli-0.3.0-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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7dd51904e8b287974b05dbfe0dcf1ce2230948c5df5fa24ec7ee84dc380b22bb
MD5 d64d886b9a42f763102663960b25f76a
BLAKE2b-256 5549f04184a16727fc15cd77a0ec1598c1e8e34843a472cd048cf4f41e3ef7da

See more details on using hashes here.

Provenance

The following attestation bundles were made for typing_cli-0.3.0-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