Skip to main content

A terminal-based stopwatch application featuring ASCII art display

Project description

Terminal Stopwatch

A terminal-based stopwatch application featuring ASCII art display.

Features

  • ⏱️ Time Measurement
  • 🎯 Lap Time Recording
  • 🎨 ASCII Art Time Display
  • 🌈 Colorful Terminal Interface

Installation

Using pip (Recommended)

pip install terminal-stopwatch

Then run:

stopwatch

Using Executable

  1. Download the stopwatch executable from the latest release
  2. Grant execution permission in terminal:
    chmod +x ./stopwatch
    
  3. Run:
    ./stopwatch
    

From Source Code

  1. Clone the repository:

    git clone https://github.com/yourusername/stopwatch.git
    cd stopwatch
    
  2. Install Poetry (Package Manager):

    curl -sSL https://install.python-poetry.org | python3 -
    
  3. Install dependencies:

    poetry install
    
  4. Run:

    poetry run python main.py
    

Usage

Use the following keys to control the stopwatch:

  • s: 🚀 Start/Pause
  • l: 📝 Record Lap Time
  • r: 🔄 Reset
  • q: 🚫 Quit

Development Environment

  • Python 3.11+
  • Poetry (Dependency Management)
  • PyInstaller (Executable Creation)

Dependencies

  • pyfiglet: ASCII Art Generation
  • colorama: Terminal Color Support
  • readchar: Keyboard Input Handling

License

MIT License

Contributing

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

Author

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

terminal_stopwatch-1.1.1.tar.gz (4.3 kB view details)

Uploaded Source

Built Distribution

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

terminal_stopwatch-1.1.1-py3-none-any.whl (5.2 kB view details)

Uploaded Python 3

File details

Details for the file terminal_stopwatch-1.1.1.tar.gz.

File metadata

  • Download URL: terminal_stopwatch-1.1.1.tar.gz
  • Upload date:
  • Size: 4.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.11.5 Darwin/23.5.0

File hashes

Hashes for terminal_stopwatch-1.1.1.tar.gz
Algorithm Hash digest
SHA256 fd4aad4e69a1f5f383b8c26ba1840c7cc3a87ee98fab3babbf9f9641f83133f9
MD5 cb5c9ef48645f5b0660c78a378ff049c
BLAKE2b-256 f30aa85836c26b43fcb8ab979efd6b30b004051979c37c47051de4f49dc38c56

See more details on using hashes here.

File details

Details for the file terminal_stopwatch-1.1.1-py3-none-any.whl.

File metadata

  • Download URL: terminal_stopwatch-1.1.1-py3-none-any.whl
  • Upload date:
  • Size: 5.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.11.5 Darwin/23.5.0

File hashes

Hashes for terminal_stopwatch-1.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 67de3b18e535d0a5e1f9d68b21da2cf5cc9d64b84160b2f3f8cf58852786566e
MD5 6f96ce02df5b6800a15a6846ace8af6c
BLAKE2b-256 dbed9f3a434f6669c033b1263dfc153e21e23a5d1368678411e464c572bc6266

See more details on using hashes here.

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