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 answer
This 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 <i> <b> <font> hints or some similar style markup, instead they use different codepoints from the 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.
Metadata
Release files for text-unicoder 1.3.3501
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| text_unicoder-1.3.3501.tar.gz | 32.1 kB | Without provenance | Details for text_unicoder-1.3.3501.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| text_unicoder-1.3.3501-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details for text_unicoder-1.3.3501-py2.py3-none-any.whl |
Total release size: 68.6 kB
Release files / text_unicoder-1.3.3501.tar.gz
| Download URL | text_unicoder-1.3.3501.tar.gz |
|---|---|
| Size | 32.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cf0b7a33628559c65ce970f4019c225c2e3b5e7993e728389b08b419831e1a39
|
|
BLAKE2b-256 checksum How to use checksums |
eac527c7dd4f9ab476d18f4c87fe2d573348a1b057745370191e939320523c4c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.15.0 pkginfo/1.5.0.1 requests/2.25.1 setuptools/44.1.1 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.6.15
|
Release files / text_unicoder-1.3.3501-py2.py3-none-any.whl
| Download URL | text_unicoder-1.3.3501-py2.py3-none-any.whl |
|---|---|
| Size | 36.5 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
4bdf422265aef841861c91fe5cd894695cec864f8358d159af225128b2037c2a
|
|
BLAKE2b-256 checksum How to use checksums |
c85e77382f2c8954c2bfecf3c49fbd7112ca42bcf02e62d9ac0771de508dc0d7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.15.0 pkginfo/1.5.0.1 requests/2.25.1 setuptools/44.1.1 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.6.15
|
Security for text-unicoder 1.3.3501
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.