Skip to main content

Convert text to one of 25 fancy unicode representations

Project description

Fancify text

(Code copied and modified from @secret-chest's https://github.com/Secret-chest/fancy-text)

Convert text into a fancier unicode representation, picking from the following fonts:

  • bold: ๐—ต๐—ฒ๐—น๐—น๐—ผ ๐˜„๐—ผ๐—ฟ๐—น๐—ฑ
  • italics: ๐˜ฉ๐˜ฆ๐˜ญ๐˜ญ๐˜ฐ ๐˜ธ๐˜ฐ๐˜ณ๐˜ญ๐˜ฅ
  • bolditalics: ๐™๐™š๐™ก๐™ก๐™ค ๐™ฌ๐™ค๐™ง๐™ก๐™™
  • monospaced: ๏ฝˆ๏ฝ…๏ฝŒ๏ฝŒ๏ฝใ€€๏ฝ—๏ฝ๏ฝ’๏ฝŒ๏ฝ„
  • typewriter: ๐š‘๐šŽ๐š•๐š•๐š˜ ๐š ๐š˜๐š›๐š•๐š
  • serif: ๐ก๐ž๐ฅ๐ฅ๐จ ๐ฐ๐จ๐ซ๐ฅ๐
  • handwriting: ๐“ฑ๐“ฎ๐“ต๐“ต๐“ธ ๐”€๐“ธ๐“ป๐“ต๐“ญ
  • formal: ๐–๐–Š๐–‘๐–‘๐–” ๐–œ๐–”๐–—๐–‘๐–‰
  • blue: ๐Ÿ‡ญ ๐Ÿ‡ช ๐Ÿ‡ฑ ๐Ÿ‡ฑ ๐Ÿ‡ด ๐Ÿ‡ผ ๐Ÿ‡ด ๐Ÿ‡ท ๐Ÿ‡ฑ ๐Ÿ‡ฉ
  • squared: ๐Ÿ„ท๐Ÿ„ด๐Ÿ„ป๐Ÿ„ป๐Ÿ„พ ๐Ÿ…†๐Ÿ„พ๐Ÿ…๐Ÿ„ป๐Ÿ„ณ
  • circled: ๐Ÿ…—๐Ÿ…”๐Ÿ…›๐Ÿ…›๐Ÿ…ž ๐Ÿ…ฆ๐Ÿ…ž๐Ÿ…ก๐Ÿ…›๐Ÿ…“
  • smallcaps: สœแด‡สŸสŸแด แดกแดส€สŸแด…
  • handwriting2: แ•ผEแ’ชแ’ชO แ—ฏOแ–‡แ’ชแ—ช
  • reverse: แ—กโ…ƒะฏOW Oโ…ƒโ…ƒฦŽH
  • upsidedown: ษฅวllo สoษนlp
  • wiry: ๅ„ไน‡ใ„ฅใ„ฅใ„– ๅฑฑใ„–ๅฐบใ„ฅแ—ช
  • script: ๐’ฝ๐‘’๐“๐“๐“… ๐“๐“…๐“ˆ๐“๐’น
  • outline: ๐•™๐•–๐•๐•๐•  ๐•จ๐• ๐•ฃ๐•๐••
  • curly: ษงษ›ฦ–ฦ–ฦก แฟณฦกเฝžฦ–ษ–
  • apothecary: ษฆฮตโ„“โ„“ฯƒ ฯ‰ฯƒเซจโ„“โˆ‚
  • magic: ิ‹าฝส…ส…ฯƒ ษฏฯƒษพส…ิƒ
  • magic2: ั’ั”ษญษญเน เธฌเนะณษญเน”
  • strange: ๊ซ๊ซ€๊ชถ๊ชถ๊ชฎ แญ™๊ชฎ๐•ฃ๊ชถแฆ”
  • parenthesized: ๐Ÿ„—๐Ÿ„”๐Ÿ„›๐Ÿ„›๐Ÿ„ž ๐Ÿ„ฆ๐Ÿ„ž๐Ÿ„ก๐Ÿ„›๐Ÿ„“
  • boxed: ๐Ÿ…ท๐Ÿ…ด๐Ÿ…ป๐Ÿ…ป๐Ÿ…พ ๐Ÿ††๐Ÿ…พ๐Ÿ†๐Ÿ…ป๐Ÿ…ณ

Installation

pip3 install fancify-text

Usage in Python

from fancify_text import bold  # Or any of the listed names above

print(bold("hello world"))

Usage from CLI

$ fancify-bold "hello world"
๐—ต๐—ฒ๐—น๐—น๐—ผ ๐˜„๐—ผ๐—ฟ๐—น๐—ฑ

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fancify-text-0.1.1.tar.gz (8.6 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page