Metadata-Version: 2.1
Name: nbdev-playground-test
Version: 0.0.1
Summary: This is a test project
Home-page: https://github.com/__token__/nbdev_cards
Author: gianni crivello
Author-email: gianni.crivello96@gmail.com
License: Apache Software License 2.0
Keywords: nbdev jupyter notebook python
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Natural Language :: English
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: License :: OSI Approved :: Apache Software License
Requires-Python: >=3.7
Description-Content-Type: text/markdown
License-File: LICENSE
Provides-Extra: dev

# nbdev_cards


<!-- WARNING: THIS FILE WAS AUTOGENERATED! DO NOT EDIT! -->

A deck of cards demo of [nbdev](https://nbdev.fast.ai) based on ideas
from Think Python 2e

## Install

Install with pip:

``` sh
pip install nbdev-cards
```

or:

``` sh
conda install -c fastai nbdev-cards
```

## How to use

This lib provides a
[`Card`](https://gkteco.github.io/nbdev_cards/card.html#card) class you
can use to create, display, and compare playing cards:

``` python
c = Card(suit=1, rank=1)
```

``` python
c
```

    Card(rank=A, suit=dimonds)

Suits are numbered according to this list:

``` python
suits
```

    ['spades', 'dimonds', 'hearts', 'clovers']

and these ranks:

``` python
ranks
```

    [None, 'A', '2', '3', '4', '5', '6', '7', '8', '9', '10', 'J', 'Q', 'K']
