PyStyle is a Python library for styling terminal text with colors, gradients, patterns, and effects (e.g., bold, underline). It provides an intuitive API for cross-platform terminal ANSI color output, with support for custom color sequences and animations. The current version is 2.9, with sporadic releases.
pip install pystyleVerified import paths — ran on the pinned version, not inferred.
Prints a string with a blue-to-cyan gradient effect.
Use Write.Print('text', Colors.blue) or Write.Input('prompt', Colors.red_to_yellow)Set terminal width explicitly or use a fallback: Center.XCenter(text) might not work as expected in non-terminal environments.
Use os.system('cls' if os.name == 'nt' else 'clear') directly for clearing the console.Check terminal color support or fall back to basic Colors.blue style.
No dependency data recorded yet.