Convert your strings to various Unicode characters. Turn "words" into "๐ด๐ฌ๐ฏ๐ก๐ฐ", "๐๐ พ๐๐ ณ๐", and "๐๐ธ๐ป๐ญ๐ผ".
Documentation: https://dressup.readthedocs.io/
To install Dress up, run this command in your terminal
โฏ python -m pip install dressup
If you're using it primarily as a command-line tool, it's recommended you install it via pipx
โฏ pipx install dressup
There are two primary ways to use Dress upโas a command-line tool, or as Python library.
Display all possible transformations by running:
โฏ dressup Hello
Circle
โฝโโโโ
Negative circle
๐
๐
๐
๐
๐
Monospace
๏ผจ๏ฝ
๏ฝ๏ฝ๏ฝ
Math bold
๐๐๐ฅ๐ฅ๐จ
...
Return only a specific transformation by using the --type
flag.
โฏ dressup Vibes --type inverted
๐กฤฑqวs
Dress up supports argument completions along with live previews. To enable autocompletion run.
โฏ dressup --install-completion zsh
zsh completion installed in /Users/username/.zshrc.
Completion will take effect once you restart the terminal.
zsh
may be replaced with bash
, fish
, powershell
, or pwsh
. Along with typical
autocompletion, when typing in a value for --type
if [TAB]
is pressed the matching
parameter values will be displayed below along with a preview of the conversion.
โฏ dressup Words --type math [TAB]
math-bold -- ๐๐จ๐ซ๐๐ฌ
math-bold-fraktur -- ๐๐๐๐๐
math-bold-italic -- ๐พ๐๐๐
๐
math-bold-script -- ๐ฆ๐ธ๐ป๐ญ๐ผ
math-double-struck -- ๐๐ ๐ฃ๐๐ค
math-fraktur -- ๐๐ฌ๐ฏ๐ก๐ฐ
math-monospace -- ๐๐๐๐๐
math-sans -- ๐ถ๐๐๐ฝ๐
math-sans-bold -- ๐ช๐ผ๐ฟ๐ฑ๐
math-sans-bold-italic -- ๐๐ค๐ง๐๐จ
math-sans-italic -- ๐๐ฐ๐ณ๐ฅ๐ด
To convert characters, use convert
.
import dressup
dressup.convert("Hello", unicode_type="negative circle")
'๐
๐
๐
๐
๐
'
To return all possible conversions, use show_all
.
import dressup
dressup.show_all("Hello")
{'Circle': 'โฝโโโโ', 'Negative circle': '๐
๐
๐
๐
๐
',
'Monospace': '๏ผจ๏ฝ
๏ฝ๏ฝ๏ฝ', 'Math bold': '๐๐๐ฅ๐ฅ๐จ',
'Math bold fraktur': '๐ณ๐๐๐๐', 'Math bold italic': '๐ฏ๐๐๐๐',
'Math bold script': '๐๐ฎ๐ต๐ต๐ธ', 'Math double struck': 'โ๐๐๐๐ ',
'Math monospace': '๐ท๐๐๐๐', 'Math sans': '๐ง๐พ๐
๐
๐', 'Math sans bold':
'๐๐ฒ๐น๐น๐ผ', 'Math sans bold italic': '๐๐๐ก๐ก๐ค', 'Math sans italic':
'๐๐ฆ๐ญ๐ญ๐ฐ', 'Parenthesized': 'โฃโ โงโงโช', 'Square': '๐ท๐ด๐ป๐ป๐พ',
'Negative square': '๐
ท๐
ด๐
ป๐
ป๐
พ', 'Cute': 'Hรฉฤบฤบล', 'Math fraktur':
'โ๐ข๐ฉ๐ฉ๐ฌ', 'Rock dots': 'แธฆรซแธทแธทรถ', 'Small caps': 'สแดสสแด', 'Stroked':
'ฤฆษลลรธ', 'Subscript': 'โโโโโ', 'Superscript': 'แดดแตหกหกแต',
'Inverted': 'ษฅวืืo', 'Reversed': 'Hษโ
โ
o'}
All character mappings are stored in translator.toml. Want to add a new mapping or tweak an existing one? Simply edit translator.toml and create a pull request.
Check out CONTRIBUTING.md for general contribution guidelines.