pcards — Playing Cards Library

pcards is a general purpose playing cards library. Classes are provided for playing cards, a card deck with a discard pile, a full container-class card hand class, and a poker hand class including hand evaluation and comparison.

View the Video Poker application for an example of using the pcards library in a real life setting.

Source Code and Downloads

View the pcards source code:

Python distutils distributions available from the Python Package Index:

Regular compressed archives available locally: