https://github.com/gdraheim/text_unicoder
unicode text generator to make flip turned bold italic greek fraktur cursive script from ascii input
https://github.com/gdraheim/text_unicoder
bold flip fraktur text-generator unicode
Last synced: 6 months ago
JSON representation
unicode text generator to make flip turned bold italic greek fraktur cursive script from ascii input
- Host: GitHub
- URL: https://github.com/gdraheim/text_unicoder
- Owner: gdraheim
- License: apache-2.0
- Created: 2022-01-07T19:12:02.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-12-10T00:21:25.000Z (10 months ago)
- Last Synced: 2025-03-28T04:23:37.556Z (6 months ago)
- Topics: bold, flip, fraktur, text-generator, unicode
- Language: Python
- Homepage:
- Size: 337 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://github.com/gdraheim/text-unicoder/actions/workflows/stylecheck.yml)
[](https://github.com/gdraheim/text-unicoder/actions/workflows/typecheck.yml)
[](https://github.com/gdraheim/text-unicoder/actions/workflows/unittests.yml)
[](https://github.com/gdraheim/text-unicoder/blob/master/unicoder.py.tests.py)
[](https://pypi.org/project/text-unicoder/)This script allows to convert ascii to unicode specials
including bold italic greek fraktur script.Examples:
unicoder bold foobar
unicoder ital foobar
unicoder boldital foobar
unicoder double foobar
unicoder mono foobar
unicoder sans foobar
unicoder greek foobar
unicoder greek FOOBAR
unicoder fraktur foobar
unicoder boldfraktur foobar
unicoder fract 15 1/4
unicoder 15 1/4 km/h
unicoder value 15 1/4 km/h
unicoder thin 15 1/4 km/h
unicoder nobr 15 1/4 km/h
unicoder power 15^3
unicoder index x_1
unicoder math X_1^3 +1/4
unicoder back answer
unicoder down answer
unicoder flip answerThis script helps to bold or slanted text to various social media platforms.
The nobr thin fract parts are particularly useful for Wikipedia.
The flip text (or turn text) allows to provide a pun on a question.There are also shorthand scripts: `uubold` / `uuital` / `uumath` / `uuflip`
### RESULT
Just for amusement, this is the result when running the commands shown above.
Note that the bold and italic text snippets do not rely on \ \ \ hints
or some similar style markup, instead they use different codepoints from the
[Mathematical Alphanumeric Symbols](https://en.wikipedia.org/wiki/Mathematical_Alphanumeric_Symbols)
unicode blocks. Likewise fraktur and greek and double stroke characters are used
often in the field of mathematics. The sans and mono are rarely used however.ππ¨π¨πππ«
ππππππ
ππππππ
ππ π πππ£
ππππππ
foobar
ΟΟΞ²Ξ±Ο
ΦΩΞΞΞ‘
π£π¬π¬πππ―
ππππππ
15ΒΌ
15ΒΌβ―km/h
15ΒΌβ―km/h
15β―1/4β―km/h
15β1/4βkm/h
15Β³
xβ
XβΒ³β+ΒΌ
rewsna
ΙusΚΗΙΉ
ΙΉΗΚsuΙ### TESTSUITE
Yes, there is a testsuite with more than a hundred unittests for the functions.
The module can also be imported as helper to other scripts.For developers, please run "make tests" for the testsuite. Please do also
run "make type" for mypy typehints checks and "make pep" for pep8 style checks.