Skip to main content

Weird text encoder / decoder. Gives reversible, human-readable and lossless encoding.

Project description

DIZZER

Bidirectional human-readable weird-text encoder.

PyPI version pipeline status coverage report PyPI pyversion PyPI license PyPI status

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)

Uploaded Source

Built Distribution

dizzer-0.0.5-py3-none-any.whl (5.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page