Helper-for-maxi

Latest version: v1.2.4.post2

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

Scan your dependencies

1.2.41

FIXED
- Fixed the code in `Terminal.ChoiceInterface`

CHANGED
- From now on using `{version}:{fix}` to symbolize versions that just fix stuff from `{version}`
- e.g. 1.2.4:1
- when importing, version is {version}.post{fix}
---------------

1.2.4

ADDED
- Added parameters to `ChoiceInterface.__init__()`
- `navigatePreviousKeys: _keys | _key = Key.up,`
- Select previous Choice
- `navigateNextKeys: _keys | _key = Key.down`
- Select next Choice
- `choicesOnLine: int = 1`
- How many choices to show on one line
- `seperator: str = ""`
- Seperator between choices on the same line

---------------

1.2.3

ADDED
- ANSI codes in `Terminal.color.foreground`
- `STRIKETHROUGH`, `FGRESET`
- ANSI codes in `Terminal.color.background`
- `BGRESET`
- `Terminal.Cursor`
- Allows manipulation of the terminal cursor, such as movement and visibility of it.
- `Terminal.Manager`
- Currently only contains methods for clearing the terminal in specific ways.
- `inputColor` parameter to `betterColorInput` and `colorInput`

CHANGED
- Made `_utils.ANSICodeBase` use `outputStdout` instead of `print`
- Added the `checkParams` decorator to most functions
- some string parameters to `*args` parameters, adding the `sep` parameter to separate objects
in the `*args` parameter

FIXED
- Made the `checkParams` decorator work. Now works with:
- annotated `*args` parameters
- annotated `**kwargs` parameters
- Note that this only checks for the annotated types in the values given and does not, like
the `KWArgsHandler`, validate the keys and check for the specific type in the value for
the given key.
- hopefully any type I'll ever use. If not, it throws a useful `NotImplementedError` showing
useful information for implementing it.

---------------

1.2.2

FIXED
- Added the missing imports for the ANSI codes to the `Terminal/color/foreground/__init__.py` file
- Fixed a mistake with redundant underscores before `ANSICodeBase` in `isinstance()` checks in
`_utils/_ansi_code_base.py`

---------------

1.2.1

CHANGED
- Switched from using an Enum for `Terminal.color.*.*` to using class-instances with `__repr__`
functions and a `value` property for backwards compatibility.

---------------

1.2.0

CHANGED
- Added parameter `returnLine` to `ChoiceInterface`
- changes return type to `tuple[int, str]` if `True`

Links

Releases

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.