Skip to main content

Apparser is a Python library designed for automating desktop applications and managing UI interfaces using artificial intelligence, such as OCR or object detection models.

Project description

Documentation unit_tests
Github 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

pip install apparser

Examples

  1. Open terminal and write "Hello World!"
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 here
Link to PyPi

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

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

apparser-1.0.0.tar.gz (34.2 kB view details)

Uploaded Source

Built Distribution

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

apparser-1.0.0-py3-none-any.whl (70.4 kB view details)

Uploaded Python 3

File details

Details for the file apparser-1.0.0.tar.gz.

File metadata

  • Download URL: apparser-1.0.0.tar.gz
  • Upload date:
  • Size: 34.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.13

File hashes

Hashes for apparser-1.0.0.tar.gz
Algorithm Hash digest
SHA256 6e156db1e6a1f2efcd91fc269f80a7f6e85b6d4a7fdf15456b657c452a4403e5
MD5 8578efb30db3e73effa8dff2754c52dd
BLAKE2b-256 927e9423c87ca46c914901228bf59c68ab1eb941b762b8dce41bb6aa3dd937b4

See more details on using hashes here.

File details

Details for the file apparser-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: apparser-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 70.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.13

File hashes

Hashes for apparser-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3b5246b20ca03a9abc0fdfceff2003a16609e960fc8ee0aea3586434a9a50c18
MD5 5520400f87e6e06f1df02d444392225e
BLAKE2b-256 a98e16b4ac015732d5a95298c3be280978ba823a0b7306b24229024a672a21d5

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