Skip to main content

A simple library for creating and manipulating stacks of cards.

Project description

PythonCardStacks


Description

PythonCards is a Python library for creating playing cards and playing card stacks. It is designed to be extensible and easy to use.

Installation

pip install CardStacks

Usage

This is an Example showing how to create a deck of cards and draw a hand of 5 cards.

from CardStacks import CardStack

Stack = CardStack()
hand = Stack.draw(5)
print(hand)

All the functions are documented in the Documentation.

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

GNU GPLv3

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

CardStacks-0.1.3.tar.gz (16.3 kB view hashes)

Uploaded Source

Built Distribution

CardStacks-0.1.3-py2.py3-none-any.whl (15.7 kB view hashes)

Uploaded Python 2 Python 3

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