All Projects → paw-lu → dressup

paw-lu / dressup

Licence: MIT license
Dress up your unicode!

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to dressup

unicode-formatter
Convert portions of text to fancy text using unicode fonts for use on Twitter and other sites that don't support rich text
Stars: ✭ 31 (+40.91%)
Mutual labels:  unicode, converter
characters
A package for characters represented as unicode extended grapheme clusters
Stars: ✭ 54 (+145.45%)
Mutual labels:  unicode
CJK-character-count
Program that counts the amount of CJK characters based on Unicode ranges and Chinese encoding standards 字体汉字计数软件
Stars: ✭ 195 (+786.36%)
Mutual labels:  unicode
homoglyphs
Homoglyphs: get similar letters, convert to ASCII, detect possible languages and UTF-8 group.
Stars: ✭ 70 (+218.18%)
Mutual labels:  unicode
utf8-validator
UTF-8 Validator
Stars: ✭ 18 (-18.18%)
Mutual labels:  unicode
icu-swift
Swift APIs for ICU
Stars: ✭ 23 (+4.55%)
Mutual labels:  unicode
hyphenation
Text hyphenation for Rust
Stars: ✭ 43 (+95.45%)
Mutual labels:  unicode
wikitable2csv
A web tool to convert Wiki tables to CSV 📈
Stars: ✭ 112 (+409.09%)
Mutual labels:  converter
fontify
Converts SVG icons to OTF font and generates Flutter-compatible class. Provides an API and a CLI tool.
Stars: ✭ 88 (+300%)
Mutual labels:  converter
table2ascii
Python library for converting lists to fancy ASCII tables for displaying in the terminal and on Discord
Stars: ✭ 31 (+40.91%)
Mutual labels:  unicode
android-unicode
Android unicode UTF-7 input apk
Stars: ✭ 23 (+4.55%)
Mutual labels:  unicode
nepali utils
A pure dart package with collection of Nepali Utilities like Date converter, Date formatter, DateTime, Nepali Numbers, Nepali Unicode, Nepali Moments and many more.
Stars: ✭ 22 (+0%)
Mutual labels:  unicode
Gm1KonverterCrossPlatform
A tool to convert strongholds gm1 and tgx files to png.
Stars: ✭ 20 (-9.09%)
Mutual labels:  converter
typeconv
Convert between JSON Schema, TypeScript, GraphQL, Open API and SureType
Stars: ✭ 229 (+940.91%)
Mutual labels:  converter
log-utils
Basic logging utils: colors, symbols and timestamp.
Stars: ✭ 24 (+9.09%)
Mutual labels:  unicode
ttconv
Subtitle conversion. Converts STL, SRT, TTML and SCC into TTML, WebVTT and SRT.
Stars: ✭ 88 (+300%)
Mutual labels:  converter
php-to-zephir
Convert PHP 7 files to Zephir zep files and create a native PHP extension
Stars: ✭ 25 (+13.64%)
Mutual labels:  converter
characteristics
Character info under different encodings
Stars: ✭ 25 (+13.64%)
Mutual labels:  unicode
utfbom
Detection of the BOM and removing as necessary
Stars: ✭ 87 (+295.45%)
Mutual labels:  unicode
json2codable
A command line tool to generate a Swift Codable struct from a JSON document
Stars: ✭ 19 (-13.64%)
Mutual labels:  converter

Dress up

Dress up logo

Tests Codecov PyPI Python Version Read the Docs License Code style: black

Convert your strings to various Unicode characters. Turn "words" into "𝔴𝔬𝔯𝔡𝔰", "🆆🅾🆁🅳🆂", and "𝔀𝓸𝓻𝓭𝓼".

usage animation


Documentation: https://dressup.readthedocs.io/


Contents

  1. Installation
  2. Usage
  3. Contributing

Installation

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

Usage

There are two primary ways to use Dress up—as a command-line tool, or as Python library.

Command-line usage

Display all possible transformations by running:

❯ dressup Hello
Circle

Ⓗⓔⓛⓛⓞ

Negative circle

🅗🅔🅛🅛🅞

Monospace

Hello

Math bold

𝐇𝐞𝐥𝐥𝐨

...

Return only a specific transformation by using the --type flag.

❯ dressup Vibes --type inverted
𐌡ıqǝs

Autocompletion

autocompletion animation

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       -- 𝘞𝘰𝘳𝘥𝘴

Library usage

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': 'Hello', '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'}

Contributing

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.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].