Generalpy

Latest version: v1.17.0

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

Scan your dependencies

Page 3 of 6

1.11.0

💠 [New] `Signal` class
- A signal object that can be used to connect callback.
- Simply connect a callback using `.connect(...)` method.
- Emit the signal using `.emit(...)` method.

1.10.2

Bug fix in `replace_html_tags`

1.10.1

Improved
- `remove_extra_spaces` now removed invisible characters and html whitespace i.e `&32;`

1.10.0

New
- Added `ignore` parameter to `replace_html_tags`
- [New function] `remove_extra_spaces`: Removed extra spaces between words.

1.9.1

Improved
- Added `ignore` parameter for `retry_support` decorator.

1.9.0

New decorators:
- `retry_support`: Retry the decorated function gracefully.

New general functions:
- `first_capital`: Make first letter capital without changing any other thing.
- `get_first_non_alphabet`: Returns the first non-alphabet character from string.
- `punctuate`: Adds punctuation after string, if not present.
- `replace_html_tags`: Replace html tags from a string.
- `similarized`: Takes a list of strings and returns a list of sublists of similar-strings.
- `sliced_list`: Slice a list into a list of sublists, where each sublist contains specific no. of items.

Page 3 of 6

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.