Skip to main content

A sample of how to create a deck of cards lib using nbdev

Project description


A deck of cards demo of nbdev based on ideas from Think Python 2nd Edition by Allen B. Downey.


Install using:

pip install nbdev-cards


conda install -c fastai nbdev-cards

How to use

This lib provides a Card class you can use to create, display, and compare playing cards:


Suits are numbered according to this list:

['♣️', '♦️', '❤️', '♠️']

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nbdev-cards-0.0.1.tar.gz (8.4 kB view hashes)

Uploaded Source

Built Distribution

nbdev_cards-0.0.1-py3-none-any.whl (8.4 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page