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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 2 Python 3

File details

Details for the file CardStacks-0.1.3.tar.gz.

File metadata

  • Download URL: CardStacks-0.1.3.tar.gz
  • Upload date:
  • Size: 16.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for CardStacks-0.1.3.tar.gz
Algorithm Hash digest
SHA256 21f805da7b57200043d2f524340249464f8006851e71ed3738a0a6150806d8a3
MD5 ce0218ef3f5eac979c06fdf56b237e0b
BLAKE2b-256 c2c976d488d69541e68b92ea07760ee048d638aefb1836f4fef1c3d4768c4257

See more details on using hashes here.

File details

Details for the file CardStacks-0.1.3-py2.py3-none-any.whl.

File metadata

  • Download URL: CardStacks-0.1.3-py2.py3-none-any.whl
  • Upload date:
  • Size: 15.7 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for CardStacks-0.1.3-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 3f9ecc3411c361611341a16b4869c46d4487fd148b4ddcca330b978e6f59188a
MD5 51bb48b2d99aa345eb568fb6336bc028
BLAKE2b-256 1c62587e5264078bb3773f59797274555e1e04ee377f870b10463feccba088c2

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