Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

python package to correct your dumb typing

License

NotificationsYou must be signed in to change notification settings

Ebrahim-Ramadan/typeshit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

image

Typeshit is a Python tool that detects and corrects text input, particularly useful for switching between Arabic and English typing.

Installation

Install Typeshit using pip:pip install typeshitThis will install the latest version already auto, It's recommended to use a virtual environment for isolated package management.

Usage

in your python script:

from typeshit.main import autotypeshit# Use the main function to start the keyboard listenerautotypeshit()

How It Works

Typeshit uses a debounce mechanism to process input efficiently:

  1. Each keypress triggers a timer reset.
  2. If no keys are pressed within the debounce delay, theprocess_buffer function is called.
  3. The function then processes the accumulated input, detecting the language and applying necessary corrections.

Features

  • Automatic language detection (Arabic/English)
  • Real-time text correction
  • Efficient input processing with debounce mechanism

Development

For contributors and developers:

  • test.txt is provided for input testing purposes.
  • The main logic resides insrc/typeshit/main.py.

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

License

This project is licensed under the MIT License - see theLICENSE file for details.

Contact

Ebrahim Ramadan -ramadanebrahim791@gmail.comMy portfolio:https://ebrahim-ramadan.vercel.appPyPi Library:https://pypi.org/project/typeshit/

About

python package to correct your dumb typing

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages


[8]ページ先頭

©2009-2025 Movatter.jp