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
File details
Details for the file nbdev_playground_test-0.0.1.tar.gz
.
File metadata
- Download URL: nbdev_playground_test-0.0.1.tar.gz
- Upload date:
- Size: 8.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | af07a8ebe92b0193b3819208eff21aaa34607c7eb2aac71a44137b14ef8e8046 |
|
MD5 | 5368eee46103bd7551172faa7c06b854 |
|
BLAKE2b-256 | df1877056f121d76a8bf6953f02755be8d2126d4b7c6afb2bf3f224ea5cb5942 |
File details
Details for the file nbdev_playground_test-0.0.1-py3-none-any.whl
.
File metadata
- Download URL: nbdev_playground_test-0.0.1-py3-none-any.whl
- Upload date:
- Size: 8.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3473b96240edca60ed387a8c46ef9748ea00bf75d5c7064031d66de7f1ba451d |
|
MD5 | 68d9e09f610897334db78baa0937264d |
|
BLAKE2b-256 | f36905609b8e696a139b056d90f02b96d58e4c357e3299a28c0e7fc1187b0a25 |