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

Uploaded Python 3

File details

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

File metadata

  • Download URL: terminal_stopwatch-0.1.2.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.2.tar.gz
Algorithm Hash digest
SHA256 4dcba78e6cfc77bf7a7a2f801c0bf0b826428f0e91ef10e5684588e4e42bb7fb
MD5 3559d220179e374031c284ca225e380c
BLAKE2b-256 eb14f9dc608650f4b92f0bad36187d27089da982b95ea2c4543b56a6ce4e1ce0

See more details on using hashes here.

File details

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

File metadata

  • Download URL: terminal_stopwatch-0.1.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 48119d32707bf0d6c605607a2ae138016ccc388a48b94aacf524a40f17eb43fb
MD5 aadeb4e389137a98714b00b2b24fb3b3
BLAKE2b-256 6f5faaf92cf9eb2a171ee451df785f64ad555105292c177d0983da20262ccbd0

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