Skip to main content

A cyberpunk-themed terminal 3D cityscape process monitor

Project description

🌆 Zaibatsu Cityscape Process Monitor

Zaibatsu is an interactive, retro-cyberpunk terminal-based process monitor that represents running system processes as a living city skyline. The height, density, and animation of the buildings directly reflect how active and full your computer is.


🎨 Visual Features

  • The Skyline (Processes): Each building represents a running process.
    • Height: Proportional to the resource usage of the process (CPU % or Memory RSS).
    • Windows: The density of lit windows and their blinking speed represent real-time CPU usage.
    • Top Chimneys: Processes with high Disk I/O activity will release smoke or steam particles rising from their roofs.
    • Neon Signs: The names of the processes are printed vertically down the center of the buildings.
  • The Sky (System Load):
    • Stars: Twinkle dynamically.
    • Moon: Displays phases (Crescent, Half, Gibbous, Full) and warning colors based on overall RAM consumption.
    • Clouds: Scroll horizontally with speeds mapped to background activity.
    • Lightning: Flashes across the sky when system-wide CPU load exceeds 80%.
  • The Street (I/O Traffic):
    • Cars drive across the bottom lanes of the city.
    • Car spawn rate and driving speed are mapped to overall Disk Read/Write and Network speeds.
  • The Dashboard (TUI Control Panel):
    • Shows real-time CPU and RAM progress bars.
    • Displays Disk and Network speeds in B/s, KB/s, or MB/s.
    • Displays full detail statistics of the currently highlighted building/process.
    • Displays a terminal text filter/search bar.

🎮 Keyboard Controls

Key Action
/ / / or W / A / S / D Target/Highlight a building in the 2D grid
C Sort city buildings by CPU usage
M Sort city buildings by Memory usage
F Open process name filter (type query, press Enter to apply, Esc to cancel)
Space Pause / Resume real-time metrics updates (city animations stay active)
K / Delete Demolish Building — terminates the selected process with an explosion and collapse animation!
Q / Esc Shutdown Zaibatsu monitor

🚀 Setup & Launch

Zaibatsu runs on Windows (using Python's native msvcrt for keyboard polling) and requires a terminal that supports Unicode box characters and ANSI colors (e.g. Windows Terminal, VS Code, PowerShell, command prompt).

1. Setup Virtual Environment

Initialize a Python virtual environment and install dependencies:

py -m venv venv
venv\Scripts\activate
pip install -r requirements.txt

2. Run Zaibatsu

Run the launcher:

python run.py

3. Customize Options

You can configure themes (cyberpunk, matrix, sunset) and refresh rates:

python run.py --theme matrix --interval 0.2

🛠️ Project Structure

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

zaibatsu-0.1.2b0.tar.gz (37.9 kB view details)

Uploaded Source

Built Distribution

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

zaibatsu-0.1.2b0-py3-none-any.whl (38.7 kB view details)

Uploaded Python 3

File details

Details for the file zaibatsu-0.1.2b0.tar.gz.

File metadata

  • Download URL: zaibatsu-0.1.2b0.tar.gz
  • Upload date:
  • Size: 37.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for zaibatsu-0.1.2b0.tar.gz
Algorithm Hash digest
SHA256 afff6d6252b3597d0b485e0bf75ad252ba822c3667f2af730469051e016c216f
MD5 691de948c6893d76e0de4f3756a7a40a
BLAKE2b-256 7a2a779384cebc099b7cbc8befd39df573d0e250f3083c9eb677f8779e26bdb1

See more details on using hashes here.

Provenance

The following attestation bundles were made for zaibatsu-0.1.2b0.tar.gz:

Publisher: release.yml on DIIZZYFPS/Zaibatsu

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file zaibatsu-0.1.2b0-py3-none-any.whl.

File metadata

  • Download URL: zaibatsu-0.1.2b0-py3-none-any.whl
  • Upload date:
  • Size: 38.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for zaibatsu-0.1.2b0-py3-none-any.whl
Algorithm Hash digest
SHA256 ffc682ac3d51c7a1272583e65a38725f6088079e5c526c6ee359402ce8e68c20
MD5 db6b7aa0cbed3dc65d457580122b4076
BLAKE2b-256 fd4c7ac5f6cd2fef6986539fe8523173a4a5a58e14dc3dec1d28628c7509c8a4

See more details on using hashes here.

Provenance

The following attestation bundles were made for zaibatsu-0.1.2b0-py3-none-any.whl:

Publisher: release.yml on DIIZZYFPS/Zaibatsu

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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