PythonCards is a Python library for creating playing cards and playing card stacks. It is designed to be extensible and easy to use.
pip install CardStacks
This is an Example showing how to create a deck of cards and draw a hand of 5 cards.
from CardStacks import CardStack
Stack = CardStack()
hand = Stack.draw(5)
print(hand)
All the functions are documented in the Documentation.
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.