Metadata-Version: 2.1
Name: hamel-deck-of-cards
Version: 0.0.1
Summary: An example repository for nbdev
Home-page: https://github.com/fastai/hamel_deck_of_cards/tree/main/
Author: Isaac Flath
Author-email: dev@fast.ai
License: Apache Software License 2.0
Keywords: nbdev
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: Natural Language :: English
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: License :: OSI Approved :: Apache Software License
Requires-Python: >=3.7
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: fastcore
Provides-Extra: dev
Requires-Dist: plotly (==5.5.0) ; extra == 'dev'
Requires-Dist: pandas (==1.4.3) ; extra == 'dev'
Requires-Dist: nbformat (>=4.2.0) ; extra == 'dev'

Deck of Cards
================

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

This repo uses code from [Allen Downey’s](http://allendowney.com/)
[ThinkPython2](https://github.com/AllenDowney/ThinkPython2).

## Install

After cloning this repository:

`pip install -e .`

> There is already a project called [deck_of_cards on
> pypi](https://pypi.org/project/deck-of-cards/). This project has no
> relation to that. This project is an example of how to create python
> packages with [nbdev](https://github.com/fastai/nbdev).

## How to use

Playing cards in python!

``` python
from deck_of_cards.deck import Deck
d = Deck()
print(f'Number of playing cards in the deck: {len(d.cards)}')
```

    Number of playing cards in the deck: 52

``` python
card = d.pop_card()
print(card)
```

    King of Spades

See [the docs](https://isaac-flath.github.io/deck_of_cards/) for more
info.


