Ansiplus

Latest version: v3.1

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

Scan your dependencies

Page 1 of 2

3.1

- added ability to use hex colors

3.0

- changed submodule `tests` to `tools` to clarify purpose
- changed order of some functions:
- move_cursor(direction, no) is now move_cursor(no, direction)

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

Page 1 of 2

Links

Releases

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.