Text Styler
Convert ASCII alphanumeric text to a random style using Unicode character normalization.
This script uses the Mathematical Alphanumeric Symbols from the Unicode database to find a stylish looking replacement for each input character.
CLI Usage
Usage: python text_styler.py "<text>"
$ python text_styler.py "Hello World"
𝖧𝖾𝔩𝖑𝕠 𝑊𝙤𝒓𝒍𝘥
$ python text_styler.py "Python is an interpreted, high-level, general-purpose programming language. Created by Guido van Rossum and first released in 1991"
𝖯𝑦𝓉𝙝𝗼𝗻 𝚒𝘴 𝐚𝙣 𝘪𝗻𝒕𝕖𝘳𝙥𝑟𝗲𝙩𝙚𝑑, 𝒉𝖎𝕘𝗵-𝔩𝙚𝒗𝒆𝔩, 𝓰𝔢𝙣𝕖𝔯𝙖𝘭-𝗉𝖚𝑟𝚙𝑜𝒔𝔢 𝕡𝐫𝗼𝒈𝓇𝕒𝖒𝑚𝔦𝖓𝔤 𝔩𝘢𝖓𝖌𝓊𝒂𝙜𝗲. 𝑪𝗿𝓮𝔞𝑡𝚎𝐝 𝕓𝖞 𝐺𝖚𝐢𝖉𝔬 𝗏𝖺𝔫 𝓡𝑜𝑠𝐬𝚞𝒎 𝒶𝘯𝓭 𝒇𝘪𝓇𝔰𝘵 𝕣𝗲𝐥𝙚𝙖𝙨𝙚𝔡 𝓲𝘯 𝟏𝟵𝟫𝟙
Library Usage
>>> from text_styler import TextStyler
>>> styler = TextStyler()
>>> converted = styler.convert("Hello World!")
>>> print(converted)
𝖧𝖾𝔩𝖑𝕠 𝑊𝙤𝒓𝒍𝘥
Notes
Only supported with Python3.
Metadata
Release files for unicode-text-styler 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| unicode_text_styler-1.0.0.tar.gz | 3.9 kB | Details |
Release files / unicode_text_styler-1.0.0.tar.gz
| Download URL | unicode_text_styler-1.0.0.tar.gz |
|---|---|
| Size | 3.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ffecc31b77943ab3f9868ba178efcbfeede6a91ebf4d368b15c74c8ed7572755
|
|
BLAKE2b-256 checksum How to use checksums |
4ab12242c6a4192523e3768b818897ace816d13651ed228b5a8d99ef6c8a4832
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.7.7
|