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
Release history Release notifications | RSS feed
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)
Built Distribution
Close
Hashes for key_changer-2.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f61f2d69e93ff66b586cb5f4d6e85c48958309326daef495f854e9ddc0500eca |
|
MD5 | 3211cc5264f12fbec4754c7484a7d75a |
|
BLAKE2b-256 | 9b7497a9261ccdd8d3bd05ad461413536ed315006a58e64d91b2feb21579dfcc |