Skip to main content

A nbdev tutorial on a tiny project

Project description

make sure nbdev_cards package is installed in development mode

# nbdev_cards

A sample of how to create a deck of cards lib using nbdev

A deck of cards demo of nbdev based on ideas from Think Python 2nd Edition by Allen B. Downes

This file will become your README and also the index of your documentation.

Developer Guide

If you are new to using nbdev here are some useful pointers to get you started.

Install

Install using:

pip install your nbdev_cards

or:

conda install -c fastai nbdev_cards

Install nbdev_cards in Development mode

Usage

Installation

Install latest from the GitHub repository:

$ pip install git+https://github.com/rdned/nbdev_cards.git

or from conda

$ conda install -c rdned nbdev_cards

or from pypi

$ pip install nbdev_cards

Documentation

Documentation can be found hosted on this GitHub repository’s pages. Additionally you can find package manager specific guidelines on conda and pypi respectively.

How to use

This lib provides a Card class you can use to create, display, and compare playing cards:

suits
['♣', '♦', '♥', '♠']
Card(1,3)
3, ♦

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_cards3.14-0.0.1.tar.gz (9.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nbdev_cards3.14-0.0.1-py3-none-any.whl (8.9 kB view details)

Uploaded Python 3

File details

Details for the file nbdev_cards3.14-0.0.1.tar.gz.

File metadata

  • Download URL: nbdev_cards3.14-0.0.1.tar.gz
  • Upload date:
  • Size: 9.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.3

File hashes

Hashes for nbdev_cards3.14-0.0.1.tar.gz
Algorithm Hash digest
SHA256 17f81dda0f391513df0ef491b08066edad8e28800b2864c523ac2ccb183ac0cf
MD5 932f79b81a9cdeba48f73760a910170b
BLAKE2b-256 61a14ebb00de8262f87cc05b0a0c0a3f23ff27ea6c2f53148d14fd4017bb7fbe

See more details on using hashes here.

File details

Details for the file nbdev_cards3.14-0.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for nbdev_cards3.14-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 127d8999c5e8689964a2ed8cf85e58f7efb8bfbba63a2b076a3ddc3973282ff3
MD5 26f37dd88fec6dc8f9bce0a33dacf8a3
BLAKE2b-256 6710a7decd2781de0236ac05f1dbd26d56e4e60e7ac88b1216cca571b9b59e58

See more details on using hashes here.

Supported by

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