/qaml-python

python client

Primary LanguagePythonGNU Affero General Public License v3.0AGPL-3.0

qaml-python

Control your iOS and Android devices with natural language

Getting Started

Make sure you have Appium installed first.

macOS

brew install appium

all other OSes

npm i -g appium

Install qaml

Now install qaml

pip install qaml

Examples

Python

import qaml

q = qaml.Client(api_key=<API_KEY>)

q.execute("open safari")
q.execute("scroll up")
q.execute("tap the address bar")

# Or use an existing appium driver
q = qaml.Client(driver=appium_driver, api_key=<API_KEY>)

q.execute("type camelqa.com")
q.execute("tap go")

repl

export QAML_API_KEY=<API_KEY>
qaml

This will start a repl in your shell. You can issue natural language commands to get a feel for qaml.

One-off commands

qaml tap the send button

Docs

For more details visit our docs

Join our community on Discord for live discussions and support!