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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

key_changer-2.0.0-py3-none-any.whl (4.9 kB view details)

Uploaded Python 3

File details

Details for the file key-changer-2.0.0.tar.gz.

File metadata

  • Download URL: key-changer-2.0.0.tar.gz
  • Upload date:
  • Size: 4.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.8

File hashes

Hashes for key-changer-2.0.0.tar.gz
Algorithm Hash digest
SHA256 f2719176fbe3e94d26365d629c8ad015ad5aeb557961da4a5e8d19e64187b9a7
MD5 d36a419fc6b3516084473907829f7906
BLAKE2b-256 c7ca3771828a12c0e37c5e70b0b219b5eca0afaede316a6c67a410397cdd96e8

See more details on using hashes here.

File details

Details for the file key_changer-2.0.0-py3-none-any.whl.

File metadata

  • Download URL: key_changer-2.0.0-py3-none-any.whl
  • Upload date:
  • Size: 4.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.8

File hashes

Hashes for key_changer-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f61f2d69e93ff66b586cb5f4d6e85c48958309326daef495f854e9ddc0500eca
MD5 3211cc5264f12fbec4754c7484a7d75a
BLAKE2b-256 9b7497a9261ccdd8d3bd05ad461413536ed315006a58e64d91b2feb21579dfcc

See more details on using hashes here.

Supported by

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