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

Uploaded Python 3

File details

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

File metadata

  • Download URL: batch24_28-1.2.4.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.4.tar.gz
Algorithm Hash digest
SHA256 797187aedad456bf004cd795d9d4c73d2ff6c97209dc3bc88675e1b28c12eaa2
MD5 3ffc5f8111b36f22a7051ecd9f0cb343
BLAKE2b-256 f3967c642b8f890d72472cb6643e1d926d2e969cd815ea93c5d93d4ca4eb3188

See more details on using hashes here.

File details

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

File metadata

  • Download URL: batch24_28-1.2.4-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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 7209e10480370b11232c89858c51c55f38b4c5388ba53697c60e31b21a7afa5d
MD5 fdb6613c15c823c76a348e2d0f10aad6
BLAKE2b-256 b32b7e7c99e1b7dd40f9b36f985a7f8ec3fec3cbd044ee7980171b49348104da

See more details on using hashes here.

Release history Release notifications | RSS feed

1.2.6

2 files

1.2.5

2 files

This release

1.2.4 This release

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