Skip to main content

Convert strings into unicode playing cards

Project description

https://api.travis-ci.org/lmacken/unicards.png?branch=master https://coveralls.io/repos/lmacken/unicards/badge.png?branch=master https://pypip.in/v/unicards/badge.png https://pypip.in/d/unicards/badge.png

A Python module for converting strings into unicode playing cards.

http://lewk.org/img/unicards-4color.png

♠ 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'

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for unicards, version 0.6
Filename, size File type Python version Upload date Hashes
Filename, size unicards-0.6.tar.gz (6.3 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page