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.0.tar.gz (4.2 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.0-py3-none-any.whl (5.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: terminal_stopwatch-1.1.0.tar.gz
  • Upload date:
  • Size: 4.2 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.0.tar.gz
Algorithm Hash digest
SHA256 f20d56abff797ddc59b87a901249f8cf89b717b6d5a1cc4941f12b8dcab1bfbe
MD5 c8eb5f2aa82e6a4a60ecb253c1ccc5d3
BLAKE2b-256 7163aa0995a2b6ce98a26423f9302e2d9f1cc7bb336c1171abc1d89efcfccd9c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: terminal_stopwatch-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 5.1 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4eb87c6e26d55c2f35b99a88f48334c8e08e876e89f7c392575d41aca1d642ce
MD5 b3963ff49242d44959c29077a4924c0e
BLAKE2b-256 bdb834bcc048dc0f9e1620058834c7f3d6d9c7e7401e023de86d21c54733003e

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