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.2.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.2-py3-none-any.whl (3.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: standard_playing_card-0.0.2.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.2.tar.gz
Algorithm Hash digest
SHA256 439f76d77c9d18542dfcf500cff3adf42b702604cca11a1bde6821c4feaa2594
MD5 413748e8fac5f849d1abf6350ae7d138
BLAKE2b-256 f57ea2809fc87669046ee2396c9a325e931549d934458313714a51c1d9d3369f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for standard_playing_card-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 c115a65027a3fecf5b26bcea423ac1e36d4d4801d9be467a42999d10e43e4514
MD5 a499a8c19952bfb7ca1865cabaa9fbcc
BLAKE2b-256 56fbb297f54225aab098bcf8ca2f3015f8ad04deee672dd959435eebade24821

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