Skip to main content

Dynamic terminal state renderer using Rich

Project description

FluxDeck

FluxDeck is a lightweight Python utility for dynamically managing and rendering structured console output without clutter. It acts as a simple in-terminal state dashboard that continuously updates displayed information in real time.

It is built using Python threading and Rich’s live rendering system.


Features

  • Dynamic category-based message tracking
  • Live console updates without manual clearing
  • Muting and unmuting of output categories
  • Threaded rendering loop for continuous display updates
  • Lightweight design with minimal dependencies

Requirements

  • Python 3.8+
  • rich

Install dependency:

pip install requirements.txt

pip install compatible

pip install git+https://github.com/GidTheGreat/Fluxdeck.git

Example Usage

This example demonstrates how FluxDeck updates and controls dynamic console output.

from fluxdeck import FluxDeck
import time

flux = FluxDeck()

# Initial system state
flux.flux("status", "Initializing system")
flux.flux("network", "Connected")

time.sleep(2)

# Update state dynamically
flux.flux("status", "Running")
flux.mute("network")

time.sleep(2)

# Restore and update a muted category
flux.unmute("network")
flux.flux("network", "Restored connection")

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

fluxdeck-0.2.1.tar.gz (3.2 kB view details)

Uploaded Source

Built Distribution

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

fluxdeck-0.2.1-py3-none-any.whl (3.6 kB view details)

Uploaded Python 3

File details

Details for the file fluxdeck-0.2.1.tar.gz.

File metadata

  • Download URL: fluxdeck-0.2.1.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for fluxdeck-0.2.1.tar.gz
Algorithm Hash digest
SHA256 da382e6ca7831a643b43eee82a7e5c4ef95817de0273b9249707e7814b0fa5fa
MD5 9b046f68c8b13f48070953cadfe3b3e6
BLAKE2b-256 739693ad11805f2c62e89485754eff84c4dd1f476be5dc48d7c290a2a30da568

See more details on using hashes here.

File details

Details for the file fluxdeck-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: fluxdeck-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 3.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for fluxdeck-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2413bccc6b4912cd4e665c9254ed810f1aedcf0607763f5be2d043ef487cd237
MD5 815293aa5de2962adb7aa3948a72450e
BLAKE2b-256 94126eadb9a69d6a7ed7d9dcc616d33849a9375726bc0d448d9334400e5c7b26

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