Weird text encoder / decoder. Gives reversible, human-readable and lossless encoding.
Project description
DIZZER
Bidirectional human-readable weird-text encoder.
Key features:
- simple, straight-forward
- equipped with decoder
Installation
pip install dizzer
Example
PROPER_TEXT = """
This sentence approves that dizzer can be used on your machine.
If this assertion is not raised - it means you can read and write messages
that are fully translatable on other machines.
"""
import dizzer
local_encoding = dizzer.encode(PROPER_TEXT)
EXPECTED_ENCODING = """
Tihs senectne aepvorps taht dzzier can be uesd on yuor mhcaine.
If tihs aosirtsen is not risaed - it mneas you can raed and wtrie msesgeas
taht are fluly tbnslalatrae on oethr mhacneis.
"""
assert local_encoding == EXPECTED_ENCODING
back = dizzer.decode(local_encoding)
assert back == PROPER_TEXT
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
dizzer-0.0.5.tar.gz
(5.4 kB
view hashes)
Built Distribution
dizzer-0.0.5-py3-none-any.whl
(5.3 kB
view hashes)