Pokerkit

Latest version: v0.6.1

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

Scan your dependencies

Page 5 of 6

0.4.0

---------------------------------

**Changed**

- When not enough cards to deal everybody's hole cards, a board dealing is done.
- Showdown can specify what cards the player showed.
- More generous state operations when it comes to cards. Some things that were errors are now warnings.
- When all-in, cards are shown via ``show_or_muck_hole_cards``.
- ``None`` is no longer ``ValuesLike`` or ``CardsLike``.

**Added**

- Cards with unknown rank or suit.
- ``float`` compatibility (without static typing support).
- Poker action notation support.
- Poker hand history file format (.phh) support.

0.3.2

--------------------------------

**Changed**

- When saving state configuration, ``player_count`` is not saved.

0.3.1

--------------------------------

**Added**

- Allow state configuration to be saved.

0.3.0

-------------------------------

**Changed**

- Call ``unittest.main`` in unit test files when executed as ``__main__``.
- Move the ``automations`` parameter to be the first parameter of ``pokerkit.state.State``.

0.2.1

----------------------------------

**Changed**

- Make ``pokerkit.state.Operation`` available as ``pokerkit.Operation`` by importing it in ``pokerkit.__init__``.

0.2.0

----------------------------------

**Changed**

- Limit the maximum number of completions, bets, or raises to 4 in the pre-configured Fixed-limit deuce-to-seven triple draw and Fixed-limit badugi variants.
- Flip antes just like blinds during heads-up play (in the case of big blind antes).
- Also reshuffle all discarded cards (including from the current draw round) along with mucked and burned cards when the deck runs out. Previously, discarded cards from the same draw round was excluded.
- Rename ``pokerkit.state.State.verify_card_availability_making`` to ``pokerkit.state.State.verify_cards_availability_making``.

**Added**

- Add more unit tests and doctests to achieve 99% code coverage.

Page 5 of 6

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.