Convert strings into unicode playing cards
Project description
A Python module for converting strings into unicode playing cards.
♠ Installation
pip install unicards
♦ API
>>> from unicards import unicard >>> print(unicard('As')) 🂡 >>> print(unicard('Jd')) 🃋 >>> print(unicard('Tc')) 🃚 >>> print(unicard('2h')) 🂲 >>> unicard('8d', color=True) u'\x1b[31m\U0001f0c8\x1b[39m'
♥ License
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
unicards-0.6.tar.gz
(6.3 kB
view details)
File details
Details for the file unicards-0.6.tar.gz
.
File metadata
- Download URL: unicards-0.6.tar.gz
- Upload date:
- Size: 6.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b06f6effd7782f9541e5761afc4ee01ee7e163f9c6c04ad9b3712354f0a2cfdd |
|
MD5 | f1b4334065612ade7d003e8394f05226 |
|
BLAKE2b-256 | 452b87a5f351750e0f924f077d1724a911af7fd4386449b73bdeb092a558ba7e |