A deck of cards demo of nbdev based on ideas from Think Python 2nd Edition by Allen B. Downey.
Output of running the Card/Deck API via a short Python script (code shown in the image).
Not published to PyPI. Install from source:
git clone https://github.com/moneebullah25/python_nbdev_starter
cd python_nbdev_starter && pip install -e .
This lib provides a Card class you can use to create, display, and
compare playing cards:
Card(1,3)3♦️
Suits are numbered according to this list:
suits['♣️', '♦️', '❤️', '♠️']
Apache License 2.0. See LICENSE.
