Skip to main content

A Python module for creating French-suited standard playing card.

Project description

A Python module for creating French-suited standard playing card.

Example usage:

from standard_playing_card import Card

card = Card("2", "c")

print(card.get_rank())
# prints "2"

print(card.get_suit())
# prints "clubs"

Card(rank, suit) expects a string rank of the following values "2", "3", "4", "5", "6", "7", "8", "9", "10", "jack", "queen", "king", "ace", and a string suit of the following values "clubs", "diamonds", "hearts", "spades" or their shortened version "c", "d", "h", "s"

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

standard_playing_card-0.0.3.tar.gz (2.7 kB view details)

Uploaded Source

Built Distribution

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

standard_playing_card-0.0.3-py3-none-any.whl (3.4 kB view details)

Uploaded Python 3

File details

Details for the file standard_playing_card-0.0.3.tar.gz.

File metadata

  • Download URL: standard_playing_card-0.0.3.tar.gz
  • Upload date:
  • Size: 2.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.5

File hashes

Hashes for standard_playing_card-0.0.3.tar.gz
Algorithm Hash digest
SHA256 cc7c0572069205585c877c0b952b5ec88618e6f2908465725af15d75f9b1c1b4
MD5 995835ec37df2e1af955cb23d22ee6d4
BLAKE2b-256 d4da1ac0b8b428d8eb59791668b4d710f8589a1dca99d70bd3814265ade46729

See more details on using hashes here.

File details

Details for the file standard_playing_card-0.0.3-py3-none-any.whl.

File metadata

File hashes

Hashes for standard_playing_card-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 f22bc68fcabd7b6624d1dd8da906df3b4132fcad0b1733e1e5ab3fc1c24fa7a7
MD5 59c7be96e9817f28ad39c0c635ff6440
BLAKE2b-256 9025c4c46b13858fb20b6030515e0a78a362d985b2d69b7a980bcd1b649767e6

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