This is a test project
Project description
nbdev_cards
A deck of cards demo of nbdev based on ideas from Think Python 2e
Install
Install with pip:
pip install nbdev-cards
or:
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:
c = Card(suit=1, rank=1)
c
Card(rank=A, suit=dimonds)
Suits are numbered according to this list:
suits
['spades', 'dimonds', 'hearts', 'clovers']
and these ranks:
ranks
[None, 'A', '2', '3', '4', '5', '6', '7', '8', '9', '10', 'J', 'Q', 'K']
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for nbdev_playground_test-0.0.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | af07a8ebe92b0193b3819208eff21aaa34607c7eb2aac71a44137b14ef8e8046 |
|
MD5 | 5368eee46103bd7551172faa7c06b854 |
|
BLAKE2b-256 | df1877056f121d76a8bf6953f02755be8d2126d4b7c6afb2bf3f224ea5cb5942 |
Close
Hashes for nbdev_playground_test-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3473b96240edca60ed387a8c46ef9748ea00bf75d5c7064031d66de7f1ba451d |
|
MD5 | 68d9e09f610897334db78baa0937264d |
|
BLAKE2b-256 | f36905609b8e696a139b056d90f02b96d58e4c357e3299a28c0e7fc1187b0a25 |