# Text FanciPy
Text FanciPy is a Python tool for converting regular English letters (A-Za-z) in a text to their Unicode counterparts in various “fancy” styles, and vice versa. However, note that any “fancy-styled” text is not proper Unicode text, so it’s not searchable, and it’s not guaranteed to be displayed correctly on all devices. It’s best used for decorative purposes only.
## Features
- Converts the regular English letters in your text to various fancy styles (which are still plain Unicode text).
- Performs Unicode decomposition before the conversion, and Unicode normalization after the conversion. This way, most accented Latin letters also get processed.
- Converts fancy-styled text back to correct text.
- Can be used via a command line interface (CLI) or imported as a Python package.
Text FanciPy supports several “fancy styles” for text conversion. Only styles with full A-Za-z coverage in The Unicode Standard version 15.0 are included:
| style | name | letters
|--------|-------------------| ---------
| `dflt` | Default | ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz
| `mono` | 𝙼𝚘𝚗𝚘𝚜𝚙𝚊𝚌𝚎 | 𝙰𝙱𝙲𝙳𝙴𝙵𝙶𝙷𝙸𝙹𝙺𝙻𝙼𝙽𝙾𝙿𝚀𝚁𝚂𝚃𝚄𝚅𝚆𝚇𝚈𝚉𝚊𝚋𝚌𝚍𝚎𝚏𝚐𝚑𝚒𝚓𝚔𝚕𝚖𝚗𝚘𝚙𝚚𝚛𝚜𝚝𝚞𝚟𝚠𝚡𝚢𝚣
| `bold` | 𝐒𝐞𝐫𝐢𝐟 𝐁𝐨𝐥𝐝 | 𝐀𝐁𝐂𝐃𝐄𝐅𝐆𝐇𝐈𝐉𝐊𝐋𝐌𝐍𝐎𝐏𝐐𝐑𝐒𝐓𝐔𝐕𝐖𝐗𝐘𝐙𝐚𝐛𝐜𝐝𝐞𝐟𝐠𝐡𝐢𝐣𝐤𝐥𝐦𝐧𝐨𝐩𝐪𝐫𝐬𝐭𝐮𝐯𝐰𝐱𝐲𝐳
| `bdit` | 𝑺𝒆𝒓𝒊𝒇 𝑩𝒐𝒍𝒅 𝑰𝒕𝒂𝒍𝒊𝒄 | 𝑨𝑩𝑪𝑫𝑬𝑭𝑮𝑯𝑰𝑱𝑲𝑳𝑴𝑵𝑶𝑷𝑸𝑹𝑺𝑻𝑼𝑽𝑾𝑿𝒀𝒁𝒂𝒃𝒄𝒅𝒆𝒇𝒈𝒉𝒊𝒋𝒌𝒍𝒎𝒏𝒐𝒑𝒒𝒓𝒔𝒕𝒖𝒗𝒘𝒙𝒚𝒛
| `sans` | 𝖲𝖺𝗇𝗌 | 𝖠𝖡𝖢𝖣𝖤𝖥𝖦𝖧𝖨𝖩𝖪𝖫𝖬𝖭𝖮𝖯𝖰𝖱𝖲𝖳𝖴𝖵𝖶𝖷𝖸𝖹𝖺𝖻𝖼𝖽𝖾𝖿𝗀𝗁𝗂𝗃𝗄𝗅𝗆𝗇𝗈𝗉𝗊𝗋𝗌𝗍𝗎𝗏𝗐𝗑𝗒𝗓
| `snbd` | 𝗦𝗮𝗻𝘀 𝗕𝗼𝗹𝗱 | 𝗔𝗕𝗖𝗗𝗘𝗙𝗚𝗛𝗜𝗝𝗞𝗟𝗠𝗡𝗢𝗣𝗤𝗥𝗦𝗧𝗨𝗩𝗪𝗫𝗬𝗭𝗮𝗯𝗰𝗱𝗲𝗳𝗴𝗵𝗶𝗷𝗸𝗹𝗺𝗻𝗼𝗽𝗾𝗿𝘀𝘁𝘂𝘃𝘄𝘅𝘆𝘇
| `snit` | 𝘚𝘢𝘯𝘴 𝘐𝘵𝘢𝘭𝘪𝘤 | 𝘈𝘉𝘊𝘋𝘌𝘍𝘎𝘏𝘐𝘑𝘒𝘓𝘔𝘕𝘖𝘗𝘘𝘙𝘚𝘛𝘜𝘝𝘞𝘟𝘠𝘡𝘢𝘣𝘤𝘥𝘦𝘧𝘨𝘩𝘪𝘫𝘬𝘭𝘮𝘯𝘰𝘱𝘲𝘳𝘴𝘵𝘶𝘷𝘸𝘹𝘺𝘻
| `snbi` | 𝙎𝙖𝙣𝙨 𝘽𝙤𝙡𝙙 𝙄𝙩𝙖𝙡𝙞𝙘 | 𝘼𝘽𝘾𝘿𝙀𝙁𝙂𝙃𝙄𝙅𝙆𝙇𝙈𝙉𝙊𝙋𝙌𝙍𝙎𝙏𝙐𝙑𝙒𝙓𝙔𝙕𝙖𝙗𝙘𝙙𝙚𝙛𝙜𝙝𝙞𝙟𝙠𝙡𝙢𝙣𝙤𝙥𝙦𝙧𝙨𝙩𝙪𝙫𝙬𝙭𝙮𝙯
| `scrb` | 𝓢𝓬𝓻𝓲𝓹𝓽 𝓑𝓸𝓵𝓭 | 𝓐𝓑𝓒𝓓𝓔𝓕𝓖𝓗𝓘𝓙𝓚𝓛𝓜𝓝𝓞𝓟𝓠𝓡𝓢𝓣𝓤𝓥𝓦𝓧𝓨𝓩𝓪𝓫𝓬𝓭𝓮𝓯𝓰𝓱𝓲𝓳𝓴𝓵𝓶𝓷𝓸𝓹𝓺𝓻𝓼𝓽𝓾𝓿𝔀𝔁𝔂𝔃
| `frak` | 𝕱𝖗𝖆𝖐𝖙𝖚𝖗 𝕭𝖔𝖑𝖉 | 𝕬𝕭𝕮𝕯𝕰𝕱𝕲𝕳𝕴𝕵𝕶𝕷𝕸𝕹𝕺𝕻𝕼𝕽𝕾𝕿𝖀𝖁𝖂𝖃𝖄𝖅𝖆𝖇𝖈𝖉𝖊𝖋𝖌𝖍𝖎𝖏𝖐𝖑𝖒𝖓𝖔𝖕𝖖𝖗𝖘𝖙𝖚𝖛𝖜𝖝𝖞𝖟
| `parn` | 🄟⒜⒭⒠⒩⒮ | 🄐🄑🄒🄓🄔🄕🄖🄗🄘🄙🄚🄛🄜🄝🄞🄟🄠🄡🄢🄣🄤🄥🄦🄧🄨🄩⒜⒝⒞⒟⒠⒡⒢⒣⒤⒥⒦⒧⒨⒩⒪⒫⒬⒭⒮⒯⒰⒱⒲⒳⒴⒵
| `circ` | Ⓒⓘⓡⓒⓛⓔⓓ | ⒶⒷⒸⒹⒺⒻⒼⒽⒾⒿⓀⓁⓂⓃⓄⓅⓆⓇⓈⓉⓊⓋⓌⓍⓎⓏⓐⓑⓒⓓⓔⓕⓖⓗⓘⓙⓚⓛⓜⓝⓞⓟⓠⓡⓢⓣⓤⓥⓦⓧⓨⓩ
| `wide` | Wide | ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz
## Installation
To install Text FanciPy, run:
```bash
python3 -m pip install --upgrade text-fancipy
```
For the current development version:
```
python3 -m pip install --upgrade git+https://github.com/twardoch/text_fancipy
```
## Command-line usage
After installation, `fancipy` can be used directly from the command line.
### With text specified as an argument
Convert text to a fancy style:
```bash
fancipy <style> -t "Your text"
```
For example, convert to _Script Bold_ style some text containing accented Latin letters:
```bash
$ fancipy scrb -t "Książęcych spóźnień czułość"
𝓚𝓼𝓲𝓪̨𝔃̇𝓮̨𝓬𝔂𝓬𝓱 𝓼𝓹𝓸́𝔃́𝓷𝓲𝓮𝓷́ 𝓬𝔃𝓾ł𝓸𝓼́𝓬́
```
Convert text back from all fancy styles back to regular text:
```bash
$ fancipy undo -t "𝖶𝗁𝖺𝗍 ⓐ 𝖜𝖔𝖓𝖉𝖊𝖗𝖋𝖚𝖑 𝒘𝒐𝒓𝒍𝒅!"
What a wonderful world!
```
### With piping
```bash
$ echo "Hello World" | fancipy bold | fancipy undo
Hello World
```
### With files
You can also specify input and output files:
```bash
fancipy <style> -f input.txt -o output.txt
```
## Python usage
You can use Text FanciPy as a library in your Python scripts.
```python
from text_fancipy.fancipy import fancipy, unfancipy_all
# Convert to fancy text
fancy_text = fancipy("Your Text", "bold")
# Convert back to regular text
regular_text = unfancipy_all(fancy_text)
```
## Changes
- **v1.4.0**: Unicode decomposition and normalization
- **v1.3.0**: Renamed some styles
- **v1.1.0**: Change the available styles
- **v1.0.3**: Minor fixes
- **v1.0.0**: Initial release
## License
- **Text FanciPy** written by Adam Twardoch, with assistance from GPT-4
- Copyright (c) 2023 Adam Twardoch
- Licensed under the [Apache-2.0 license](./LICENSE.txt)
## Contact
Open an [issue](https://github.com/twardoch/text_fancipy/issues) and describe your problem or suggestion.
Raw data
{
"_id": null,
"home_page": "https://pypi.org/project/text-fancipy/",
"name": "text-fancipy",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.9",
"maintainer_email": "",
"keywords": "",
"author": "Adam Twardoch",
"author_email": "adam+github@twardoch.com",
"download_url": "https://files.pythonhosted.org/packages/08/ed/eec9d6d9c9f3a72eb7040531232207acc4f52a3d0626c8e3a9a626896459/text_fancipy-1.4.1.tar.gz",
"platform": "any",
"description": "# Text FanciPy\n\nText FanciPy is a Python tool for converting regular English letters (A-Za-z) in a text to their Unicode counterparts in various \u201cfancy\u201d styles, and vice versa. However, note that any \u201cfancy-styled\u201d text is not proper Unicode text, so it\u2019s not searchable, and it\u2019s not guaranteed to be displayed correctly on all devices. It\u2019s best used for decorative purposes only.\n\n## Features\n\n- Converts the regular English letters in your text to various fancy styles (which are still plain Unicode text).\n- Performs Unicode decomposition before the conversion, and Unicode normalization after the conversion. This way, most accented Latin letters also get processed. \n- Converts fancy-styled text back to correct text.\n- Can be used via a command line interface (CLI) or imported as a Python package.\n\nText FanciPy supports several \u201cfancy styles\u201d for text conversion. Only styles with full A-Za-z coverage in The Unicode Standard version 15.0 are included: \n\n| style | name | letters\n|--------|-------------------| ---------\n| `dflt` | Default | ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz\n| `mono` | \ud835\ude7c\ud835\ude98\ud835\ude97\ud835\ude98\ud835\ude9c\ud835\ude99\ud835\ude8a\ud835\ude8c\ud835\ude8e | \ud835\ude70\ud835\ude71\ud835\ude72\ud835\ude73\ud835\ude74\ud835\ude75\ud835\ude76\ud835\ude77\ud835\ude78\ud835\ude79\ud835\ude7a\ud835\ude7b\ud835\ude7c\ud835\ude7d\ud835\ude7e\ud835\ude7f\ud835\ude80\ud835\ude81\ud835\ude82\ud835\ude83\ud835\ude84\ud835\ude85\ud835\ude86\ud835\ude87\ud835\ude88\ud835\ude89\ud835\ude8a\ud835\ude8b\ud835\ude8c\ud835\ude8d\ud835\ude8e\ud835\ude8f\ud835\ude90\ud835\ude91\ud835\ude92\ud835\ude93\ud835\ude94\ud835\ude95\ud835\ude96\ud835\ude97\ud835\ude98\ud835\ude99\ud835\ude9a\ud835\ude9b\ud835\ude9c\ud835\ude9d\ud835\ude9e\ud835\ude9f\ud835\udea0\ud835\udea1\ud835\udea2\ud835\udea3\n| `bold` | \ud835\udc12\ud835\udc1e\ud835\udc2b\ud835\udc22\ud835\udc1f \ud835\udc01\ud835\udc28\ud835\udc25\ud835\udc1d | \ud835\udc00\ud835\udc01\ud835\udc02\ud835\udc03\ud835\udc04\ud835\udc05\ud835\udc06\ud835\udc07\ud835\udc08\ud835\udc09\ud835\udc0a\ud835\udc0b\ud835\udc0c\ud835\udc0d\ud835\udc0e\ud835\udc0f\ud835\udc10\ud835\udc11\ud835\udc12\ud835\udc13\ud835\udc14\ud835\udc15\ud835\udc16\ud835\udc17\ud835\udc18\ud835\udc19\ud835\udc1a\ud835\udc1b\ud835\udc1c\ud835\udc1d\ud835\udc1e\ud835\udc1f\ud835\udc20\ud835\udc21\ud835\udc22\ud835\udc23\ud835\udc24\ud835\udc25\ud835\udc26\ud835\udc27\ud835\udc28\ud835\udc29\ud835\udc2a\ud835\udc2b\ud835\udc2c\ud835\udc2d\ud835\udc2e\ud835\udc2f\ud835\udc30\ud835\udc31\ud835\udc32\ud835\udc33\n| `bdit` | \ud835\udc7a\ud835\udc86\ud835\udc93\ud835\udc8a\ud835\udc87 \ud835\udc69\ud835\udc90\ud835\udc8d\ud835\udc85 \ud835\udc70\ud835\udc95\ud835\udc82\ud835\udc8d\ud835\udc8a\ud835\udc84 | \ud835\udc68\ud835\udc69\ud835\udc6a\ud835\udc6b\ud835\udc6c\ud835\udc6d\ud835\udc6e\ud835\udc6f\ud835\udc70\ud835\udc71\ud835\udc72\ud835\udc73\ud835\udc74\ud835\udc75\ud835\udc76\ud835\udc77\ud835\udc78\ud835\udc79\ud835\udc7a\ud835\udc7b\ud835\udc7c\ud835\udc7d\ud835\udc7e\ud835\udc7f\ud835\udc80\ud835\udc81\ud835\udc82\ud835\udc83\ud835\udc84\ud835\udc85\ud835\udc86\ud835\udc87\ud835\udc88\ud835\udc89\ud835\udc8a\ud835\udc8b\ud835\udc8c\ud835\udc8d\ud835\udc8e\ud835\udc8f\ud835\udc90\ud835\udc91\ud835\udc92\ud835\udc93\ud835\udc94\ud835\udc95\ud835\udc96\ud835\udc97\ud835\udc98\ud835\udc99\ud835\udc9a\ud835\udc9b\n| `sans` | \ud835\uddb2\ud835\uddba\ud835\uddc7\ud835\uddcc | \ud835\udda0\ud835\udda1\ud835\udda2\ud835\udda3\ud835\udda4\ud835\udda5\ud835\udda6\ud835\udda7\ud835\udda8\ud835\udda9\ud835\uddaa\ud835\uddab\ud835\uddac\ud835\uddad\ud835\uddae\ud835\uddaf\ud835\uddb0\ud835\uddb1\ud835\uddb2\ud835\uddb3\ud835\uddb4\ud835\uddb5\ud835\uddb6\ud835\uddb7\ud835\uddb8\ud835\uddb9\ud835\uddba\ud835\uddbb\ud835\uddbc\ud835\uddbd\ud835\uddbe\ud835\uddbf\ud835\uddc0\ud835\uddc1\ud835\uddc2\ud835\uddc3\ud835\uddc4\ud835\uddc5\ud835\uddc6\ud835\uddc7\ud835\uddc8\ud835\uddc9\ud835\uddca\ud835\uddcb\ud835\uddcc\ud835\uddcd\ud835\uddce\ud835\uddcf\ud835\uddd0\ud835\uddd1\ud835\uddd2\ud835\uddd3\n| `snbd` | \ud835\udde6\ud835\uddee\ud835\uddfb\ud835\ude00 \ud835\uddd5\ud835\uddfc\ud835\uddf9\ud835\uddf1 | \ud835\uddd4\ud835\uddd5\ud835\uddd6\ud835\uddd7\ud835\uddd8\ud835\uddd9\ud835\uddda\ud835\udddb\ud835\udddc\ud835\udddd\ud835\uddde\ud835\udddf\ud835\udde0\ud835\udde1\ud835\udde2\ud835\udde3\ud835\udde4\ud835\udde5\ud835\udde6\ud835\udde7\ud835\udde8\ud835\udde9\ud835\uddea\ud835\uddeb\ud835\uddec\ud835\udded\ud835\uddee\ud835\uddef\ud835\uddf0\ud835\uddf1\ud835\uddf2\ud835\uddf3\ud835\uddf4\ud835\uddf5\ud835\uddf6\ud835\uddf7\ud835\uddf8\ud835\uddf9\ud835\uddfa\ud835\uddfb\ud835\uddfc\ud835\uddfd\ud835\uddfe\ud835\uddff\ud835\ude00\ud835\ude01\ud835\ude02\ud835\ude03\ud835\ude04\ud835\ude05\ud835\ude06\ud835\ude07\n| `snit` | \ud835\ude1a\ud835\ude22\ud835\ude2f\ud835\ude34 \ud835\ude10\ud835\ude35\ud835\ude22\ud835\ude2d\ud835\ude2a\ud835\ude24 | \ud835\ude08\ud835\ude09\ud835\ude0a\ud835\ude0b\ud835\ude0c\ud835\ude0d\ud835\ude0e\ud835\ude0f\ud835\ude10\ud835\ude11\ud835\ude12\ud835\ude13\ud835\ude14\ud835\ude15\ud835\ude16\ud835\ude17\ud835\ude18\ud835\ude19\ud835\ude1a\ud835\ude1b\ud835\ude1c\ud835\ude1d\ud835\ude1e\ud835\ude1f\ud835\ude20\ud835\ude21\ud835\ude22\ud835\ude23\ud835\ude24\ud835\ude25\ud835\ude26\ud835\ude27\ud835\ude28\ud835\ude29\ud835\ude2a\ud835\ude2b\ud835\ude2c\ud835\ude2d\ud835\ude2e\ud835\ude2f\ud835\ude30\ud835\ude31\ud835\ude32\ud835\ude33\ud835\ude34\ud835\ude35\ud835\ude36\ud835\ude37\ud835\ude38\ud835\ude39\ud835\ude3a\ud835\ude3b\n| `snbi` | \ud835\ude4e\ud835\ude56\ud835\ude63\ud835\ude68 \ud835\ude3d\ud835\ude64\ud835\ude61\ud835\ude59 \ud835\ude44\ud835\ude69\ud835\ude56\ud835\ude61\ud835\ude5e\ud835\ude58 | \ud835\ude3c\ud835\ude3d\ud835\ude3e\ud835\ude3f\ud835\ude40\ud835\ude41\ud835\ude42\ud835\ude43\ud835\ude44\ud835\ude45\ud835\ude46\ud835\ude47\ud835\ude48\ud835\ude49\ud835\ude4a\ud835\ude4b\ud835\ude4c\ud835\ude4d\ud835\ude4e\ud835\ude4f\ud835\ude50\ud835\ude51\ud835\ude52\ud835\ude53\ud835\ude54\ud835\ude55\ud835\ude56\ud835\ude57\ud835\ude58\ud835\ude59\ud835\ude5a\ud835\ude5b\ud835\ude5c\ud835\ude5d\ud835\ude5e\ud835\ude5f\ud835\ude60\ud835\ude61\ud835\ude62\ud835\ude63\ud835\ude64\ud835\ude65\ud835\ude66\ud835\ude67\ud835\ude68\ud835\ude69\ud835\ude6a\ud835\ude6b\ud835\ude6c\ud835\ude6d\ud835\ude6e\ud835\ude6f\n| `scrb` | \ud835\udce2\ud835\udcec\ud835\udcfb\ud835\udcf2\ud835\udcf9\ud835\udcfd \ud835\udcd1\ud835\udcf8\ud835\udcf5\ud835\udced | \ud835\udcd0\ud835\udcd1\ud835\udcd2\ud835\udcd3\ud835\udcd4\ud835\udcd5\ud835\udcd6\ud835\udcd7\ud835\udcd8\ud835\udcd9\ud835\udcda\ud835\udcdb\ud835\udcdc\ud835\udcdd\ud835\udcde\ud835\udcdf\ud835\udce0\ud835\udce1\ud835\udce2\ud835\udce3\ud835\udce4\ud835\udce5\ud835\udce6\ud835\udce7\ud835\udce8\ud835\udce9\ud835\udcea\ud835\udceb\ud835\udcec\ud835\udced\ud835\udcee\ud835\udcef\ud835\udcf0\ud835\udcf1\ud835\udcf2\ud835\udcf3\ud835\udcf4\ud835\udcf5\ud835\udcf6\ud835\udcf7\ud835\udcf8\ud835\udcf9\ud835\udcfa\ud835\udcfb\ud835\udcfc\ud835\udcfd\ud835\udcfe\ud835\udcff\ud835\udd00\ud835\udd01\ud835\udd02\ud835\udd03\n| `frak` | \ud835\udd71\ud835\udd97\ud835\udd86\ud835\udd90\ud835\udd99\ud835\udd9a\ud835\udd97 \ud835\udd6d\ud835\udd94\ud835\udd91\ud835\udd89 | \ud835\udd6c\ud835\udd6d\ud835\udd6e\ud835\udd6f\ud835\udd70\ud835\udd71\ud835\udd72\ud835\udd73\ud835\udd74\ud835\udd75\ud835\udd76\ud835\udd77\ud835\udd78\ud835\udd79\ud835\udd7a\ud835\udd7b\ud835\udd7c\ud835\udd7d\ud835\udd7e\ud835\udd7f\ud835\udd80\ud835\udd81\ud835\udd82\ud835\udd83\ud835\udd84\ud835\udd85\ud835\udd86\ud835\udd87\ud835\udd88\ud835\udd89\ud835\udd8a\ud835\udd8b\ud835\udd8c\ud835\udd8d\ud835\udd8e\ud835\udd8f\ud835\udd90\ud835\udd91\ud835\udd92\ud835\udd93\ud835\udd94\ud835\udd95\ud835\udd96\ud835\udd97\ud835\udd98\ud835\udd99\ud835\udd9a\ud835\udd9b\ud835\udd9c\ud835\udd9d\ud835\udd9e\ud835\udd9f\n| `parn` | \ud83c\udd1f\u249c\u24ad\u24a0\u24a9\u24ae | \ud83c\udd10\ud83c\udd11\ud83c\udd12\ud83c\udd13\ud83c\udd14\ud83c\udd15\ud83c\udd16\ud83c\udd17\ud83c\udd18\ud83c\udd19\ud83c\udd1a\ud83c\udd1b\ud83c\udd1c\ud83c\udd1d\ud83c\udd1e\ud83c\udd1f\ud83c\udd20\ud83c\udd21\ud83c\udd22\ud83c\udd23\ud83c\udd24\ud83c\udd25\ud83c\udd26\ud83c\udd27\ud83c\udd28\ud83c\udd29\u249c\u249d\u249e\u249f\u24a0\u24a1\u24a2\u24a3\u24a4\u24a5\u24a6\u24a7\u24a8\u24a9\u24aa\u24ab\u24ac\u24ad\u24ae\u24af\u24b0\u24b1\u24b2\u24b3\u24b4\u24b5\n| `circ` | \u24b8\u24d8\u24e1\u24d2\u24db\u24d4\u24d3 | \u24b6\u24b7\u24b8\u24b9\u24ba\u24bb\u24bc\u24bd\u24be\u24bf\u24c0\u24c1\u24c2\u24c3\u24c4\u24c5\u24c6\u24c7\u24c8\u24c9\u24ca\u24cb\u24cc\u24cd\u24ce\u24cf\u24d0\u24d1\u24d2\u24d3\u24d4\u24d5\u24d6\u24d7\u24d8\u24d9\u24da\u24db\u24dc\u24dd\u24de\u24df\u24e0\u24e1\u24e2\u24e3\u24e4\u24e5\u24e6\u24e7\u24e8\u24e9\n| `wide` | \uff37\uff49\uff44\uff45 | \uff21\uff22\uff23\uff24\uff25\uff26\uff27\uff28\uff29\uff2a\uff2b\uff2c\uff2d\uff2e\uff2f\uff30\uff31\uff32\uff33\uff34\uff35\uff36\uff37\uff38\uff39\uff3a\uff41\uff42\uff43\uff44\uff45\uff46\uff47\uff48\uff49\uff4a\uff4b\uff4c\uff4d\uff4e\uff4f\uff50\uff51\uff52\uff53\uff54\uff55\uff56\uff57\uff58\uff59\uff5a\n\n## Installation\n\nTo install Text FanciPy, run:\n\n```bash\npython3 -m pip install --upgrade text-fancipy\n```\n\nFor the current development version: \n\n```\npython3 -m pip install --upgrade git+https://github.com/twardoch/text_fancipy\n```\n\n## Command-line usage\n\nAfter installation, `fancipy` can be used directly from the command line.\n\n### With text specified as an argument\n\nConvert text to a fancy style:\n\n```bash\nfancipy <style> -t \"Your text\"\n```\n\nFor example, convert to _Script Bold_ style some text containing accented Latin letters:\n\n```bash\n$ fancipy scrb -t \"Ksi\u0105\u017c\u0119cych sp\u00f3\u017anie\u0144 czu\u0142o\u015b\u0107\"\n\ud835\udcda\ud835\udcfc\ud835\udcf2\ud835\udcea\u0328\ud835\udd03\u0307\ud835\udcee\u0328\ud835\udcec\ud835\udd02\ud835\udcec\ud835\udcf1 \ud835\udcfc\ud835\udcf9\ud835\udcf8\u0301\ud835\udd03\u0301\ud835\udcf7\ud835\udcf2\ud835\udcee\ud835\udcf7\u0301 \ud835\udcec\ud835\udd03\ud835\udcfe\u0142\ud835\udcf8\ud835\udcfc\u0301\ud835\udcec\u0301\n```\n\nConvert text back from all fancy styles back to regular text:\n\n```bash\n$ fancipy undo -t \"\ud835\uddb6\ud835\uddc1\ud835\uddba\ud835\uddcd \u24d0 \ud835\udd9c\ud835\udd94\ud835\udd93\ud835\udd89\ud835\udd8a\ud835\udd97\ud835\udd8b\ud835\udd9a\ud835\udd91 \ud835\udc98\ud835\udc90\ud835\udc93\ud835\udc8d\ud835\udc85!\"\nWhat a wonderful world!\n```\n\n### With piping\n\n```bash\n$ echo \"Hello World\" | fancipy bold | fancipy undo\nHello World\n```\n\n### With files\n\nYou can also specify input and output files:\n\n```bash\nfancipy <style> -f input.txt -o output.txt\n```\n\n## Python usage\n\nYou can use Text FanciPy as a library in your Python scripts.\n\n```python\nfrom text_fancipy.fancipy import fancipy, unfancipy_all\n\n# Convert to fancy text\nfancy_text = fancipy(\"Your Text\", \"bold\")\n\n# Convert back to regular text\nregular_text = unfancipy_all(fancy_text)\n```\n\n\n## Changes\n\n- **v1.4.0**: Unicode decomposition and normalization\n- **v1.3.0**: Renamed some styles\n- **v1.1.0**: Change the available styles \n- **v1.0.3**: Minor fixes\n- **v1.0.0**: Initial release\n\n## License\n\n- **Text FanciPy** written by Adam Twardoch, with assistance from GPT-4\n- Copyright (c) 2023 Adam Twardoch\n- Licensed under the [Apache-2.0 license](./LICENSE.txt)\n\n## Contact\n\nOpen an [issue](https://github.com/twardoch/text_fancipy/issues) and describe your problem or suggestion.\n",
"bugtrack_url": null,
"license": "Apache-2.0",
"summary": "Python tool for converting all plain English letters in text into various fancy-styled text and back",
"version": "1.4.1",
"project_urls": {
"Documentation": "https://github.com/twardoch/text_fancipy",
"Homepage": "https://pypi.org/project/text-fancipy/",
"Source": "https://github.com/twardoch/text_fancipy"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "254e93b4187674a98393a3cd87d066fcc0c47ba2dabd938da324d5d34b20a55d",
"md5": "50642e0addf06be87d4955ff365d1f95",
"sha256": "ab71cce780985ebc47affb0b255a09b4decf1c5561d92ae87cf08e0b43260adf"
},
"downloads": -1,
"filename": "text_fancipy-1.4.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "50642e0addf06be87d4955ff365d1f95",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.9",
"size": 12233,
"upload_time": "2023-11-14T03:43:40",
"upload_time_iso_8601": "2023-11-14T03:43:40.247016Z",
"url": "https://files.pythonhosted.org/packages/25/4e/93b4187674a98393a3cd87d066fcc0c47ba2dabd938da324d5d34b20a55d/text_fancipy-1.4.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "08edeec9d6d9c9f3a72eb7040531232207acc4f52a3d0626c8e3a9a626896459",
"md5": "85422e48abb7641c72f8457a8997981e",
"sha256": "4445b927783e8b03f977eb6f055e9b78f8aabce1d50a4be0f3e65ecedae75eb3"
},
"downloads": -1,
"filename": "text_fancipy-1.4.1.tar.gz",
"has_sig": false,
"md5_digest": "85422e48abb7641c72f8457a8997981e",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.9",
"size": 19526,
"upload_time": "2023-11-14T03:43:41",
"upload_time_iso_8601": "2023-11-14T03:43:41.525349Z",
"url": "https://files.pythonhosted.org/packages/08/ed/eec9d6d9c9f3a72eb7040531232207acc4f52a3d0626c8e3a9a626896459/text_fancipy-1.4.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-11-14 03:43:41",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "twardoch",
"github_project": "text_fancipy",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"tox": true,
"lcname": "text-fancipy"
}