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

Uploaded Python 3

File details

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

File metadata

  • Download URL: terminal_stopwatch-0.1.3.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.3.tar.gz
Algorithm Hash digest
SHA256 c80b075aebc47581dbe47cb527f71084d1a29f4c6d74a86108b55b0774664018
MD5 273bc233551b0adf793738059e7f670e
BLAKE2b-256 58bf966bf601f39b2b62e1a8ec8cfe9e7bd3433877905bd7e7b0d8fc43e6a669

See more details on using hashes here.

File details

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

File metadata

  • Download URL: terminal_stopwatch-0.1.3-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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 5875a0f68b13702c37d3db5f211064d3869469a3d98020f822a0236f4ba87345
MD5 4c3814ee2f186e82bd9d2aeb55092430
BLAKE2b-256 07bdf0e6a88618f5fbd89cfb15dd27bb471fe127d8f6e71ff249c6d37829edd0

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