Card game and simulation library and tools. Part of the OneJoker project.
Project maintained by Lee Daniel Crocker
Lee's blog is etceterology.
As long as your Python implementation can find the library where you have installed it, programs need only import the package ojcardlib. Further details of the functions available are shown in the Python API document. A short example:
import ojcardlib as oj
deck = oj.CardList(52)
hand = oj.CardList(5)
for i in range(5):