D20

Latest version: v1.1.2

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

Scan your dependencies

Page 2 of 4

1.0.1

- Handles a case where an invalid dice expression would raise `UnexpectedCharacters` instead of `RollSyntaxError`

1.0.0

Initial release

1.0.0rc3

- Fixes an issue where annotations would not bubble up out of the child of Parenthetical objects when using `utils.simplify_expr_annotations()`

1.0.0rc2

- made `utils.simplify_expr_annotations()` not annotate the right sides of multiplicative binops in ambiguity resolution

1.0.0rc1

- added documentation
- added the ability to pass a RollContext instance to Roller instead of having to make a subclass

0.7.0

- BREAKING: rename `d20.models` to `d20.expression`
- Add utilities to `utils` module to traverse tree
- Add unified ChildMixin
- Added ability to cast a RollResult to int/float

Page 2 of 4

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.