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.2.tar.gz (9.1 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.2-py3-none-any.whl (8.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: nbdev_cards3.14-0.0.2.tar.gz
  • Upload date:
  • Size: 9.1 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.2.tar.gz
Algorithm Hash digest
SHA256 8d39019d20da6bcc80012eabba2dca3a33a7a57d2f6b5aff7c48c87cd6a84ee3
MD5 45fa4b1aa3341b49c12218f70c6971b2
BLAKE2b-256 d0583aac951034a48abbe92e6c32ff210004525c7966a06df367f825319e2e35

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for nbdev_cards3.14-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 34a47264854bf4d5ebee849c6cd7655dd2238e8ad4fbb9e2154ad5dd46e09152
MD5 e1fd5a9a23e77b15e1df4c111c0f4e7b
BLAKE2b-256 4bd645701e1945b5f71eeec75b69a5cb978f2913dfb19383968cb979b3e21922

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