D20

Latest version: v1.1.2

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

Scan your dependencies

Page 1 of 4

1.1.2

Adds type hints to main roll methods and utils, preventing IDEs like PyCharm from reading the docstrings and complaining about types

1.1.1

- Fixes an issue where `utils.tree_map` would not copy a Set's values, leading to map operations modifying the cached expression/AST (see avrae/avrae1537)

1.1.0

- Added support for percentile dice (`Xd% => {0, 10, ..., 90}`) (thanks dalemyers!)
- Fixed an issue where `requirements.txt` was missing while building from sdist (thanks nikkobautista!)
- Fixed some inconsistent indentation in README

1.0.4

Changes the grammar of dice to be explicit in where whitespace is allowed, handling many more comment ambiguity cases.

1.0.3

Handles more comment ambiguities in parsing when `allow_comments=True`.

1.0.2

Fixes an issue where `RollResult.total` and `RollResult.result` would not represent the most up-to-date result of the expression (in case the expression was directly modified)

Page 1 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.