Cap-tools

Latest version: v3.1.1

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

Scan your dependencies

Page 1 of 2

3.1.1

Fix

- **pyproject.toml**: improve project metadata

3.1.0

Feat

- **cap_tools.AlertState**: add new class AlertState
- **cap_tools.Reference**: add from_alert static method

Refactor

- **tests**: refactor Hypothesis strategies, introducing strategies for Alert and Info

3.0.0

BREAKING CHANGE

- Alert.references_to_list and Alert.references_from_list now return/receive list[Reference] instead of list[str].
- The capability of uting keyword-arguments was removed.

Feat

- **cap_tools**: introduce Reference NamedTuple

Refactor

- **utils**: change split_and_remove_quotes and join_and_maybe_add_quotes to accept positional arguments only

2.5.1

Fix

- **cap_tools.models**: replace wrong type annotation MultiDict[str, str] -> MultiDict[str]

Refactor

- **cap_tools**: add py.typed
- **tests**: add type hints for tests

2.5.0

Feat

- **cap_tools.models.Alert**: add *_to_list() and *_from_list() methods to split/join group listings

2.4.0

Feat

- **cap_tools.models**: *_to_dict() now return MultiDict, *_from_dict() now accept Mapping

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.