Skip to main content

Translate characters caused by typos because you forgot to change the keyboard language layout

Project description

key-changer

Translate characters caused by typos because you forgot to change the keyboard language layout.

Install

pip install key-changer

Command

python3 -m key_changer --help

Example

import key_changer

translator = key_changer.KeyChanger("ANSI", "QWERTY", "Thai_Kedmanee")

translator.translate("l;ylfu")
# 'สวัสดี'

translator.reverse("้ำสสน")
# 'hello'

translator.auto(";yoouhvkdkLfu")
# 'วันนี้อากาศดี'

translator.auto("ะนกฟั ะ้ำ ไำฟะ้ำพ รห เนนก")
# 'today the weather is good'

key_changer.KeyboardLayout
# ('ANSI',)

key_changer.LanguageLayout
# ('QWERTY', 'Thai_Kedmanee', 'Thai_Pattachote')

Current support

Keyboard layout Language layout
ANSI QWERTY
Thai_Kedmanee
Thai_Pattachote

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

key-changer-2.0.0.tar.gz (4.2 kB view hashes)

Uploaded Source

Built Distribution

key_changer-2.0.0-py3-none-any.whl (4.9 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