Ansiplus

Latest version: v2.1

Safety actively analyzes 623219 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

2.1

Added
- Foreground colors:
- rainbow: resembles the colors of a rainbow
- random: assigns a random color to each character

Changed
- tests: prompt text for colored input

Bug Fixes
- inability to validate prompt color

2.0

Added
- ability to color prompt text along with prompt input text
- ability to clear prompt line subsequent to receiving user input
- ability to convert color name to ansi code
- ability to use rgb colors with prompt inputs

Removed
Functions
- print_rgb

1.1

Added
- new class for custom input prompt: `NewPrompt`
- view prompt history
- clear prompt history
- use specified or set default colors
- new `clear_screen` argument option: "all"
- relocates cursor to home position prior to clearing screen and buffer

Changed
- changed default `clear_screen` argument from "screen" to "all"

1.0.1.post1

- added url to setup.py

1.0.1

- fixed import errors

Links

Releases

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.