dressuplite
dressuplite is a Python 3.11 package to convert strings to use Unicode formatting. It can for instance replace "words" into "𝔴𝔬𝔯𝔡𝔰", "🆆🅾🆁🅳🆂", and "𝔀𝓸𝓻𝓭𝓼". It is a lightweight fork of the original package dressup, but without any third-party runtime dependencies.
As a disclaimer, this package has no association with dressup.
Links
| Caption | Link |
|---|---|
| Repo | https://github.com/impredicative/dressuplite/ |
| Changelog | https://github.com/impredicative/dressuplite/releases |
| Package | https://pypi.org/project/dressuplite/ |
Development
For software development purposes only, the project can be set up on Ubuntu as below.
make setup-ppa
make install-py
make setup-venv
source ./venv/bin/activate
make install
make test
Installation
Python ≥3.11 is required due to the use of tomllib. This is due ot the use of TOML in the original package.
To install, run:
$ pip install dressuplite
Usage
To convert characters:
>>> import dressuplite
>>> dressuplite.convert("Hello", unicode_type="negative circle")
'🅗🅔🅛🅛🅞'
To show all possible conversions:
>>> import dressuplite
>>> for unicode_type, text in dressuplite.show_all("Hello").items():
... print(f'{unicode_type.lower()}: {text}')
...
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
Character mappings are precomputed and defined in translator.toml.
Metadata
Release files for dressuplite 0.1.2
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 |
|---|---|---|---|---|
| dressuplite-0.1.2.tar.gz | 12.8 kB | Without provenance | Details for dressuplite-0.1.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| dressuplite-0.1.2-py3-none-any.whl | Python 3 | none | any | Details for dressuplite-0.1.2-py3-none-any.whl |
Total release size: 24.6 kB
Release files / dressuplite-0.1.2.tar.gz
| Download URL | dressuplite-0.1.2.tar.gz |
|---|---|
| Size | 12.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
23e0b013a7e0770a281dd44352927ee8a45d5fe7fdd9fa6635302e5876623b42
|
|
BLAKE2b-256 checksum How to use checksums |
4642584a10e17fb1cdc0469120d45b3b287b83bf64063a4cc12667147c3ab52d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.0
|
Release files / dressuplite-0.1.2-py3-none-any.whl
| Download URL | dressuplite-0.1.2-py3-none-any.whl |
|---|---|
| Size | 11.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b33d6a241771d74154d896b1f03cac16cb49389eb268fc98db10f1ab8cdaa9f3
|
|
BLAKE2b-256 checksum How to use checksums |
c231dc67d4d613eaec9ab887e8d9073e84ad9c34b78573e7aeec0fcbed5349fc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.0
|
Security for dressuplite 0.1.2
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.