Utilities

This section documents the utility modules in ShellSense.

Loading Animation

Module for displaying loading animations and status messages.

class shellsense.utils.loading.FuturisticLoading[source]

Bases: object

A class for displaying futuristic loading animations and status messages.

clear()[source]

Clear the current line in the terminal.

start(text: str, color: str = 'WHITE')[source]

Start the loading animation.

Parameters:
  • text (str) – Text to display alongside the animation.

  • color (str) – Color of the text (RED, GREEN, BLUE, etc.).

stop(final_text: str = '', color: str = 'WHITE')[source]

Stop the loading animation.

Parameters:
  • final_text (str) – Final text to display.

  • color (str) – Color of the final text.

text(text: str, color: str = 'WHITE')[source]

Update the loading text.

Parameters:
  • text (str) – New text to display.

  • color (str) – Color of the text.

Logging Manager