Metadata-Version: 2.4
Name: apparser
Version: 1.0.0
Summary: Apparser is a Python library designed for automating desktop applications and managing UI interfaces using artificial intelligence, such as OCR or object detection models. 
Author-email: "Terochkin A.S" <apparser.development@gmail.com>
Project-URL: Docs, https://apparser-development.github.io/apparser/
Project-URL: Repository, https://github.com/apparser-development/apparser
Project-URL: Issues, https://github.com/apparser-development/apparser/issues
Keywords: automation,desktop-automation,gui-automation,ui-automation,computer-vision,object-detection,ocr,ui,cv,yolo,text-recognition,screen-recognition,window-management,mouse-automation,keyboard-automation,speech-synthesis,tts,app-control
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: BSD License
Classifier: Operating System :: Microsoft :: Windows :: Windows 10
Classifier: Operating System :: Microsoft :: Windows :: Windows 11
Classifier: Operating System :: POSIX :: Linux
Classifier: Operating System :: MacOS
Classifier: Environment :: X11 Applications
Classifier: Environment :: Win32 (MS Windows)
Classifier: Environment :: MacOS X :: Aqua
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE.md
Requires-Dist: appwindows>=1.3.0
Requires-Dist: PyAutoGui>=0.9.0
Requires-Dist: numpy>=1.20
Requires-Dist: pillow>=11.0
Requires-Dist: screeninfo>=0.8
Requires-Dist: thefuzz>=0.20.0
Provides-Extra: cv
Requires-Dist: ultralytics>=8.4.30; extra == "cv"
Provides-Extra: ocr
Requires-Dist: easyocr<2.0,>=1.7.2; extra == "ocr"
Requires-Dist: paddleocr>=3.5.0; extra == "ocr"
Requires-Dist: paddlepaddle>=3.3.1; extra == "ocr"
Provides-Extra: speak
Requires-Dist: ChatTTS; extra == "speak"
Requires-Dist: sounddevice; extra == "speak"
Requires-Dist: torch; extra == "speak"
Provides-Extra: all
Requires-Dist: apparser[cv]; extra == "all"
Requires-Dist: apparser[ocr]; extra == "all"
Requires-Dist: apparser[speak]; extra == "all"
Dynamic: license-file

<img src="https://raw.githubusercontent.com/apparser-development/apparser/refs/heads/master/apparser.svg" alt="" width="40%">

[![Documentation](https://img.shields.io/badge/docs-pages-green)](https://apparser-development.github.io/apparser/)
[![unit_tests](https://github.com/apparser-development/appwindows/actions/workflows/unit_tests.yml/badge.svg)](https://github.com/apparser-development/appwindows/actions/workflows/unit_tests.yml)
<br>
[![Github](https://img.shields.io/badge/github-repo-green)](https://github.com/apparser-development/apparser)
[![Issues](https://img.shields.io/badge/github-issues-green)](https://github.com/apparser-development/apparser/issues)

# Apparser
Apparser is a Python library designed for automating desktop applications and managing UI interfaces using artificial intelligence, such as OCR or object detection models.
# Install
```bash
pip install apparser
```

# Examples

1) Open terminal and write "Hello World!"
```python
from apparser import App
from apparser.geometry import RelativelyPoint
from apparser.instructions import Algorithm, MouseClickTo, WriteText, Sleep

algorithm = Algorithm([
        Sleep(1), # Wait for the application to open.
        MouseClickTo(RelativelyPoint(0.5, 0.5)), # Click to window center for start writing
        WriteText("Hello World") # Write text
])

app = App("notepad", window_title="Notepad")

algorithm.perform(app.ui)
```

# Docs
All documentation <a href="https://apparser-development.github.io/apparser/">here</a> <br>
Link to <a href="https://pypi.org/project/apparser/">PyPi</a>

# For Developers
1) If something doesn't work - open issue.
2) If you want something fixed - open issue.
3) If you can help with the library - email.

apparser.development@gmail.com

Any help in development is welcome)!
