Skip to content

CatScript Modules ​

In addition to Python's standard library, CatScript provides automation modules and bundles a few third-party Python packages that scripts can import directly. See Bundled Packages for the available packages.

ModuleDescription
appApp information and control.
deviceDevice information.
keyKeyboard and hardware key events.
screenScreen inspection and image matching.
scriptScript configuration.
sysAlerts, shell commands, clipboard and system controls.
touchTouch events and gestures.
uiAccessibility element lookup.

Import all modules at once:

python
from catscript import *

Or import only the modules you need:

python
from catscript import screen, touch

TIP

Using an AI assistant? See Writing Scripts with AI for the recommended documentation URLs and prompt template.

Python automation for jailbroken iOS