Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nbdev_playground_test-0.0.1.tar.gz (8.3 kB view details)

Uploaded Source

Built Distribution

nbdev_playground_test-0.0.1-py3-none-any.whl (8.0 kB view details)

Uploaded Python 3

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

Hashes for nbdev_playground_test-0.0.1.tar.gz
Algorithm Hash digest
SHA256 af07a8ebe92b0193b3819208eff21aaa34607c7eb2aac71a44137b14ef8e8046
MD5 5368eee46103bd7551172faa7c06b854
BLAKE2b-256 df1877056f121d76a8bf6953f02755be8d2126d4b7c6afb2bf3f224ea5cb5942

See more details on using hashes here.

File details

Details for the file nbdev_playground_test-0.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for nbdev_playground_test-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 3473b96240edca60ed387a8c46ef9748ea00bf75d5c7064031d66de7f1ba451d
MD5 68d9e09f610897334db78baa0937264d
BLAKE2b-256 f36905609b8e696a139b056d90f02b96d58e4c357e3299a28c0e7fc1187b0a25

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page