Icepool

Latest version: v1.4.0

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

Scan your dependencies

Page 8 of 14

0.15.0

Added type hints. Now requires Python 3.10 or later.

Other changes:

* Add `apply_sorted()` method.
* Add `Die.set_range()`.
* `standard()` / `d()` argument is now positional-only.

0.14.1

Reinstate alternate internal `EvalPool` algorithm, which provides better performance in some cases.

0.14.0

* Added a new `EvalPool.alignment()` method. This allows to specify an iterable of outcomes that should always be seen by `next_state` even if they have zero count.
* The free function `d()` is now simply an alias for `standard()`.
* Removed `Die.d()`.
* The `` operator now casts the right side to a `Die` like other operators.
* Some internal changes to `EvalPool` algorithm.

0.13.2

The data of a die resulting from `==` or `!=` is lazily evaluated.

This saves computation in case the caller is only interested in the truth value.

0.13.1

`EvalPool` favors the cached direction more.

0.13.0

Major reworking of pool construction.

* Public constructor is now just `Pool(*dice)`.
* In particular, no more `truncate_min` or `truncate_max` arguments.
* Pools can be of arbitrary dice, though non-truncative sets of dice will have lower performance. There is some performance penalty overall.
* `apply()` called with no arguments now calls `func` once with no arguments.

Page 8 of 14

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.