Skip to main content

batch24-28

A versatile terminal based utility, gaming and productivity suite featuring interactive tracking tools, computational modules, custom terminal art and text games.


Installation

Install directly from PyPI using pip:

pip install batch24-28

Features & Usage Guide

1. Welcome Art Banner

Display a clean, structured notification header or welcome banner in your terminal applications.

from batch24_28 import print_hello

print_hello()

2. Productivity Timers Suite

Run live tracking utilities right inside your script. Both tools use carriage returns (\r) to overwrite the line dynamically, keeping your terminal workspace completely clean without spamming new lines.

from batch24_28 import run_interactive_timer, start_stopwatch, start_countdown

# Option A: Interactive countdown setup that asks you for the duration
run_interactive_timer()

# Option B: Pass the minutes directly (e.g., a 5-minute timer)
start_countdown(5)

# Option C: Live stopwatch — press Ctrl + C to stop and view total time
start_stopwatch()

3. Advanced Calculator

A fast mathematical calculation utility to compute numerical data dynamically within your workspace scripts.

from batch24_28 import AdvancedCalculator

calc = AdvancedCalculator()
calc.interact()

4. Rock Paper Scissors Game

Launch an interactive text-based Rock, Paper, Scissors mini-game straight from the command prompt.

from batch24_28 import RockPaperScissors

game = RockPaperScissors()
game.play()

5. Terminal Chess Engine

Launch interactive full chess mechanics straight from the command prompt. Perfect for lightweight CLI based entertainment.

from batch24_28 import TerminalChess

game = TerminalChess()
game.play()

6. System Performance Monitor

Keep track of your system health in real-time. This module displays your current CPU and memory usage, using carriage returns (\r) to ensure your terminal stays clean and readable without filling up the screen.

from batch24_28 import start_system_monitor

# Launches a live monitor. Press Ctrl + C to stop.
start_system_monitor()

7. System Performance Sentinel

Monitor your CPU usage and receive real-time alerts when it exceeds a set threshold.

from batch24_28 import monitor_performance

# Monitor for CPU usage > 80%
monitor_performance(threshold=80)

8. System Information Reporter

Generates a comprehensive snapshot of system hardware and environment status.

from batch24_28 import generate_system_report

# Generate report to a file
generate_system_report("system_report.txt")

9. System Performance Sentinel

Monitor a directory for file system changes (created, modified, or deleted).

from batch24_28 import start_file_watcher

# Watch the current directory
start_file_watcher(path=".")

10. Computer Vision & Emotion Analysis Toolkit

An interactive computer vision pipeline powered by MediaPipe hand-tracking and deep learning emotion recognition. Includes virtual mid-air drawing (Air Canvas) and facial expression tracking via webcam, static images, or video files.

from batch24_28 import VisionAnalyzer

analyzer = VisionAnalyzer()

# Option A: Run live Air Canvas and Emotion detection via webcam
analyzer.run_air_canvas(run_draw=True, run_emotion=True)

# Option B: Analyze facial expression from a static image file
emotion, score, img = analyzer.analyze_image_file("path_to_image.jpg")
print(f"Detected: {emotion} ({int(score * 100)}%)")

# Option C: Stream and analyze a video file for expressions
analyzer.analyze_video_file("path_to_video.mp4")

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

batch24_28-1.2.5.tar.gz (10.9 kB view details)

Uploaded Source

Built Distribution

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

batch24_28-1.2.5-py3-none-any.whl (11.7 kB view details)

Uploaded Python 3

File details

Details for the file batch24_28-1.2.5.tar.gz.

File metadata

  • Download URL: batch24_28-1.2.5.tar.gz
  • Upload date:
  • Size: 10.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.9

File hashes

Hashes for batch24_28-1.2.5.tar.gz
Algorithm Hash digest
SHA256 5d797f9814335858fecea6dab693bd472a630766409b030c3c8812abe8485686
MD5 5551f241ef3b45dc849f672d67626a44
BLAKE2b-256 447eba8be527f0b2218575cd871a1f4a4456dc67631f813c72db667b9fc14e49

See more details on using hashes here.

File details

Details for the file batch24_28-1.2.5-py3-none-any.whl.

File metadata

  • Download URL: batch24_28-1.2.5-py3-none-any.whl
  • Upload date:
  • Size: 11.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.9

File hashes

Hashes for batch24_28-1.2.5-py3-none-any.whl
Algorithm Hash digest
SHA256 e334a1f7c4fbcbf230c67033b0486d2e847979dc39f9a8f47bb8748cbd21d339
MD5 1ec4292c23b3b0d5cba3604c5e629b27
BLAKE2b-256 b9a70995babcf8b6df8bb9d2d4db9cb10616d1b164108c28be7196665e839a49

See more details on using hashes here.

Release history Release notifications | RSS feed

1.2.6

2 files

This release

1.2.5 This release

2 files

1.2.4

2 files

1.2.3

2 files

1.2.2

2 files

1.2.1

2 files

1.1.9

2 files

1.1.8

2 files

1.1.7

2 files

1.1.6

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page