A sample of how to create a deck of cards lib using nbdev
Project description
nbdev_cards
A deck of cards demo of nbdev based on ideas from Think Python 2nd Edition by Allen B. Downey.
Install
Install using:
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:
Card(1,3)
3♦️
Suits are numbered according to this list:
suits
['♣️', '♦️', '❤️', '♠️']
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
nbdev-cards-0.0.1.tar.gz
(8.4 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file nbdev-cards-0.0.1.tar.gz.
File metadata
- Download URL: nbdev-cards-0.0.1.tar.gz
- Upload date:
- Size: 8.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dd53443277bf8e7a8be40e873bb52a916d1a96aa09bc8b5b6aee2e3d720b2354
|
|
| MD5 |
55b46ae4b872a2a0ffe581cf1950e06d
|
|
| BLAKE2b-256 |
c8ec48b0743c3a15eaccb49ee967f9efa89ba9aa71a3a1dc74d9ec1903a435a5
|
File details
Details for the file nbdev_cards-0.0.1-py3-none-any.whl.
File metadata
- Download URL: nbdev_cards-0.0.1-py3-none-any.whl
- Upload date:
- Size: 8.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d63bc6fa6fcb9976b8f29f059d0355007d4848cc9538be1dd287ae259d18cb35
|
|
| MD5 |
193fd78a52b0b72af3f5a58039063bc9
|
|
| BLAKE2b-256 |
35afe3fbd9fe488f4dbdd9e4f1249404de880b66c01381b9a2a2cd9da2235249
|