Skip to main content

♣ unicards

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'

♥ License

Apache License, Version 2.0

Release files for unicards 0.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for unicards 0.6
File Size Uploaded
unicards-0.6.tar.gz 6.3 kB Details

Release files / unicards-0.6.tar.gz

Download URL unicards-0.6.tar.gz
Size 6.3 kB
Tags Source
SHA-256 checksum
How to use checksums
b06f6effd7782f9541e5761afc4ee01ee7e163f9c6c04ad9b3712354f0a2cfdd
BLAKE2b-256 checksum
How to use checksums
452b87a5f351750e0f924f077d1724a911af7fd4386449b73bdeb092a558ba7e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.6 This release

1 release file

0.5

1 release file

0.4

1 release file

0.3

1 release file

0.2

1 release file

0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page