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 Executable (Recommended)

  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-0.1.1.tar.gz (4.1 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-0.1.1-py3-none-any.whl (5.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: terminal_stopwatch-0.1.1.tar.gz
  • Upload date:
  • Size: 4.1 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-0.1.1.tar.gz
Algorithm Hash digest
SHA256 05c4f560795d14772cf97805e0116815ec2da8857eff1f43080245290a1dc378
MD5 1407c14b8b9441a3b378ddc99292cdf4
BLAKE2b-256 a243589deb26fafc4974636c9a5f942437d2e794a19a2b4f7681b6b6c5964e69

See more details on using hashes here.

File details

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

File metadata

  • Download URL: terminal_stopwatch-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 5.0 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-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 496312b89e1fb764d7d85a18e8cbc0344948b02c44b3462c8952ea3404314a96
MD5 95ca3aa74b1e72c7c9f925ccaefb2c21
BLAKE2b-256 cb4d130708f4bbae9855df402bce539cae90a515925217535bf644012482930e

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