Skip to main content

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
['♣️', '♦️', '❤️', '♠️']

Release files for nbdev-cards 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for nbdev-cards 0.0.1
File Size Uploaded
nbdev-cards-0.0.1.tar.gz 8.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for nbdev-cards 0.0.1
File Interpreter ABI Platform
nbdev_cards-0.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 16.7 kB

Release files / nbdev-cards-0.0.1.tar.gz

Download URL nbdev-cards-0.0.1.tar.gz
Size 8.4 kB
Tags Source
SHA-256 checksum
How to use checksums
dd53443277bf8e7a8be40e873bb52a916d1a96aa09bc8b5b6aee2e3d720b2354
BLAKE2b-256 checksum
How to use checksums
c8ec48b0743c3a15eaccb49ee967f9efa89ba9aa71a3a1dc74d9ec1903a435a5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.13

Release files / nbdev_cards-0.0.1-py3-none-any.whl

Download URL nbdev_cards-0.0.1-py3-none-any.whl
Size 8.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d63bc6fa6fcb9976b8f29f059d0355007d4848cc9538be1dd287ae259d18cb35
BLAKE2b-256 checksum
How to use checksums
35afe3fbd9fe488f4dbdd9e4f1249404de880b66c01381b9a2a2cd9da2235249
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.13

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page